/* CB AMakSis: lacivert #062F57, turkuaz #0097C2, zemin #F4F7F9. Sade ve kompakt. */
:root {
    --navy: #062F57; --navy2: #0B3D6E; --turq: #0097C2; --bg: #F4F7F9; --surface: #FFFFFF;
    --text: #17273B; --muted: #68788A; --line: #D7E0E7; --hover: #EAF2F7; --side-text: #C9D7E6;
    --read: #0A7F5A; --readbg: #E3F5EE; --write: #B25B00; --writebg: #FDF0E1; --warn: #C62828;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: "Segoe UI", Inter, system-ui, sans-serif; font-size: 13px; color: var(--text); background: var(--bg); }
a { color: var(--turq); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 19px; margin: 0; }
h1:focus { outline: none; }
p { margin: 0 0 8px; }

/* üst çubuk */
.top { height: 46px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 12px; position: sticky; top: 0; z-index: 5; }
.logo { font-weight: 700; font-size: 15px; white-space: nowrap; color: #fff; width: 226px; }
.logo:hover { text-decoration: none; }
.logo b, .giris-logo b { color: #3FC3EA; }
.search { flex: 1; min-width: 0; max-width: 460px; }
.top .search input:not([type=checkbox]):not([type=file]) { width: 100%; height: 30px; border: 0; border-radius: 5px; padding: 0 10px; font: inherit; background: rgba(255,255,255,.14); color: #fff; }
.search input::placeholder { color: #B8CADB; }
.tb { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.tb form { margin: 0; }
.pill { font: inherit; font-size: 12px; padding: 5px 9px; border: 0; border-radius: 5px; background: rgba(255,255,255,.1); color: #fff; white-space: nowrap; cursor: pointer; }
.pill:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.pill .n { background: var(--warn); border-radius: 9px; padding: 0 6px; margin-left: 5px; font-weight: 600; }
.user { font-size: 12px; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }

/* menü */
.wrap { display: flex; height: calc(100% - 46px); }
nav { width: 250px; flex: none; background: var(--navy); color: var(--side-text); overflow: auto; padding: 0 0 20px; }
nav .sec { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #7F9AB6; padding: 12px 12px 4px; }
.grp > button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 12px; cursor: pointer; font-weight: 500; color: #E6EEF6; }
.grp > button:hover { background: var(--navy2); }
.grp .ic { width: 18px; text-align: center; opacity: .9; }
.grp .ar { margin-left: auto; font-size: 10px; transition: transform .15s; }
.grp.open .ar { transform: rotate(90deg); }
.grp ul { list-style: none; margin: 0; padding: 0 0 4px; }
.grp li a { padding: 5px 12px 5px 38px; font-size: 12.5px; display: flex; gap: 6px; align-items: center; color: var(--side-text); }
.grp li a:hover { background: var(--navy2); color: #fff; text-decoration: none; }
.grp li a.act { background: var(--turq); color: #fff; }
.grp li a.yakinda:not(.act) { color: #8FA6BD; }
.dot { width: 6px; height: 6px; border-radius: 3px; flex: none; }
.dot.r { background: #4FD1A0; }
.dot.w { background: #F5A54A; }
nav .surum { font-size: 11px; color: #7F9AB6; padding: 16px 12px 0; }

/* içerik */
main { flex: 1; overflow: auto; padding: 14px 18px 30px; min-width: 0; }
.crumb { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.note { font-size: 12px; color: var(--muted); }
.note.bos { padding: 14px; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 12px 14px; margin-bottom: 12px; }
.card h2 { font-size: 13.5px; margin: 0 0 8px; }
.card.tablo { padding: 0; overflow: auto; }
.card.uyari { border-color: var(--warn); color: var(--warn); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.two.genis-sol { grid-template-columns: 3fr 2fr; }
.two.genis-sag { grid-template-columns: 2fr 3fr; }
.mesaj { border-radius: 6px; padding: 8px 12px; margin-bottom: 10px; border: 1px solid; }
.mesaj.hata { background: #FDECEC; border-color: #F2B8B8; color: var(--warn); }
.mesaj.bilgi { background: var(--readbg); border-color: #B5E3D0; color: var(--read); }

table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 8px; white-space: nowrap; }
td { border-bottom: 1px solid var(--line); padding: 6px 8px; }
tr:last-child td { border-bottom: 0; }
tr.sec, tr.satir { cursor: pointer; }
tr.sec:hover td, tr.satir:hover td { background: var(--hover); }
tr.secili td { background: #DCEFF7; }
.sag { text-align: right; }
.orta { text-align: center; }
.nowrap { white-space: nowrap; }
td.detay { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
table.matris select { height: 24px; }
table.matris td { padding: 3px 8px; }
td input:not([type=checkbox]) { height: 26px; }

.tag { font-size: 11px; padding: 1px 7px; border-radius: 9px; white-space: nowrap; margin-left: 4px; }
td > .tag:first-child, p > .tag:first-child { margin-left: 0; }
.tag.r { background: var(--readbg); color: var(--read); }
.tag.w { background: var(--writebg); color: var(--write); }
.tag.t { background: var(--hover); color: var(--text); }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 12px; }
label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
label.alt-bas { margin: 12px 0 6px; font-weight: 600; }
label.kutu { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text); height: 30px; margin: 0 14px 0 0; cursor: pointer; }
.kutular { display: flex; flex-wrap: wrap; }
input:not([type=checkbox]):not([type=file]), select { width: 100%; height: 30px; border: 1px solid var(--line); border-radius: 5px; padding: 0 8px; font: inherit; background: var(--surface); color: var(--text); }
input:focus, select:focus { outline: 2px solid var(--turq); outline-offset: -1px; }
.btns { display: flex; gap: 6px; margin: 10px 0 8px; flex-wrap: wrap; }
.btn { height: 30px; padding: 0 12px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--hover); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.p { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.p:hover { background: var(--navy2); }
.btn.s { height: 24px; padding: 0 8px; font-size: 11.5px; }
/* Bana test tuşu: sonuç sağ altta bildirim (tablo satırını bozmaz) */
.test-bildirim { position: fixed; right: 18px; bottom: 18px; z-index: 2000; max-width: min(440px, calc(100vw - 36px)); padding: 10px 14px; border-radius: 8px; border: 1px solid;
    font-size: 13px; line-height: 1.4; white-space: normal; box-shadow: 0 6px 20px rgba(6,47,87,.18); cursor: pointer; }
.test-bildirim.tamam { background: var(--readbg); border-color: #B5E3D0; color: var(--read); }
.test-bildirim.hata { background: #FDECEC; border-color: #F2B8B8; color: var(--warn); }
.btn.ok { background: var(--read); border-color: var(--read); color: #fff; }
.btn.no { color: var(--warn); border-color: var(--warn); }
.btn.dosya { display: inline-flex; align-items: center; margin: 0; font-size: 13px; }
.btn.dosya input { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { font: inherit; font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); cursor: pointer; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.arac { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.arac .ara { max-width: 340px; }
.arac select { width: auto; }
.satir-form { display: flex; gap: 6px; }

/* lisans merkezi */
.secim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.secim button { all: unset; box-sizing: border-box; cursor: pointer; border: 2px solid var(--line); border-radius: 7px; padding: 10px 12px; display: grid; gap: 3px; }
.secim button span { font-size: 12px; color: var(--muted); }
.secim button.on { border-color: var(--turq); background: #EAF7FB; }
.card.yayin { display: grid; gap: 8px; }
.card.yayin .satir-form input { max-width: 420px; }
textarea.anahtar { width: 100%; font: 11.5px Consolas, monospace; border: 1px solid var(--line); border-radius: 5px; padding: 6px; resize: vertical; }

/* ana sayfa kartları */
.pano { align-items: start; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pano .card { margin: 0; }
.pano .genis { grid-column: span 2; }
.kart-bas { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.kart-arac { display: flex; gap: 3px; }
.buyuk { display: block; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.1; }

/* giriş: solda marka paneli, sağda form, altta CanBil şeridi */
.giris { min-height: 100%; display: grid; grid-template-rows: 1fr auto; background: var(--bg); }
.giris-govde { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); }
.giris-marka { background: radial-gradient(1200px 600px at 10% 0%, #0E4C86 0%, var(--navy) 55%, #041E38 100%); color: #fff; padding: 44px 48px; display: grid; gap: 28px; align-content: center; position: relative; overflow: hidden; }
.giris-marka::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(0, 151, 194, .14); }
.giris-logo { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.giris-logo small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: #9FC4E0; margin-top: 2px; }
.giris-mesaj h1 { font-size: 34px; line-height: 1.15; font-weight: 300; margin: 0 0 12px; text-wrap: balance; }
.giris-mesaj h1 strong { font-weight: 700; color: #3FC3EA; }
.giris-mesaj p { margin: 0; max-width: 52ch; color: #C9D7E6; font-size: 14.5px; line-height: 1.5; }
.giris-akis { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.giris-akis li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 7px 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.giris-akis li span { color: #3FC3EA; font-size: 15px; }
.giris-slogan { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #9FC4E0; }
.giris-alan { display: grid; place-items: center; padding: 32px 24px; }
.giris-kutu { width: min(100%, 360px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; box-shadow: 0 10px 30px rgba(6, 47, 87, .08); }
.giris-kutu h2 { margin: 0 0 2px; font-size: 20px; color: var(--navy); }
.giris-kutu label { margin-top: 12px; }
.giris-kutu input:not([type=hidden]) { height: 36px; }
.giris-kutu .btn { width: 100%; margin-top: 18px; height: 38px; font-weight: 600; }
.giris-kutu .surum { margin-top: 14px; text-align: center; }
.canbil { background: var(--surface); border-top: 1px solid var(--line); padding: 12px 32px; display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.canbil-marka { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.canbil-urunler { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.canbil-urunler li { display: grid; font-size: 12px; }
.canbil-urunler b { color: var(--navy); }
.canbil-urunler span { color: var(--muted); font-size: 11.5px; }
nav .surum { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
nav .surum img { height: 16px; background: #fff; border-radius: 3px; padding: 1px 4px; }

#blazor-error-ui { background: #FFF3CD; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); display: none; left: 0; padding: 8px 16px; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 12px; top: 8px; }

@media (max-width: 900px) {
    .giris-govde { grid-template-columns: 1fr; }
    .giris-marka { padding: 28px 24px; gap: 18px; }
    .giris-mesaj h1 { font-size: 26px; }
    .canbil { padding: 12px 16px; }
    .two, .two.genis-sol, .two.genis-sag { grid-template-columns: 1fr; }
    .pano .genis { grid-column: auto; }
    .menu-btn { display: block; }
    .logo { width: auto; }
    nav { position: fixed; left: 0; top: 46px; bottom: 0; z-index: 4; transform: translateX(-100%); transition: transform .2s; }
    nav.show { transform: none; }
    .user { display: none; }
}

/* liste kalıbı: solda grid, sağda seçili kaydın özeti / kart formu */
.liste-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: start; }
.tablo-alt { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 7px 10px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }
.card.panel { display: grid; gap: 10px; position: sticky; top: 0; max-height: calc(100vh - 70px); overflow: auto; }
.card.panel h2 { margin: 0; font-size: 14px; }
.card.panel h3 { margin: 4px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.form.tek { grid-template-columns: 1fr; }
.form .iki { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
table.ozet td { padding: 4px 6px 4px 0; border: 0; vertical-align: top; }
table.ozet td:first-child { color: var(--muted); white-space: nowrap; width: 1%; padding-right: 12px; }
.uclu { display: grid; grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 6px; }
.uclu div { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }
.uclu small { display: block; color: var(--muted); font-size: 10.5px; }
.uclu b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.satirlar { display: grid; gap: 4px; font-size: 12.5px; }
.satirlar div { display: flex; justify-content: space-between; gap: 10px; }
.satirlar span:last-child { color: var(--muted); white-space: nowrap; }
.eksi { color: var(--warn); }
.chip b { font-weight: 600; color: var(--muted); margin-left: 3px; }
.chip.on b { color: #B8CADB; }
td { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .liste-duzen { grid-template-columns: 1fr; } .card.panel { position: static; max-height: none; } }
.liste-duzen td:not(:nth-child(2)) { white-space: nowrap; }
.liste-duzen td:nth-child(2) { min-width: 200px; }

/* sağ tuş menüsü */
.sagtus-perde { position: fixed; inset: 0; z-index: 50; }
.sagtus { position: fixed; z-index: 51; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px; box-shadow: 0 6px 20px rgba(6, 47, 87, .22); display: grid; }
.sagtus button, .sagtus a { all: unset; box-sizing: border-box; padding: 6px 12px; border-radius: 4px; font-size: 12.5px; color: var(--text); cursor: pointer; white-space: nowrap; }
.sagtus button:hover, .sagtus a:hover { background: var(--hover); }
.sagtus button:disabled { color: var(--muted); cursor: default; background: none; }
.sagtus hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.grp li a { cursor: pointer; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; font: inherit; background: var(--surface); color: var(--text); resize: vertical; }
.giris > .giris-kutu { place-self: center; }
main.giris { padding: 0; overflow: visible; }

/* gridler: belirgin başlık + zebra satır (beyaz üstünde satır seçmek kolay olsun) */
:root { --grid-bas: #DCE7F0; --grid-bas-yazi: #0B3D6E; --zebra: #F3F7FA; }
.card.tablo th, .card table th { background: var(--grid-bas); color: var(--grid-bas-yazi); border-bottom: 2px solid #B9CCDB; font-weight: 600; }
.card.tablo tr:nth-child(odd) td, .card table:not(.ozet) tr:nth-child(odd) td { background: var(--zebra); }
.card.tablo td, .card table:not(.ozet) td { border-bottom-color: #E3EAF0; }
.card.tablo tr.satir:hover td, tr.sec:hover td { background: #E1EEF6; }
.card.tablo tr.secili td, tr.secili td { background: #C9E6F3; }
.card.tablo th { position: sticky; top: 0; z-index: 1; }
.card { box-shadow: 0 1px 2px rgba(6, 47, 87, .05); }
.card.panel { background: #FBFCFD; border-color: #C9D6E0; }

/* belge kalıbı (teklif): üst kimlik, solda bölümler, ortada satır gridi, altta sabit toplam */
.card.belge { padding: 0; overflow: visible; }
.belge-bas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 14px; }
.belge-bas .btns { margin: 0 0 0 auto; }
.belge-no { font-size: 18px; font-weight: 700; color: var(--navy); }
.belge-no small { font-size: 12px; font-weight: 600; color: var(--muted); }
.belge-cari { font-weight: 600; }
.belge-cari small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.belge-alanlar { display: flex; gap: 8px 16px; flex-wrap: wrap; padding: 0 14px 10px; }
.belge-alanlar label { display: grid; gap: 2px; margin: 0; }
.belge-alanlar input, .belge-alanlar select { height: 28px; }
.sekmeler { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 0 10px; background: #F7FAFC; }
.sekmeler a.sekme-bag { box-sizing: border-box; padding: 10px 15px; color: var(--muted); font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; }
.sekmeler a.sekme-bag:hover { color: var(--navy); background: #EDF3F7; }
.sekmeler button { all: unset; box-sizing: border-box; padding: 8px 12px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.sekmeler button.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--turq); background: var(--surface); }
.belge-govde { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 320px; }
.belge-bolumler { border-right: 1px solid var(--line); padding: 8px; display: grid; gap: 4px; align-content: start; background: #F7FAFC; }
.belge-bolumler button { all: unset; box-sizing: border-box; cursor: pointer; border-radius: 5px; padding: 6px 8px; display: grid; gap: 1px; border: 1px solid transparent; }
.belge-bolumler button:hover { background: var(--hover); }
.belge-bolumler button.on { background: var(--surface); border-color: var(--turq); box-shadow: inset 3px 0 0 var(--turq); }
.belge-bolumler button span { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.belge-bolumler select { height: 28px; margin-top: 4px; }
.belge-grid { min-width: 0; overflow-x: auto; }
.belge-grid td { padding: 2px 6px; height: 30px; white-space: nowrap; }
.belge-grid td.ad { min-width: 240px; }
.belge-grid td input { height: 24px; border-color: transparent; background: transparent; text-align: right; padding: 0 4px; border-radius: 3px; }
.belge-grid td input.sol { text-align: left; }
.belge-grid td input:hover { border-color: var(--line); }
.belge-grid td input:focus { background: var(--surface); border-color: var(--turq); }
.belge-grid tr.yedek td { font-size: 12px; color: var(--muted); }
.belge-grid tr.yedek td.ad { padding-left: 22px; }
.belge-grid tr.ekp td { font-style: italic; background: #EAF2F7 !important; }
.belge-grid tr.yeni td { background: #F0F6FA !important; overflow: visible; }
.belge-grid tr.minalti td.net { color: var(--warn); font-weight: 600; }
.gizli { color: var(--write) !important; }
.stok-ara { position: relative; display: flex; gap: 6px; align-items: center; }
.stok-ara > input { height: 28px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; max-width: 520px; text-align: left; }
.stok-sonuc { position: absolute; left: 0; top: 30px; z-index: 20; min-width: 420px; max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 20px rgba(6, 47, 87, .2); display: grid; padding: 4px; }
.stok-sonuc button { all: unset; box-sizing: border-box; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stok-sonuc button:hover, .stok-sonuc button.ilk { background: var(--hover); }
.stok-sonuc button span { color: var(--muted); margin-left: 6px; }
.belge-ic { padding: 14px; display: grid; gap: 10px; }
.belge-toplam { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-top: 2px solid var(--turq); background: var(--surface); border-radius: 0 0 7px 7px; z-index: 2; }
.belge-toplam div { padding: 8px 12px; border-right: 1px solid var(--line); }
.belge-toplam small { display: block; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
.belge-toplam b { font-size: 14px; font-variant-numeric: tabular-nums; }
.belge-toplam .ana { background: #EAF7FB; }
.belge-toplam .ana b { font-size: 17px; color: var(--navy); }
.belge-toplam input { width: 62px !important; height: 24px !important; text-align: right; padding: 0 4px !important; }
@media (max-width: 900px) { .belge-govde { grid-template-columns: 1fr; } .belge-bolumler { border-right: 0; border-bottom: 1px solid var(--line); } .belge-bas .btns { margin-left: 0; } }

/* teklif alt toplam bandı: gruplar renkle ayrılır (tutarlar · iskontolar · net/KDV · genel toplam · karşılıklar · gizli komisyon) */
.belge-toplam { gap: 0; border-top-width: 3px; }
.belge-toplam div { border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
.belge-toplam div:nth-child(1) { background: #EEF2F6; }
.belge-toplam div:nth-child(2), .belge-toplam div:nth-child(3) { background: #FDF0E1; }
.belge-toplam div:nth-child(2) b, .belge-toplam div:nth-child(3) b { color: var(--write); }
.belge-toplam div:nth-child(4), .belge-toplam div:nth-child(5) { background: #E4EEF7; }
.belge-toplam div.ana { background: var(--navy); }
.belge-toplam div.ana small { color: #B8CADB; }
.belge-toplam div.ana b { color: #fff; font-size: 18px; }
.belge-toplam div:nth-child(7), .belge-toplam div:nth-child(8) { background: #E3F5EE; }
.belge-toplam div:nth-child(7) b, .belge-toplam div:nth-child(8) b { color: var(--read); }
.belge-toplam div.gizli { background: #FFF6E5; border-left: 3px solid var(--write); }
.belge-toplam small { font-weight: 600; }

/* teklif: belge kartı ekran yüksekliğini doldurur; satır alanı büyür, toplam bandı sayfanın en altında durur */
.card.belge { display: flex; flex-direction: column; min-height: calc(100vh - 46px - 14px - 12px - 64px); margin-bottom: 0; }
.card.belge > .belge-govde, .card.belge > .belge-ic { flex: 1 1 auto; }
.card.belge > .belge-toplam { margin-top: auto; }
main:has(.card.belge) { padding-bottom: 12px; }
/* toplam bandı tek satır kalsın (laptop genişliğinde 9 kutu) */
.belge-toplam { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); }
.belge-toplam div { padding: 7px 10px; }
.belge-toplam input { width: 46px !important; }

/* teklif başlığı: müşteri · teklif · döviz ve kur · satış kutuları */
.belge-kutular { display: grid; grid-template-columns: .95fr 1.9fr 1.2fr .8fr; gap: 8px; padding: 0 14px 10px; margin: 0; border: 0; min-width: 0; }
.belge-kutular section { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; align-content: start; padding: 6px 9px 8px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 6px; background: #F7FAFC; min-width: 0; }
.belge-kutular section.k-teklif { border-top-color: var(--turq); }
.belge-kutular section.k-doviz { border-top-color: var(--read); background: #F3FAF7; }
.belge-kutular section.k-satis { border-top-color: var(--write); }
.belge-kutular h3 { grid-column: 1 / -1; margin: 0; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); display: flex; gap: 8px; align-items: center; justify-content: space-between; min-height: 20px; }
.belge-kutular h3 span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.belge-kutular h3 .btn { height: 20px; padding: 0 7px; font-size: 11px; text-transform: none; letter-spacing: 0; }
.belge-kutular label { display: grid; gap: 1px; margin: 0; font-size: 11px; color: var(--muted); min-width: 0; }
.belge-kutular .genis { grid-column: 1 / -1; }
.belge-kutular section.d4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.belge-kutular section.k-teklif { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 114px 114px; }
.belge-kutular section.k-doviz { grid-template-columns: 62px 46px minmax(0, 1fr) minmax(0, 1fr); }
.belge-kutular h3, .belge-kutular h3 span { white-space: nowrap; }
.belge-kutular h3 span { overflow: hidden; text-overflow: ellipsis; }
.belge-kutular input.sag, .belge-kutular .k-doviz select { padding-left: 4px; padding-right: 4px; }
.belge-kutular .iki { grid-column: span 2; }
.belge-kutular small b { color: var(--text); font-variant-numeric: tabular-nums; }
.belge-kutular input, .belge-kutular select { height: 24px; width: 100%; min-width: 0; padding-top: 0; padding-bottom: 0; }
.belge-kutular input[readonly] { background: #EDF2F6; color: var(--text); }
.belge-kutular input.sag { text-align: right; font-variant-numeric: tabular-nums; }
.belge-kutular .unvan { font-weight: 700; font-size: 13.5px; line-height: 1.25; min-width: 0; color: var(--navy); }
.belge-kutular small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.belge-kutular .stok-ara > input { max-width: none; }
@media (max-width: 1250px) { .belge-kutular { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .belge-kutular { grid-template-columns: 1fr; } }

/* küçük pencere (yazdırma seçenekleri) */
.pencere-arka { position: fixed; inset: 0; background: rgba(6, 47, 87, .35); z-index: 40; }
.pencere { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 41; width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--turq); border-radius: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, .28); padding: 14px 16px; display: grid; gap: 10px; }
.pencere h2 { margin: 0; font-size: 15px; color: var(--navy); }
.pencere h2 small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.pencere .btns { margin: 0; }
.kutular { display: grid; gap: 5px; }
.kutular label { display: flex; gap: 7px; align-items: baseline; margin: 0; cursor: pointer; font-size: 13px; color: var(--text); }
.kutular label small { color: var(--muted); font-size: 11.5px; }
.kutular input { width: auto !important; height: auto !important; }
/* başlık kutuları açıkken de sayfa kaymasın: satır alanı kalan yüksekliğe uyar */
.card.belge > .belge-govde { min-height: 200px; }
.belge-kutular label > input, .belge-kutular label > select { height: 24px !important; line-height: 1.2; }
.belge-kutular label { line-height: 1.25; }
.pencere .eposta { border-top: 1px solid var(--line); padding-top: 10px; }
.pencere .mesaj { margin: 0; }

/* zengin metin kutusu (teknik özellik) */
.pencere.genis { width: min(900px, calc(100vw - 24px)); }
.zengin { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.zengin-arac { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; padding: 6px 8px; border-bottom: 1px solid var(--line); background: #F7FAFC; border-radius: 6px 6px 0 0; }
.zengin-arac .note { margin: 0 0 0 auto; }
.zengin-alan { min-height: 300px; max-height: 55vh; overflow: auto; padding: 10px 12px; outline: none; font-size: 13px; line-height: 1.5; }
.zengin-alan:focus { box-shadow: inset 0 0 0 2px var(--turq); border-radius: 0 0 6px 6px; }
.zengin-alan p, .zengin-goster p { margin: 0 0 6px; }
.zengin-alan ul, .zengin-alan ol, .zengin-goster ul, .zengin-goster ol { margin: 0 0 6px; padding-left: 22px; }
.zengin-alan table, .zengin-goster table { border-collapse: collapse; margin: 0 0 6px; width: auto; }
.zengin-alan td, .zengin-goster td { border: 1px solid var(--line); padding: 2px 6px; height: auto; background: transparent !important; white-space: normal; }
.zengin-goster { font-size: 12.5px; overflow-x: auto; }

/* DOKSİS: klasör ağacı · doküman listesi · doküman kartı */
.doksis-sekme { border: 1px solid var(--line); border-radius: 7px; margin-bottom: 10px; background: var(--surface); }
.doksis-sekme a { padding: 8px 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.doksis-sekme a.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--turq); }
.doksis-duzen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.doksis-duzen.agacli { grid-template-columns: 230px minmax(0, 1fr); }
.doksis-duzen.detayli { grid-template-columns: minmax(0, 1fr) 380px; }
.doksis-duzen.agacli.detayli { grid-template-columns: 230px minmax(0, 1fr) 360px; }
.doksis-agac { padding: 6px; display: grid; gap: 1px; align-content: start; position: sticky; top: 0; max-height: calc(100vh - 70px); overflow: auto; }
.doksis-agac button { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; gap: 6px; align-items: center; cursor: pointer; padding: 5px 8px; border-radius: 5px; font-size: 13px; }
.doksis-agac button:hover { background: var(--hover); }
.doksis-agac button.on { background: #DCEFF7; box-shadow: inset 3px 0 0 var(--turq); font-weight: 600; }
.doksis-agac button small { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.doksis-agac .note { margin: 8px 6px 4px; font-size: 11px; }
@media (max-width: 1250px) { .doksis-duzen.agacli.detayli { grid-template-columns: 220px minmax(0, 1fr); } .doksis-duzen.agacli.detayli > aside { grid-column: 1 / -1; position: static; max-height: none; } }
@media (max-width: 800px) { .doksis-duzen.agacli, .doksis-duzen.detayli { grid-template-columns: 1fr; } .doksis-agac { position: static; max-height: 240px; } }
/* doküman kartı açıkken liste daralır: bağlı kayıt, boyut ve tarih sütunları kartta zaten var */
.doksis-duzen.agacli.detayli > .tablo th:nth-child(n+7):nth-child(-n+10), .doksis-duzen.agacli.detayli > .tablo td:nth-child(n+7):nth-child(-n+10) { display: none; }
.doksis-agac button { color: var(--text); }

/* teklif ödeme planı tablosu */
.odeme-plani { width: 100%; max-width: 900px; }
.odeme-plani td { padding: 2px 4px; height: 30px; }
.odeme-plani input { height: 26px; }
.odeme-plani input.sag { text-align: right; }

/* ilerleme çubuğu (proje ve emirlerde hazır / sevk / tamamlanan) */
.ilerleme { position: relative; height: 18px; min-width: 86px; border-radius: 9px; background: #E4EAF0; overflow: hidden; }
.ilerleme i { position: absolute; inset: 0 auto 0 0; background: #9CD3E6; border-radius: 9px; }
.ilerleme.sevk i { background: #A9DCC4; }
.ilerleme span { position: relative; display: block; text-align: center; font-size: 11px; line-height: 18px; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 6px; }
a.tag { text-decoration: none; }

/* grid araç çubuğu: listenin sol üstünde Ekle / Düzelt / Sil; aynı işlemler sağ tuşta da var */
.grid-arac { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; padding: 5px 8px; background: linear-gradient(#FBFCFD, #EEF3F7); border-bottom: 1px solid #C9D6E0; position: sticky; left: 0; }
.grid-arac button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid transparent; border-radius: 5px; font-size: 12.5px; font-weight: 500; color: var(--navy); cursor: pointer; white-space: nowrap; }
.grid-arac button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grid-arac button:hover:not(:disabled) { background: #fff; border-color: #B9CCDB; box-shadow: 0 1px 2px rgba(6, 47, 87, .08); }
.grid-arac button:focus-visible { outline: 2px solid var(--turq); outline-offset: -1px; }
.grid-arac button:disabled { color: #9AAAB9; cursor: default; }
.grid-arac button.ekle { background: var(--navy); color: #fff; padding: 0 12px; }
.grid-arac button.ekle svg { stroke-width: 2; }
.grid-arac button.ekle:hover:not(:disabled) { background: var(--navy2); border-color: var(--navy2); }
.grid-arac button.ekle:disabled { background: #C3CFDA; color: #fff; }
.grid-arac button.sil:not(:disabled) { color: var(--warn); }
.grid-arac button.sil:hover:not(:disabled) { background: #FDECEC; border-color: #F2B8B8; }
.grid-arac .ayrac { width: 1px; height: 18px; background: #C9D6E0; margin: 0 6px; }
.grid-arac .secim { margin-left: auto; padding: 0 8px; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46%; }
.card.tablo tr.satir { user-select: none; }
.card.tablo.sikisik td:not(:nth-child(2)) { white-space: nowrap; }
.card.tablo.sikisik td:nth-child(2) { min-width: 200px; }
.pencere.sil-onay { border-top-color: var(--warn); }
.pencere.sil-onay p { margin: 0; }

/* kart sayfası (cari, stok): üstte kimlik bandı, özet kutuları, sekmeler */
.card.kart { overflow: hidden; }
.kart-ust { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 18px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--navy2) 55%, #0E6E9C 100%); }
.kart-avatar { flex: none; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; font-weight: 700; letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.kart-avatar.stok { border-radius: 50%; font-size: 17px; }
.kart-kimlik { min-width: 0; flex: 1 1 260px; display: grid; gap: 3px; }
.kart-kimlik small { font-size: 12px; color: #B8CADB; font-variant-numeric: tabular-nums; }
.kart-kimlik h2 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.kart-etiket { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.kart-etiket .tag { margin: 0; padding: 2px 9px; }
.kart-etiket .tag.t { background: rgba(255, 255, 255, .16); color: #fff; }
.kart-islem { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.kart-islem .btn { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; }
.kart-islem .btn:hover:not(:disabled) { background: rgba(255, 255, 255, .22); }
.kart-islem .btn.p { background: #fff; border-color: #fff; color: var(--navy); font-weight: 600; }
.kart-islem .btn.p:hover { background: #E4F3F9; }
.kart-islem .btn.ok { background: var(--read); border-color: var(--read); }
.kart-islem .btn.no { color: #FFD0D0; border-color: rgba(255, 160, 160, .6); }
.kart-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--surface); }
.kart-kpi > div { padding: 11px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 1px; align-content: start; min-width: 0; }
.kart-kpi small { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kart-kpi b { font-size: 20px; line-height: 1.25; color: var(--navy); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kart-kpi b.yazi { font-size: 15px; line-height: 25px; }
.kart-kpi span { font-size: 11.5px; color: var(--muted); }
.kart-kpi .eksi b { color: var(--warn); }
.kart-kpi .arti b { color: var(--read); }
.card.kart > .sekmeler { border-top: 0; padding: 0 12px; }
.card.kart > .sekmeler button { padding: 10px 14px; }
.kart-bolumler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 16px 18px 20px; align-items: start; }
.kart-bolumler section { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; align-content: start; padding: 12px 14px 14px; border: 1px solid var(--line); border-top: 3px solid var(--turq); border-radius: 7px; background: #FAFCFD; min-width: 0; }
.kart-bolumler section:nth-child(2) { border-top-color: var(--navy); }
.kart-bolumler section:nth-child(3) { border-top-color: var(--read); }
.kart-bolumler h3 { grid-column: 1 / -1; margin: 0 0 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--navy); display: flex; gap: 8px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.kart-bolumler h3 span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 11px; }
.kart-bolumler label { display: grid; gap: 3px; margin: 0; min-width: 0; }
.kart-bolumler .genis { grid-column: 1 / -1; }
.kart-bolumler input:disabled, .kart-bolumler select:disabled { background: #EDF2F6; color: var(--text); opacity: 1; }
.kart-bolumler p.note { margin: 0; }
.kart-roller { display: flex; gap: 6px; flex-wrap: wrap; }
.kart-roller label { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: 12.5px; cursor: pointer; }
.kart-roller label.on { background: #DCEFF7; border-color: var(--turq); color: var(--navy); font-weight: 600; }
.kart-bag { display: flex; gap: 14px; font-size: 12.5px; }
.kart-tablo th { background: var(--grid-bas); color: var(--grid-bas-yazi); }
.kart-tablo { border: 1px solid var(--line); border-radius: 6px; }
.card.kart .belge-ic { padding: 16px 18px 20px; align-content: start; }
.kart-iki { grid-template-columns: 3fr 2fr; gap: 18px !important; }
.kart-alt-bas { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--navy); }
.kart-not-yaz { display: flex; gap: 8px; align-items: flex-start; max-width: 820px; }
.kart-notlar { display: grid; gap: 8px; max-width: 820px; }
.kart-notlar div { padding: 9px 12px; border: 1px solid var(--line); border-left: 3px solid var(--turq); border-radius: 6px; background: #FAFCFD; white-space: pre-wrap; }
.kart-notlar small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.kart-diller { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.kart-diller button { all: unset; box-sizing: border-box; height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 12.5px; color: var(--text); background: var(--surface); }
.kart-diller button.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.kart-diller .note { margin: 0 0 0 10px; }
@media (max-width: 1250px) { .kart-bolumler { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .kart-bolumler, .kart-iki { grid-template-columns: 1fr; } .kart-islem { margin-left: 0; justify-content: flex-start; } }

/* ===== görünüm katmanı: kabuk, başlık, liste ve formların ortak şıklığı (yerleşim kuralları yukarıda, burada yalnız görünüş) ===== */
:root { --golge: 0 1px 2px rgba(6, 47, 87, .06), 0 4px 14px rgba(6, 47, 87, .06); --golge-buyuk: 0 2px 4px rgba(6, 47, 87, .06), 0 12px 32px rgba(6, 47, 87, .10); --yuvar: 10px; }
body { background: #EEF2F6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #BFE6F3; }
* { scrollbar-width: thin; scrollbar-color: #B7C5D2 transparent; }
nav { scrollbar-color: #2B5A8A transparent; }

/* üst çubuk */
.top { height: 50px; padding: 0 16px; gap: 14px; background: linear-gradient(90deg, #052747 0%, var(--navy) 45%, #0B4578 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 2px 10px rgba(4, 30, 56, .35); }
.wrap { height: calc(100% - 50px); }
.logo { font-size: 17px; letter-spacing: -.01em; width: 220px; display: flex; align-items: center; gap: 9px; }
.logo svg { flex: none; filter: drop-shadow(0 2px 5px rgba(0, 151, 194, .5)); }
.logo span { white-space: pre; }
.top .search input:not([type=checkbox]):not([type=file]) { height: 32px; border-radius: 16px; padding: 0 14px 0 34px; background: rgba(255, 255, 255, .11) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23B8CADB' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E") 11px center / 15px no-repeat; border: 1px solid rgba(255, 255, 255, .10); transition: background-color .15s, box-shadow .15s; }
.top .search input:focus { outline: none; background-color: rgba(255, 255, 255, .2); box-shadow: 0 0 0 3px rgba(63, 195, 234, .35); }
.pill { padding: 6px 12px; border-radius: 15px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .10); transition: background .15s; }
.pill .n { background: #E5484D; box-shadow: 0 0 0 2px var(--navy); }
.user { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; padding-left: 6px; }
.user i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: linear-gradient(135deg, #3FC3EA, var(--turq)); color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); }

/* menü */
nav { width: 252px; background: linear-gradient(180deg, var(--navy) 0%, #05294C 60%, #041E38 100%); padding: 6px 0 20px; border-right: 1px solid rgba(0, 0, 0, .25); }
nav .sec { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #6F8EAD; padding: 16px 16px 6px; }
.grp > button { width: calc(100% - 16px); margin: 1px 8px; padding: 8px 10px; border-radius: 7px; font-size: 13px; transition: background .12s; }
.grp > button:hover { background: rgba(255, 255, 255, .07); }
.grp.open > button { background: rgba(255, 255, 255, .06); color: #fff; }
.grp .ar { font-size: 8px; opacity: .6; }
.grp > a.grp-tek { display: flex; align-items: center; gap: 8px; width: calc(100% - 16px); margin: 1px 8px; padding: 8px 10px; border-radius: 7px; font-size: 13px; font-weight: 500; color: #E6EEF6; box-sizing: border-box; transition: background .12s; }
.grp > a.grp-tek:hover { background: rgba(255, 255, 255, .07); text-decoration: none; }
.grp > a.grp-tek.act { background: rgba(255, 255, 255, .10); color: #fff; box-shadow: inset 3px 0 0 var(--turq); }
.grp ul { padding: 2px 0 6px; margin: 0 8px 0 26px; border-left: 1px solid rgba(255, 255, 255, .10); }
.grp li a { margin: 1px 0 1px 6px; padding: 6px 10px; border-radius: 6px; font-size: 12.5px; transition: background .12s, color .12s; }
.grp li a:hover { background: rgba(255, 255, 255, .08); }
.grp li a.act { background: linear-gradient(90deg, var(--turq), #17A9D3); color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 151, 194, .4); }
nav .surum { margin-top: 10px; padding: 14px 16px 0; border-top: 1px solid rgba(255, 255, 255, .07); }

/* içerik alanı ve sayfa başlığı */
main { padding: 18px 24px 34px; background: radial-gradient(900px 260px at 0% 0%, rgba(0, 151, 194, .07), transparent 70%), #EEF2F6; }
main > * { animation: sayfa-gir .22s ease-out both; }
@keyframes sayfa-gir { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main > * { animation: none; } }
.bas { margin-bottom: 14px; align-items: flex-end; }
.bas-ad { min-width: 0; padding-left: 12px; border-left: 4px solid var(--turq); border-radius: 2px; }
.crumb { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #7C8DA0; margin-bottom: 2px; }
.crumb b { color: var(--turq); font-weight: 600; }
h1 { font-size: 23px; font-weight: 700; letter-spacing: -.015em; color: var(--navy); line-height: 1.2; }
.bas .note { margin: 0; }

/* kartlar */
.card { border-radius: var(--yuvar); border-color: #DCE4EC; box-shadow: var(--golge); }
.card h2 { font-size: 14px; color: var(--navy); }
.card.tablo { border-radius: var(--yuvar); }
.card.uyari { background: #FFF6F6; }
.mesaj { border-radius: 9px; padding: 10px 14px 10px 40px; position: relative; box-shadow: var(--golge); font-weight: 500; }
.mesaj::before { content: "!"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--warn); }
.mesaj.bilgi::before { content: "\2713"; background: var(--read); }

/* düğmeler, giriş alanları */
.btn { height: 32px; padding: 0 14px; border-radius: 7px; border-color: #CBD6E0; font-weight: 500; box-shadow: 0 1px 1px rgba(6, 47, 87, .05); transition: background .12s, border-color .12s, box-shadow .12s, transform .05s; }
a.btn { display: inline-flex; align-items: center; }
a.btn:hover { text-decoration: none; }
.btn:hover:not(:disabled) { border-color: #A9BCCC; box-shadow: 0 2px 6px rgba(6, 47, 87, .10); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.p { background: linear-gradient(180deg, #0D4A84, var(--navy)); border-color: var(--navy); box-shadow: 0 2px 6px rgba(6, 47, 87, .28); }
.btn.p:hover:not(:disabled) { background: linear-gradient(180deg, #125694, var(--navy2)); border-color: var(--navy2); }
.btn.ok { background: linear-gradient(180deg, #0E9B6E, var(--read)); box-shadow: 0 2px 6px rgba(10, 127, 90, .28); }
.btn.s { height: 24px; padding: 0 9px; border-radius: 6px; box-shadow: none; }
input:not([type=checkbox]):not([type=file]), select, textarea { border-color: #CBD6E0; border-radius: 7px; transition: border-color .12s, box-shadow .12s; }
input:not([type=checkbox]):not([type=file]):hover, select:hover, textarea:hover { border-color: #A9BCCC; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(0, 151, 194, .18); }
input[type=checkbox] { accent-color: var(--turq); }
label { font-weight: 500; letter-spacing: .01em; }

/* süzgeçler: çipler ve arama */
.chips { gap: 7px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 5px 0 13px; border-radius: 15px; border-color: #D3DDE6; font-size: 12.5px; font-weight: 500; box-shadow: 0 1px 1px rgba(6, 47, 87, .04); transition: background .12s, border-color .12s, box-shadow .12s; }
.chip:hover { border-color: var(--turq); box-shadow: 0 2px 6px rgba(0, 151, 194, .16); }
.chip b { margin: 0; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: #EAF0F5; color: var(--navy2); font-variant-numeric: tabular-nums; }
.chip.on { background: linear-gradient(180deg, #0D4A84, var(--navy)); box-shadow: 0 2px 8px rgba(6, 47, 87, .30); }
.chip.on b { background: rgba(255, 255, 255, .18); color: #fff; }
.arac { gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.arac .ara { max-width: 380px; height: 34px !important; padding-left: 34px !important; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2368788A' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E") 11px center / 15px no-repeat !important; box-shadow: 0 1px 2px rgba(6, 47, 87, .05); }
.arac select { height: 34px; box-shadow: 0 1px 2px rgba(6, 47, 87, .05); }

/* liste (grid) */
.card.tablo > table { font-size: 12.5px; }
.card.tablo > table th { padding: 9px 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; background: #E7EEF4; color: #36536F; border-bottom: 1px solid #C9D6E0; }
.card.tablo > table td { padding: 9px 12px; border-bottom-color: #E8EEF3; }
.card.tablo > table tr:nth-child(odd) td { background: #F8FAFC; }
.card.tablo > table tr.satir { transition: background .08s; }
.card.tablo > table tr.satir:hover td { background: #EAF4FA; }
.card.tablo > table tr.secili td { background: #D5ECF7 !important; }
.card.tablo > table tr.secili td:first-child { box-shadow: inset 4px 0 0 var(--turq); }
.card.tablo > table td:first-child { color: #36536F; font-weight: 600; }
.card.tablo > table td b { color: var(--navy); font-weight: 600; }
.tablo-alt { padding: 9px 14px; background: #F4F7FA; border-top-color: #DCE4EC; border-radius: 0 0 var(--yuvar) var(--yuvar); }
.tablo-alt span:first-child { font-weight: 600; color: #36536F; }
.note.bos { padding: 34px 16px; text-align: center; font-size: 13px; }
.grid-arac { padding: 7px 10px; gap: 3px; background: linear-gradient(#FFFFFF, #F1F5F9); border-bottom-color: #D3DDE6; border-radius: var(--yuvar) var(--yuvar) 0 0; }
.grid-arac button { height: 30px; border-radius: 7px; transition: background .12s, box-shadow .12s; }
.grid-arac button.ekle { background: linear-gradient(180deg, #0D4A84, var(--navy)); box-shadow: 0 2px 6px rgba(6, 47, 87, .28); margin-right: 4px; }
.grid-arac .secim { font-weight: 500; color: #36536F; }
.grid-arac .secim:not(:empty) { height: 24px; line-height: 24px; padding: 0 10px; margin-right: 4px; border-radius: 12px; background: #E3F1F8; color: var(--navy2); }

/* etiketler */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 2px 9px 2px 8px; border-radius: 10px; line-height: 1.5; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; flex: none; }
.tag.t { background: #EAF0F5; color: #4B6076; }
.kart-etiket .tag.t { color: #fff; }

/* sekmeler, pencereler, sağ tuş */
.sekmeler { background: #F6F9FB; gap: 0; }
.sekmeler button { padding: 10px 15px; font-weight: 500; transition: color .12s, background .12s; border-bottom-width: 3px; }
.sekmeler button:hover:not(.on) { color: var(--navy); background: #EDF3F7; }
.sekmeler button.on { border-bottom-color: var(--turq); }
.pencere-arka { background: rgba(4, 30, 56, .45); backdrop-filter: blur(2px); animation: perde-gir .15s ease-out; }
.pencere { border-radius: 12px; box-shadow: 0 24px 60px rgba(4, 30, 56, .35); padding: 18px 20px; animation: pencere-gir .16s ease-out; }
@keyframes perde-gir { from { opacity: 0; } }
@keyframes pencere-gir { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
.sagtus { border-radius: 9px; padding: 5px; border-color: #D3DDE6; box-shadow: 0 10px 30px rgba(4, 30, 56, .22); min-width: 220px; animation: perde-gir .1s ease-out; }
.sagtus button, .sagtus a { padding: 7px 12px; border-radius: 6px; }
.sagtus button:hover:not(:disabled), .sagtus a:hover { background: #E3F1F8; color: var(--navy); }

/* ana sayfa kartları, belge ve kart sayfaları */
.pano { gap: 14px; }
.pano .card { border-top: 3px solid var(--turq); transition: box-shadow .15s, transform .15s; }
.pano .card:nth-child(3n+2) { border-top-color: var(--navy2); }
.pano .card:nth-child(3n) { border-top-color: var(--read); }
.pano .card:hover { box-shadow: var(--golge-buyuk); transform: translateY(-2px); }
.buyuk { font-size: 32px; letter-spacing: -.02em; }
.card.belge, .card.kart { box-shadow: var(--golge-buyuk); }
.belge-no { letter-spacing: -.01em; }
.kart-ust { position: relative; overflow: hidden; padding: 20px 22px; }
.kart-ust::after { content: ""; position: absolute; right: -90px; top: -130px; width: 340px; height: 340px; border-radius: 50%; border: 46px solid rgba(63, 195, 234, .10); pointer-events: none; }
.kart-ust > * { position: relative; z-index: 1; }
.kart-avatar { width: 62px; height: 62px; border-radius: 16px; background: linear-gradient(135deg, rgba(63, 195, 234, .55), rgba(0, 151, 194, .25)); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.kart-kimlik h2 { font-size: 23px; letter-spacing: -.015em; }
.kart-kpi > div { padding: 13px 18px; transition: background .12s; }
.kart-kpi > div:hover { background: #F6FAFC; }
.kart-kpi b { font-size: 22px; letter-spacing: -.01em; }
.kart-bolumler section { border-radius: 10px; box-shadow: 0 1px 2px rgba(6, 47, 87, .04); background: #FBFCFD; }
.kart-tablo th { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; padding: 8px 10px; }
.kart-tablo td { padding: 8px 10px; }
@media (max-width: 900px) { nav { top: 50px; } main { padding: 14px 14px 28px; } }
.kart-ust h2 { color: #fff; }
/* kart başlık bandının içinde açılan pencere (ör. Tümüyle Sil) bandın beyaz yazısını almaz */
.kart-ust .pencere { color: var(--text); text-align: left; }
.kart-ust .pencere h2 { color: var(--navy); }
.card.kart { min-height: 0; margin-bottom: 12px; }
.kart-roller label input { width: auto; height: auto; margin: 0; }

/* CRM: özet şeridi, liste / pano seçimi, fırsat panosu (huni), aşama şeridi, hedef tablosu */
.ozet-serit { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.ozet-serit > div { background: var(--surface); border: 1px solid #DCE4EC; border-left: 4px solid var(--turq); border-radius: var(--yuvar); padding: 11px 16px; display: grid; gap: 1px; box-shadow: var(--golge); }
.ozet-serit > div:nth-child(2) { border-left-color: var(--navy2); }
.ozet-serit > div:nth-child(4) { border-left-color: var(--write); }
.ozet-serit small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ozet-serit b { font-size: 22px; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ozet-serit span { font-size: 11.5px; color: var(--muted); }
.ozet-serit .arti { border-left-color: var(--read); }
.ozet-serit .arti b { color: var(--read); }
.ozet-serit .eksi { border-left-color: var(--warn); }
.ozet-serit .eksi b { color: var(--warn); }
.gorunum-sec { display: inline-flex; border: 1px solid #CBD6E0; border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 1px rgba(6, 47, 87, .05); }
.gorunum-sec button { all: unset; box-sizing: border-box; height: 32px; padding: 0 16px; cursor: pointer; white-space: nowrap; font-weight: 500; color: var(--muted); }
.gorunum-sec button.on { background: linear-gradient(180deg, #0D4A84, var(--navy)); color: #fff; }
.pano-huni { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 10px; padding: 12px; background: #F4F7FA; overflow-x: auto; align-items: start; }
.huni-kolon { display: grid; gap: 8px; align-content: start; min-width: 0; }
.huni-bas { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid #DCE4EC; border-top: 3px solid var(--turq); }
.huni-kolon:nth-child(2) .huni-bas { border-top-color: #2E8FC4; } .huni-kolon:nth-child(3) .huni-bas { border-top-color: var(--navy2); }
.huni-kolon:nth-child(4) .huni-bas { border-top-color: var(--write); } .huni-kolon:nth-child(5) .huni-bas { border-top-color: var(--read); }
.huni-bas b { color: var(--navy); font-size: 12.5px; }
.huni-bas span { min-width: 22px; height: 20px; border-radius: 10px; background: #EAF0F5; color: var(--navy2); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 7px; }
.huni-bas small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.huni-kart { all: unset; box-sizing: border-box; display: grid; gap: 2px; padding: 9px 11px; border-radius: 8px; background: var(--surface); border: 1px solid #DCE4EC; box-shadow: 0 1px 2px rgba(6, 47, 87, .05); cursor: pointer; transition: box-shadow .12s, transform .12s, border-color .12s; user-select: none; }
.huni-kart:hover { box-shadow: var(--golge-buyuk); transform: translateY(-1px); }
.huni-kart.on { border-color: var(--turq); box-shadow: 0 0 0 2px rgba(0, 151, 194, .25); }
.huni-kart small { font-size: 11px; color: var(--muted); }
.huni-kart b { color: var(--navy); font-size: 12.5px; line-height: 1.3; }
.huni-kart span { font-size: 12px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.huni-kart div { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.huni-kart em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.huni-kart i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 9px; background: var(--readbg); color: var(--read); }
.huni-kolon > .note { text-align: center; margin: 4px 0; }
.asama-serit { display: flex; background: #F1F5F9; border-bottom: 1px solid var(--line); overflow-x: auto; }
.asama-serit button { all: unset; box-sizing: border-box; flex: 1 1 0; min-width: 110px; padding: 10px 12px 10px 22px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; position: relative; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); margin-left: -8px; background: #E4EBF1; transition: background .12s; }
.asama-serit button:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); padding-left: 14px; }
.asama-serit button:hover { background: #D5E3EE; color: var(--navy); }
.asama-serit button.gecti { background: #BFE0EE; color: var(--navy2); }
.asama-serit button.on { background: linear-gradient(90deg, var(--turq), #17A9D3); color: #fff; font-weight: 700; }
.asama-serit button.kayip.on { background: var(--warn); }
.cari-secili { display: flex; gap: 6px; align-items: center; min-height: 30px; padding: 3px 4px 3px 10px; border: 1px solid #CBD6E0; border-radius: 7px; background: #F3F8FB; }
.cari-secili a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); }
.kart-bolumler.iki-bir { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.kart-bolumler textarea { min-height: 60px; }
.kart-bolumler input.sag { text-align: right; font-variant-numeric: tabular-nums; }
.card.tablo.hedef td { padding: 6px 6px; vertical-align: top; }
.card.tablo.hedef td:first-child { padding-left: 14px; white-space: nowrap; }
.card.tablo.hedef td small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.card.tablo.hedef td small.tutti { color: var(--read); font-weight: 700; }
.card.tablo.hedef input { width: 78px !important; height: 26px !important; text-align: right; padding: 0 5px !important; font-variant-numeric: tabular-nums; }
.card.tablo.hedef tr.toplam td { background: #E7EEF4 !important; border-top: 2px solid #C9D6E0; }
@media (max-width: 1250px) { .kart-bolumler.iki-bir { grid-template-columns: 1fr; } }

/* takvim: ay ızgarası, hafta kolonları, ajanda listesi; olay rengi kaynağa göre (k-aktivite, k-takip…) */
:root { --k-aktivite: #0097C2; --k-takip: #D97706; --k-firsat: #0B3D6E; --k-teklif: #7C4DBD; --k-siparis: #0A7F5A; --k-proje: #3C5A78; --k-emir: #64748B; --k-servis: #C62828; --k-personel: #B5179E; --k-icra: #8B5E34; --k-gorevlendirme: #00838F; --k-onay: #7B2FBE; --k-izin: #0E9F6E; --k-talep: #E8590C; --k-satinalma: #1D6FA5; }
.k-aktivite { --k: var(--k-aktivite); } .k-takip { --k: var(--k-takip); } .k-firsat { --k: var(--k-firsat); } .k-teklif { --k: var(--k-teklif); }
.k-siparis { --k: var(--k-siparis); } .k-proje { --k: var(--k-proje); } .k-emir { --k: var(--k-emir); } .k-servis { --k: var(--k-servis); } .k-personel { --k: var(--k-personel); } .k-icra { --k: var(--k-icra); } .k-gorevlendirme { --k: var(--k-gorevlendirme); } .k-onay { --k: var(--k-onay); } .k-izin { --k: var(--k-izin); } .k-talep { --k: var(--k-talep); } .k-satinalma { --k: var(--k-satinalma); }
.takvim-ust { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.takvim-gez { display: flex; gap: 6px; align-items: center; }
.takvim-gez b { font-size: 18px; color: var(--navy); letter-spacing: -.01em; margin-left: 8px; text-transform: capitalize; min-width: 150px; }
.takvim-gez .btn { padding: 0 12px; }
.takvim-ust .chip { padding-left: 10px; }
.takvim-ust .chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--k); flex: none; }
.takvim-ust .chip:not(.on) { opacity: .55; background: #F4F7FA; text-decoration: line-through; }
.takvim-ust .chip.on { background: var(--surface); color: var(--text); border-color: #D3DDE6; box-shadow: 0 1px 1px rgba(6, 47, 87, .04); }
.takvim-ust .chip.on b { background: #EAF0F5; color: var(--navy2); }
.card.takvim-ay, .card.takvim-hafta { padding: 0; overflow: hidden; box-shadow: var(--golge-buyuk); }
.takvim-gunler { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #E7EEF4; border-bottom: 1px solid #C9D6E0; }
.takvim-gunler div { padding: 8px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #36536F; }
.takvim-izgara { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(118px, auto); }
.takvim-gun { border-right: 1px solid #E3EAF0; border-bottom: 1px solid #E3EAF0; padding: 4px 5px 6px; display: grid; gap: 3px; align-content: start; min-width: 0; background: var(--surface); }
.takvim-gun:nth-child(7n) { border-right: 0; }
.takvim-gun.tatil { background: #F8FAFC; }
.takvim-gun.dis { background: #F1F4F7; }
.takvim-gun.dis .gun-no { color: #9AAAB9; }
.takvim-gun.bugun { background: #EEF8FC; box-shadow: inset 0 3px 0 var(--turq); }
.gun-bas { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.gun-no { all: unset; cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--navy); padding: 1px 6px; border-radius: 10px; }
.gun-no:hover { background: #DCEFF7; }
.takvim-gun.bugun .gun-no { background: var(--turq); color: #fff; }
.gun-ekle { all: unset; cursor: pointer; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 15px; line-height: 1; opacity: 0; transition: opacity .12s, background .12s; }
.takvim-gun:hover .gun-ekle, .hafta-gun:hover .gun-ekle, .gun-ekle:focus-visible { opacity: 1; }
.gun-ekle:hover { background: var(--turq); color: #fff; }
.olay { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; font-size: 11.5px; line-height: 1.35; padding: 2px 6px 2px 7px; border-radius: 5px; border-left: 3px solid var(--k); background: color-mix(in srgb, var(--k) 11%, #fff); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .1s; }
.olay:hover { background: color-mix(in srgb, var(--k) 22%, #fff); }
.olay i { font-style: normal; font-weight: 700; color: var(--k); margin-right: 5px; font-variant-numeric: tabular-nums; }
.olay.tamam { opacity: .55; text-decoration: line-through; }
.olay.gecikti { border-left-color: var(--warn); background: #FDECEC; color: var(--warn); }
.olay.genis { white-space: normal; padding: 6px 8px; display: grid; gap: 1px; }
.olay.genis b { font-weight: 600; color: var(--navy); }
.olay.genis small { color: var(--muted); font-size: 11px; }
.olay.genis.gecikti b { color: var(--warn); }
.olay-fazla { all: unset; cursor: pointer; font-size: 11px; color: var(--turq); padding: 0 6px; font-weight: 600; }
.card.takvim-hafta { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); min-height: 420px; }
.hafta-gun { border-right: 1px solid #E3EAF0; padding: 0 6px 10px; display: grid; gap: 5px; align-content: start; min-width: 0; }
.hafta-gun:last-child { border-right: 0; }
.hafta-gun.tatil { background: #F8FAFC; }
.hafta-gun.bugun { background: #EEF8FC; }
.hafta-gun .gun-bas { margin: 0 -6px 4px; padding: 8px 10px; background: #E7EEF4; border-bottom: 1px solid #C9D6E0; font-size: 11.5px; color: #36536F; text-transform: capitalize; }
.hafta-gun .gun-bas b { font-size: 17px; color: var(--navy); margin-right: 4px; }
.hafta-gun.bugun .gun-bas { background: var(--turq); color: #fff; border-bottom-color: var(--turq); }
.hafta-gun.bugun .gun-bas b { color: #fff; }
.hafta-gun > .note { text-align: center; margin: 6px 0; }
.ajanda-gun { display: flex; gap: 10px; align-items: baseline; padding: 8px 14px; background: #E7EEF4; border-bottom: 1px solid #C9D6E0; border-top: 1px solid #C9D6E0; }
.ajanda-gun:first-child { border-top: 0; }
.ajanda-gun b { color: var(--navy); font-size: 13px; }
.ajanda-gun span { color: var(--muted); font-size: 11.5px; }
.ajanda-gun.bugun { background: #DFF1F8; }
.ajanda-gun.gecikti { background: #FDECEC; }
.ajanda-gun.gecikti b { color: var(--warn); }
.ajanda-satir { display: grid; grid-template-columns: 84px 132px minmax(0, 1fr) 150px 90px; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #E8EEF3; cursor: pointer; transition: background .08s; }
.ajanda-satir:hover { background: #EAF4FA; }
.ajanda-satir.tamam { opacity: .6; }
.ajanda-satir .saat { font-weight: 600; color: #36536F; font-variant-numeric: tabular-nums; }
.ajanda-satir .ad { min-width: 0; display: grid; }
.ajanda-satir .ad b { color: var(--navy); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ajanda-satir .ad small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ajanda-satir .kim { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ajanda-satir .islem { text-align: right; }
.olay-etiket { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 10px; background: color-mix(in srgb, var(--k) 13%, #fff); color: var(--k); white-space: nowrap; justify-self: start; }
.olay-etiket::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--k); }
.pano-takvim { display: grid; gap: 2px; margin-bottom: 6px; }
.pano-takvim a { display: grid; grid-template-columns: 46px 10px minmax(0, auto) minmax(0, 1fr); gap: 8px; align-items: center; padding: 5px 6px; border-radius: 6px; color: var(--text); }
.pano-takvim a:hover { background: #EAF4FA; text-decoration: none; }
.pano-takvim span { font-weight: 600; color: #36536F; font-variant-numeric: tabular-nums; font-size: 12px; }
.pano-takvim .olay-etiket { padding: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--k); }
.pano-takvim .olay-etiket::before { display: none; }
.pano-takvim b { font-weight: 600; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pano-takvim small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pano-takvim a.gecikti span, .pano-takvim a.gecikti b { color: var(--warn); }
.kart-avatar small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-top: -3px; }
.kart-avatar:has(small) { display: grid; grid-template-rows: auto auto; align-content: center; justify-items: center; line-height: 1.1; }
@media (max-width: 1000px) { .card.takvim-hafta { grid-template-columns: 1fr; } .hafta-gun { border-right: 0; } .ajanda-satir { grid-template-columns: 70px minmax(0, 1fr) 80px; } .ajanda-satir .olay-etiket, .ajanda-satir .kim { display: none; } .takvim-izgara { grid-auto-rows: minmax(84px, auto); } }

/* kart ve belge sayfalarındaki takvim şeridi (KayitAktiviteleri) */
.kayit-aktivite { display: flex; gap: 6px 8px; align-items: center; flex-wrap: wrap; padding: 6px 14px; margin: 0 0 8px; background: #F3F8FB; border-top: 1px solid #E3EAF0; border-bottom: 1px solid #E3EAF0; font-size: 12px; }
.kayit-aktivite > b { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--navy); margin-right: 4px; }
.kayit-aktivite > a:not(.btn) { display: inline-flex; gap: 6px; align-items: center; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 9px; border-radius: 11px; border-left: 3px solid var(--k-aktivite); background: var(--surface); color: var(--text); box-shadow: 0 1px 1px rgba(6, 47, 87, .06); }
.kayit-aktivite > a:not(.btn):hover { background: #E3F1F8; text-decoration: none; }
.kayit-aktivite > a i { font-style: normal; font-weight: 700; color: var(--k-aktivite); font-variant-numeric: tabular-nums; }
.kayit-aktivite > a.tamam { opacity: .6; text-decoration: line-through; }
.kayit-aktivite > a.gecikti { border-left-color: var(--warn); color: var(--warn); }
.kayit-aktivite > a.gecikti i { color: var(--warn); }
.kayit-aktivite .note { margin: 0; }
.kayit-aktivite .btn { margin-left: auto; }
.kart-roller.katilimci { max-height: 132px; overflow: auto; padding: 2px; }
.kart-roller.katilimci label { height: 26px; font-size: 12px; }

/* onay merkezi: seçili talebin adımları, akış kartında adım listesi */
.card.tablo > table tr.onay-adimlar td { background: #F3F8FB !important; padding: 10px 14px; box-shadow: inset 4px 0 0 var(--turq); }
.onay-adimlar div { display: flex; gap: 10px; flex-wrap: wrap; }
.onay-adimlar span { display: grid; gap: 2px; padding: 8px 12px; border: 1px solid #DCE4EC; border-radius: 8px; background: var(--surface); min-width: 170px; }
.onay-adimlar span.simdi { border-color: var(--turq); box-shadow: 0 0 0 2px rgba(0, 151, 194, .18); }
.onay-adimlar span b { color: var(--navy); font-weight: 600; }
.onay-adimlar span i { font-style: normal; justify-self: start; margin: 0; }
.onay-adimlar span small { color: var(--muted); font-size: 11.5px; }
.onay-adimlar span em { font-size: 12px; color: var(--text); }
.onay-adim-liste { display: grid; gap: 6px; }
.onay-adim-liste > div { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto auto; gap: 6px; align-items: center; }
.onay-adim-liste b { color: var(--navy); }
.card.tablo > table tr.ara-toplam td { background: #E7EEF4 !important; font-weight: 600; color: var(--navy); border-top: 1px solid #C9D6E0; }

/* belge gövdesi (teklif): solda bölümler, sağda seçili bölümün kalemleri. İki alan renk ve çerçeveyle ayrılır; stok adı vurgulu, yedek parça girintili. */
.belge-govde { grid-template-columns: 252px minmax(0, 1fr); background: #E9EFF4; gap: 10px; padding: 10px; }
.belge-bolumler { background: #DCE6EE; border: 1px solid #C6D3DE; border-radius: 9px; padding: 8px; gap: 6px; }
.belge-bolumler h4 { margin: 2px 4px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #36536F; display: flex; justify-content: space-between; align-items: center; }
.belge-bolumler h4 span { min-width: 22px; height: 18px; border-radius: 9px; background: #fff; color: var(--navy2); font-size: 11px; letter-spacing: 0; display: grid; place-items: center; padding: 0 6px; }
.belge-bolumler button { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 8px 9px; border-radius: 7px; background: var(--surface); border: 1px solid #D3DDE6; box-shadow: 0 1px 1px rgba(6, 47, 87, .05); transition: background .12s, box-shadow .12s, border-color .12s; }
.belge-bolumler button:hover { background: #F4FAFD; border-color: var(--turq); }
.belge-bolumler button i { grid-row: span 2; font-style: normal; font-weight: 700; font-size: 12px; min-width: 38px; text-align: center; padding: 5px 4px; border-radius: 6px; background: #E7EEF4; color: var(--navy2); font-variant-numeric: tabular-nums; }
.belge-bolumler button b { font-size: 12.5px; color: var(--navy); line-height: 1.25; }
.belge-bolumler button span { grid-column: 2; font-size: 11px; color: var(--muted); }
.belge-bolumler button em { grid-column: 1 / -1; font-style: normal; font-size: 12px; font-weight: 600; text-align: right; color: #36536F; font-variant-numeric: tabular-nums; border-top: 1px dashed #D3DDE6; padding-top: 4px; margin-top: 2px; }
.belge-bolumler button.on { background: linear-gradient(135deg, var(--navy), #0D4A84); border-color: var(--navy); box-shadow: 0 4px 12px rgba(6, 47, 87, .30); }
.belge-bolumler button.on i { background: var(--turq); color: #fff; }
.belge-bolumler button.on b { color: #fff; }
.belge-bolumler button.on span { color: #B8CADB; }
.belge-bolumler button.on em { color: #fff; border-top-color: rgba(255, 255, 255, .25); }
.belge-bolumler select { height: 30px; margin-top: 2px; border-style: dashed; background: transparent; color: var(--navy2); font-weight: 500; }
.belge-govde > .belge-grid { background: var(--surface); border: 1px solid #C6D3DE; border-radius: 9px; overflow: hidden; overflow-x: auto; box-shadow: 0 1px 2px rgba(6, 47, 87, .06); }
.grid-bolum-bas { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: linear-gradient(90deg, #EAF6FA, #F7FBFD); border-bottom: 2px solid var(--turq); position: sticky; left: 0; }
.grid-bolum-bas i { font-style: normal; font-weight: 700; font-size: 12.5px; padding: 3px 9px; border-radius: 6px; background: var(--turq); color: #fff; font-variant-numeric: tabular-nums; }
.grid-bolum-bas b { font-size: 14.5px; color: var(--navy); letter-spacing: -.01em; }
.grid-bolum-bas span { font-size: 11.5px; color: var(--muted); }
.grid-bolum-bas em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 14px; color: var(--navy); font-variant-numeric: tabular-nums; }
.belge-grid fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.belge-grid th { background: #F1F5F9; color: #36536F; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #C9D6E0; padding: 7px 6px; }
.belge-grid td { border-bottom-color: #E8EEF3; height: 32px; }
.belge-grid tr:hover td { background: #F4FAFD; }
.belge-grid td.no { font-weight: 700; color: var(--turq); font-variant-numeric: tabular-nums; width: 44px; padding-left: 14px; }
.belge-grid td.kod { color: #5B6F84; font-size: 11.5px; font-variant-numeric: tabular-nums; }
/* kalem girişleri kutu gibi durmaz: yazı gibi görünür, üstüne gelince ve odakta kutu olur */
.belge-grid td input:not([type=checkbox]):not([type=file]) { border-color: transparent; background: transparent; box-shadow: none; }
.belge-grid td input:not([type=checkbox]):not([type=file]):hover { border-color: #CBD6E0; background: var(--surface); }
.belge-grid td input:not([type=checkbox]):not([type=file]):focus { border-color: var(--turq); background: var(--surface); box-shadow: 0 0 0 3px rgba(0, 151, 194, .15); }
.belge-grid td.ad input { font-weight: 600; color: var(--navy); font-size: 12.5px; }
.belge-grid tr.yedek td { background: #F8FBFC; color: var(--muted); font-size: 12px; }
.belge-grid tr.yedek td.no { color: #9CB4C4; font-weight: 400; text-align: right; padding-right: 2px; }
.belge-grid tr.yedek td.kod { box-shadow: inset 3px 0 0 #BFE0EE; padding-left: 12px; }
.belge-grid tr.yedek td.ad input { font-weight: 400; color: #4B6076; font-style: italic; font-size: 12px; }
.belge-grid tr.ekp td { background: #FFF8EC !important; color: var(--write); font-style: italic; border-top: 1px dashed #F0D9B5; }
.belge-grid tr.ekp td:first-child { color: var(--write); font-weight: 700; padding-left: 14px; }
.belge-grid tr.yeni td { background: #F1F6FA !important; border-top: 1px solid #C9D6E0; }
.belge-grid tr.yeni td:first-child { color: var(--turq); font-weight: 700; padding-left: 16px; font-size: 15px; }
@media (max-width: 900px) { .belge-govde { grid-template-columns: 1fr; } }

/* başlıksız (belge) sayfalar: üstte yol ve başlık yok, belge ekranın tamamını kullanır */
.bas.ince { justify-content: flex-end; margin-bottom: 8px; }
main:has(> .card.belge:first-child), main:has(> .mesaj + .card.belge) { padding-top: 12px; }
.card.belge { min-height: calc(100vh - 50px - 12px - 34px); }
.card.belge.kart { min-height: 0; }

/* belge başlığı: numara lacivert rozet, cari turkuaz vurgulu (kurumsal renkler) */
.belge-bas { padding: 12px 14px; gap: 14px; border-bottom: 1px solid #E3EAF0; background: linear-gradient(180deg, #FFFFFF, #F6F9FB); border-radius: var(--yuvar) var(--yuvar) 0 0; }
.belge-no { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 9px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #fff; background: linear-gradient(135deg, var(--navy), #0D4A84); box-shadow: 0 3px 10px rgba(6, 47, 87, .28), inset 0 -3px 0 var(--turq); font-variant-numeric: tabular-nums; white-space: nowrap; }
.belge-no small { font-size: 12px; font-weight: 600; color: #7FD6EE; letter-spacing: .02em; }
.belge-cari { font-size: 16px; font-weight: 700; color: #007FA6; line-height: 1.25; padding-left: 12px; border-left: 3px solid var(--turq); min-width: 0; }
.belge-cari small { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }

/* kart sayfalarında üst başlık yok: listeye dönüş kartın kimlik bandının solundaki ok */
.kart-geri { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; padding-bottom: 3px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); transition: background .12s, transform .12s; }
.kart-geri:hover { background: rgba(255, 255, 255, .26); text-decoration: none; transform: translateX(-2px); }
main:has(> .card.kart:first-child), main:has(> .mesaj + .card.kart) { padding-top: 12px; }

/* tanım ekranları: üstte modül adı ve o modülün tanım sekmeleri */
.tanim-bas { display: flex; align-items: stretch; margin-bottom: 12px; background: var(--surface); border: 1px solid #DCE4EC; border-radius: var(--yuvar); box-shadow: var(--golge); overflow: hidden; }
.tanim-bas > b { display: flex; align-items: center; padding: 0 16px; background: linear-gradient(135deg, var(--navy), #0D4A84); color: #fff; font-size: 12.5px; letter-spacing: .02em; white-space: nowrap; }
.tanim-bas .sekmeler { flex: 1; border: 0; margin: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tanim-bas .sekmeler a { padding: 10px 16px; }
.odeme-satir-tablo input { height: 28px; }
.odeme-satir-tablo td { padding: 3px 4px; }
.odeme-satir-tablo th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #36536F; background: #F1F5F9; padding: 6px 6px; }
.odeme-turu-sec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 12px; margin-bottom: 8px; border: 1px solid #DCE4EC; border-left: 4px solid var(--turq); border-radius: 8px; background: #F3F8FB; }
.odeme-turu-sec select { width: auto; min-width: 280px; height: 30px; }
.odeme-turu-sec b { color: var(--navy); }

/* eski teklif arşivi: kontrol tablosu */
.arsiv-grid td input { font-size: 12px; }
.arsiv-grid tr.bozuk td { background: #FDF0EE; }
.arsiv-grid tr.bozuk td:first-child { box-shadow: inset 3px 0 0 #C0392B; }
.btn.dosya.bekle { opacity: .6; pointer-events: none; }
.arsiv-arac { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 10px; }
.arsiv-arac label { display: inline-flex; gap: 8px; align-items: center; margin: 0; font-weight: 600; color: var(--navy); }
.arsiv-arac select { width: auto; min-width: 220px; height: 32px; }
.arsiv-arac .ara { flex: 1; min-width: 260px; max-width: 520px; height: 32px; }
.arsiv-arac .note { margin: 0; }
/* (tablo, ızgara düzenli .belge-ic içinde durduğunda satırlar kutunun yüksekliğine yayılmasın: kendi yüksekliğinde kalır) */
.arsiv-liste { width: 100%; border-collapse: collapse; font-size: 12.5px; align-self: start; height: auto; }
.arsiv-liste th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #36536F; background: #F1F5F9; padding: 7px 8px; border-bottom: 1px solid #C9D6E0; white-space: nowrap; }
.arsiv-liste td { padding: 5px 8px; border-bottom: 1px solid #E9EEF3; vertical-align: top; }
.arsiv-liste th.sag, .arsiv-liste td.sag { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.arsiv-liste td.acik b { font-weight: 600; color: #16314F; }
.arsiv-liste td.acik small { display: block; color: #5B7186; font-size: 11.5px; line-height: 1.35; margin-top: 1px; }
.arsiv-liste td.acik em { display: block; font-style: normal; color: #8A5A00; background: #FBF3E0; border-radius: 4px; padding: 1px 6px; margin-top: 3px; font-size: 11.5px; }
.arsiv-not { padding: 2px 0; }
.arsiv-odeme { border-collapse: collapse; }
.arsiv-odeme td { padding: 2px 14px 2px 0; border: 0; }
.arsiv-liste td.fnot { color: #B4332A; font-size: 11.5px; }
.arsiv-liste tr.grup td { background: #E7EEF4; border-bottom: 1px solid #C9D6E0; cursor: pointer; padding: 7px 8px; }
.arsiv-liste tr.grup td i { font-style: normal; color: var(--turq); display: inline-block; width: 14px; }
.arsiv-liste tr.grup td b { color: var(--navy); }
.arsiv-liste tr.grup td span { color: #5B7186; font-size: 11.5px; margin-left: 8px; }
.arsiv-liste tr.grup:hover td { background: #DDE8F0; }
.arsiv-liste tr.bozuk td { background: #FDF0EE; }
.arsiv-liste tr.bozuk td:first-child { box-shadow: inset 3px 0 0 #C0392B; }
.arsiv-liste tr.toplam td { border-top: 2px solid #C9D6E0; background: #F5F8FA; }
.arsiv-liste.tikla tr:not(:first-child) { cursor: pointer; }
.arsiv-liste.tikla tr:not(:first-child):hover td { background: #EEF8FC; }
.arsiv-liste th.gizli { color: #8A5A00; background: #FBF3E0; }
.arsiv-bilgi { border-collapse: collapse; font-size: 13px; max-width: 980px; }
.arsiv-bilgi th { text-align: left; vertical-align: top; width: 190px; padding: 6px 12px 6px 0; color: #5B7186; font-weight: 600; white-space: nowrap; }
.arsiv-bilgi td { padding: 6px 0; border-bottom: 1px solid #E9EEF3; color: #16314F; }
.arsiv-sart { white-space: pre-wrap; font: 12.5px/1.55 inherit; font-family: inherit; margin: 0; max-width: 980px; color: #16314F; }
.arsiv-grid th.gizli, .kart-tablo th.gizli { color: #8A5A00; background: #FBF3E0; }
.kart-tablo tr.toplam td { border-top: 2px solid #C9D6E0; background: #F5F8FA; }
.kart-tablo td input { height: 28px; }

/* saatlik takvim: tek gün, kişiler yan yana */
.kisi-sec { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 0 0 10px; }
.kisi-sec > b { color: var(--navy); font-size: 12px; margin-right: 2px; }
.kisi-sec label { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border: 1px solid #C9D6E0; border-radius: 999px; background: #fff; font-size: 12px; cursor: pointer; margin: 0; }
.kisi-sec label.on { background: #E6F5FA; border-color: var(--turq); color: var(--navy); font-weight: 600; }
.kisi-sec label input { width: auto; height: auto; margin: 0; }
.kisi-sec .note { flex-basis: 100%; margin: 0; }
.card.takvim-saatlik { padding: 0; overflow-x: auto; box-shadow: var(--golge-buyuk); --kolon: 56px repeat(var(--kisi), minmax(150px, 1fr)); }
.saatlik-bas, .saatlik-gunboyu, .saatlik-govde { display: grid; grid-template-columns: var(--kolon); min-width: calc(56px + var(--kisi) * 150px); }
.saatlik-bas > div { padding: 9px 10px; background: #E7EEF4; border-bottom: 1px solid #C9D6E0; border-right: 1px solid #D5DFE8; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.saatlik-bas b { color: var(--navy); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saatlik-bas span { font-size: 11px; color: #5B7186; white-space: nowrap; }
.saatlik-gunboyu > div { padding: 4px 5px; border-bottom: 1px solid #C9D6E0; border-right: 1px solid #E3EAF0; display: grid; gap: 3px; align-content: start; min-width: 0; background: #F8FAFC; }
.saatlik-gunboyu > div:first-child { font-size: 10.5px; color: #5B7186; text-align: right; padding-top: 7px; }
.saatlik-saatler > div { height: 48px; padding: 3px 8px 0 0; text-align: right; font-size: 11px; color: #5B7186; font-variant-numeric: tabular-nums; border-bottom: 1px solid #E3EAF0; border-right: 1px solid #D5DFE8; }
.saatlik-saatler > div.bos { background: #E9F7EF; color: #0A7F5A; font-weight: 700; box-shadow: inset 3px 0 0 #0A7F5A; }
.saatlik-kisi { position: relative; height: calc(var(--saat) * 48px); border-right: 1px solid #E3EAF0; min-width: 0; }
.saatlik-kisi .saat-hucre { display: block; width: 100%; height: 48px; border: 0; border-bottom: 1px solid #E3EAF0; background: transparent; cursor: pointer; padding: 0; }
.saatlik-kisi .saat-hucre:hover { background: #EEF8FC; }
.saatlik-kisi .olay.saatli { position: absolute; display: flex; flex-direction: column; gap: 1px; align-items: flex-start; text-align: left; overflow: hidden; padding: 3px 6px; margin: 1px 0 0; white-space: normal; line-height: 1.2; z-index: 1; }
.saatlik-kisi .olay.saatli i { font-style: normal; font-size: 10.5px; opacity: .85; font-variant-numeric: tabular-nums; }
.saatlik-kisi .olay.saatli b { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.saatlik-kisi .olay.saatli small { font-size: 10.5px; opacity: .85; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }

/* teklif: fiyat notu, opsiyon bölümü, maliyet + kâr */
.belge-grid td.ad input.fiyat-notu { margin-top: 2px; height: 22px; font-size: 11.5px; color: #B4332A; background: #FDF3F1; border: 1px dashed #E3B3AC; border-radius: 4px; }
.bolum-ayar { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 8px 12px; border-top: 1px solid #DCE4EC; background: #F8FAFC; font-size: 12px; }
.bolum-ayar label { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.bolum-ayar .gizli { color: #8A5A00; }
.bolum-ayar label.gizli input { width: 76px; height: 26px; text-align: right; }
.belge-toplam .gizli span { font-size: 11px; color: #8A5A00; margin-left: 6px; }

/* aktivite: birim seçme, dış katılımcı, katılım yanıtı; takvimde sürükle bırak */
.birim-sec { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; font-size: 12px; color: #5B7186; }
.birim-sec .btn.on { background: #E6F5FA; border-color: var(--turq); color: var(--navy); }
.birim-sec .btn b { margin-left: 4px; opacity: .7; }
.kart-roller.katilimci label .tag { margin-left: 6px; font-size: 10.5px; }
.dis-katilimci { width: 100%; border-collapse: collapse; margin: 0 0 6px; }
.dis-katilimci td { padding: 2px 4px 2px 0; }
.dis-katilimci input { height: 30px; }
.yanit-serit .tag { font-size: 12px; }
.olay[draggable="true"] { cursor: grab; }
.olay[draggable="true"]:active { cursor: grabbing; }

/* kart başlığında künye (arşiv kaydı): teklif no, tarih, personel… */
.kart-kunye { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 4px; }
.kart-kunye span { display: grid; gap: 1px; padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .11); border: 1px solid rgba(255, 255, 255, .16); }
.kart-kunye i { font-style: normal; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: #B8CADB; }
.kart-kunye b { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* analiz panosu: grafik kartları. Seri renkleri doğrulanmış iki renkli palettir (mavi / turuncu); yazılar seri rengini giymez */
:root { --seri-1: #2a78d6; --seri-2: #eb6834; --p1: #2a78d6; --p2: #eb6834; --p3: #1baf7a; --p4: #eda100; --p5: #e87ba4; --p6: #008300; --p7: #4a3aa7; --p8: #e34948; --p9: #9AA7B4; }
i.p1 { background: var(--p1); } i.p2 { background: var(--p2); } i.p3 { background: var(--p3); } i.p4 { background: var(--p4); } i.p5 { background: var(--p5); }
i.p6 { background: var(--p6); } i.p7 { background: var(--p7); } i.p8 { background: var(--p8); } i.p9 { background: var(--p9); }
circle.p1 { stroke: var(--p1); } circle.p2 { stroke: var(--p2); } circle.p3 { stroke: var(--p3); } circle.p4 { stroke: var(--p4); } circle.p5 { stroke: var(--p5); }
circle.p6 { stroke: var(--p6); } circle.p7 { stroke: var(--p7); } circle.p8 { stroke: var(--p8); } circle.p9 { stroke: var(--p9); }
.pano { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.pano-kart.genis2 { grid-column: span 2; }
.pasta { display: grid; grid-template-columns: minmax(120px, 168px) minmax(0, 1fr); gap: 14px; align-items: center; }
.pasta svg { width: 100%; height: auto; transform: rotate(0deg); }
.pasta circle.dilim { transition: stroke-width .12s; cursor: default; }
.pasta circle.dilim:hover { stroke-width: 8.6; }
.pasta text.merkez { font-size: 6.4px; font-weight: 700; fill: #16314F; font-variant-numeric: tabular-nums; }
.pasta text.merkez-alt { font-size: 2.6px; fill: #5B7186; text-transform: uppercase; letter-spacing: .06em; }
.pasta-aciklama { display: grid; gap: 2px; min-width: 0; }
.pasta-aciklama > div { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 44px; gap: 8px; align-items: center; padding: 2px 4px; border-radius: 6px; font-size: 12px; }
.pasta-aciklama > div:hover { background: #F1F5F9; }
.pasta-aciklama > div.tikla { cursor: pointer; }
.pasta-aciklama i { display: block; width: 10px; height: 10px; border-radius: 3px; }
.pasta-aciklama span { color: #16314F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pasta-aciklama b { color: #16314F; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pasta-aciklama em { font-style: normal; color: #5B7186; text-align: right; font-variant-numeric: tabular-nums; }
.sutun-grafik.genis .govde { max-width: 64px; }
.sutun-grafik.genis .sutun span { left: 0; right: 0; }
.arsiv-liste.sik { font-size: 12px; }
.arsiv-liste.sik td { padding: 2px 8px; white-space: nowrap; max-width: 230px; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.belge-ic.analiz-tablo { display: block; overflow-x: auto; }
.arsiv-liste.sik th { padding: 5px 8px; }
.arsiv-liste.sik td.acik small { display: inline; margin: 0; }
.arsiv-liste.sik td.acik { max-width: 420px; }
.arsiv-liste.sik .tag { padding-top: 0; padding-bottom: 0; line-height: 1.5; }
@media (max-width: 1250px) { .pano { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pano-kart { background: var(--surface); border: 1px solid #DCE4EC; border-radius: var(--yuvar); box-shadow: var(--golge); padding: 14px 16px 12px; min-width: 0; }
.pano-kart.genis { grid-column: 1 / -1; }
.pano-kart.gizli { border-top: 3px solid #E0B24A; }
.pano-kart h3 { margin: 0 0 10px; font-size: 13.5px; color: var(--navy); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pano-kart h3 span { font-size: 11.5px; font-weight: 400; color: #5B7186; white-space: nowrap; }
.pano-baslik { margin: 4px 0 8px; font-size: 13px; color: #36536F; text-transform: uppercase; letter-spacing: .06em; }
.grafik { display: grid; gap: 5px; }
.grafik-aciklama { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 11.5px; color: #36536F; margin-bottom: 4px; }
.grafik-aciklama span { display: inline-flex; align-items: center; gap: 6px; }
.grafik-aciklama i, .grafik i.s1, .grafik i.s2, .sutun-grafik i { display: block; }
.grafik-aciklama i { width: 10px; height: 10px; border-radius: 3px; }
i.s1 { background: var(--seri-1); }
i.s2 { background: var(--seri-2); }
.grafik-satir { display: grid; grid-template-columns: minmax(90px, 30%) minmax(0, 1fr); gap: 10px; align-items: center; padding: 2px 4px; border-radius: 6px; }
.grafik-satir:hover { background: #F1F5F9; }
.grafik-satir.tikla { cursor: pointer; }
.grafik-satir .etiket { font-size: 12px; color: #16314F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.grafik-satir .cubuk { display: flex; align-items: center; gap: 2px; height: 18px; border-left: 1px solid #C9D6E0; min-width: 0; }
.grafik-satir .cubuk i { height: 16px; min-width: 2px; }
.grafik-satir .cubuk i:last-of-type { border-radius: 0 4px 4px 0; }
.grafik-satir .cubuk b { margin-left: 6px; font-size: 12px; color: #16314F; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sutun-grafik { display: flex; align-items: flex-end; gap: 2px; height: 190px; border-bottom: 1px solid #C9D6E0; padding-top: 4px; }
.sutun-grafik .sutun { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; padding-bottom: 20px; border-radius: 6px 6px 0 0; }
.sutun-grafik .sutun:hover { background: #F1F5F9; }
.sutun-grafik .govde { width: 100%; max-width: 24px; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; min-height: 0; }
.sutun-grafik .govde b { font-size: 11px; color: #16314F; font-variant-numeric: tabular-nums; line-height: 1.3; }
.sutun-grafik .govde i { width: 100%; min-height: 2px; }
.sutun-grafik .govde b + i { border-radius: 4px 4px 0 0; }
.sutun-grafik .sutun span { position: absolute; bottom: 3px; left: -12px; right: -12px; text-align: center; font-size: 10px; color: #5B7186; white-space: nowrap; }
@media (max-width: 900px) { .pano { grid-template-columns: 1fr; } .pano-kart.genis2 { grid-column: auto; } .pasta { grid-template-columns: 1fr; } }

/* düğme simgeleri: app.js düğme yazısına göre data-ikon verir; simge burada çizilir (yeni ekranlar da kendiliğinden alır) */
[data-ikon]::before { content: ""; flex: none; width: 15px; height: 15px; margin-right: 6px; background: currentColor; -webkit-mask: var(--ik) center / contain no-repeat; mask: var(--ik) center / contain no-repeat; }
.btn[data-ikon] { display: inline-flex; align-items: center; }
.btn.s[data-ikon]::before { width: 12px; height: 12px; margin-right: 4px; }
[data-ikon="arti"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E"); }
[data-ikon="kalem"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13l.6-2.8L10.9 3l2.1 2.1-7.2 7.3L3 13zM9.6 4.3l2.1 2.1'/%3E%3C/svg%3E"); }
[data-ikon="cop"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5h10M6.5 4.5V3h3v1.5M4.5 4.5l.6 8.5h5.8l.6-8.5M6.8 7v4M9.2 7v4'/%3E%3C/svg%3E"); }
[data-ikon="kaydet"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h8l2 2v8H3zM5.5 3v3.5h4.5V3M5.5 13V9.5h5V13'/%3E%3C/svg%3E"); }
[data-ikon="tik"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E"); }
[data-ikon="carpi"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E"); }
[data-ikon="yazici"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6V2.5h7V6M4.5 11.5H3V6h10v5.5h-1.5M4.5 9.5h7v4h-7z'/%3E%3C/svg%3E"); }
[data-ikon="indir"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8M4.8 7.5L8 10.7l3.2-3.2M3 13.5h10'/%3E%3C/svg%3E"); }
[data-ikon="yukle"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10.5v-8M4.8 5.7L8 2.5l3.2 3.2M3 13.5h10'/%3E%3C/svg%3E"); }
[data-ikon="posta"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h11v8h-11zM2.5 4.5L8 9l5.5-4.5'/%3E%3C/svg%3E"); }
[data-ikon="yenile"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 8a5 5 0 1 1-1.5-3.6M13 3v3h-3'/%3E%3C/svg%3E"); }
[data-ikon="geri"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 3.5L5 8l4.5 4.5'/%3E%3C/svg%3E"); }
[data-ikon="ileri"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h9M8.5 4.5L12 8l-3.5 3.5'/%3E%3C/svg%3E"); }
[data-ikon="ara"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E"); }
[data-ikon="belge"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2.5h5.5L12 5v8.5H4zM9.5 2.5V5H12M8 7.5v3.4M6.3 9.2h3.4'/%3E%3C/svg%3E"); }
[data-ikon="bag"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5l3-3M7 5l1.2-1.2a2.3 2.3 0 0 1 3.3 3.3L10.3 8.3M9 11l-1.2 1.2a2.3 2.3 0 0 1-3.3-3.3L5.7 7.7'/%3E%3C/svg%3E"); }
[data-ikon="yasak"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='5.2'/%3E%3Cpath d='M4.4 4.4l7.2 7.2'/%3E%3C/svg%3E"); }
[data-ikon="not"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h10v7l-3 3H3zM10 13v-3h3M5.5 6h5M5.5 8.5h3'/%3E%3C/svg%3E"); }
[data-ikon="kopya"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 5.5h7v7h-7zM3.5 10.5v-7h7'/%3E%3C/svg%3E"); }
[data-ikon="gonder"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8l11-5-4 11-2.2-4.8z'/%3E%3C/svg%3E"); }
[data-ikon="ayar"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='2.2'/%3E%3Cpath d='M8 2v2M8 12v2M2 8h2M12 8h2M3.8 3.8l1.4 1.4M10.8 10.8l1.4 1.4M3.8 12.2l1.4-1.4M10.8 5.2l1.4-1.4'/%3E%3C/svg%3E"); }
[data-ikon="kisi"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='5.5' r='2.5'/%3E%3Cpath d='M3 13.5c.6-2.6 2.6-4 5-4s4.4 1.4 5 4'/%3E%3C/svg%3E"); }
[data-ikon="oynat"] { --ik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5l7 4.5-7 4.5z'/%3E%3C/svg%3E"); }

/* grid araç çubuğunda başka ekrana götüren bağlantı (tanım ekranı gibi): düğme görünümünde, sağa yaslı */
.btn-bag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-bag:hover { background: #F2F6FA; }
.btn-bag.pasif { color: #9AAAB9; pointer-events: none; }
/* e-belge görüntüsü (entegratörden gelen PDF) */
.ebelge-goruntu { width: 100%; height: 78vh; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

/* e-belge önizleme penceresi: uygulama içinde, tam boy */
.onizleme { position: fixed; inset: 3vh 4vw; z-index: 61; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 24px 80px rgba(6, 30, 55, .45); overflow: hidden; }
.onizleme-ust { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--navy); color: #fff; flex-wrap: wrap; }
.onizleme-ust b { font-size: 14px; }
.onizleme-ust .bosluk { flex: 1; }
.onizleme-ust .btn.s { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; text-decoration: none; }
.onizleme-ust .btn.s.p { background: #fff; color: var(--navy); }
.onizleme iframe { flex: 1; width: 100%; border: 0; background: #525659; }

/* sıralanabilir sütun başlığı ve tıklanabilir özet kutusu */
th.sirala { cursor: pointer; user-select: none; white-space: nowrap; }
th.sirala:hover { color: var(--navy); background: #E8F0F6; }
th.sirala.on { color: var(--navy); }
th.sirala i { font-style: normal; font-size: 10px; margin-left: 3px; opacity: .85; }
.ozet-serit > div.tikla { cursor: pointer; transition: box-shadow .12s, transform .12s; }
.ozet-serit > div.tikla:hover { box-shadow: 0 4px 14px rgba(6, 47, 87, .16); transform: translateY(-1px); }
.ozet-serit > div.secili { outline: 2px solid var(--turq); outline-offset: -2px; }
.arac .tarih-aralik { display: inline-flex; align-items: center; gap: 4px; }
.arac .tarih-aralik small { color: var(--muted); }

/* e-belge listesi: tablo kendi alanında kayar (yatay ve dikey çubuk hep görünür yerde), sütun genişlikleri sabit */
.tablo-kaydir { overflow: auto; max-height: calc(100vh - 372px); min-height: 260px; scrollbar-width: auto; scrollbar-color: #6F8AA3 #E6EDF3; }
.tablo-kaydir::-webkit-scrollbar { width: 14px; height: 14px; }
.tablo-kaydir::-webkit-scrollbar-track { background: #E6EDF3; }
.tablo-kaydir::-webkit-scrollbar-thumb { background: #6F8AA3; border-radius: 7px; border: 3px solid #E6EDF3; }
.tablo-kaydir::-webkit-scrollbar-thumb:hover { background: #4B6B88; }
table.ebelge { table-layout: fixed; width: 100%; min-width: 0; }
/* satır yüksekliği veriye göre uzamaz: her hücre en çok iki satır, fazlası "…" ile kesilir */
table.ebelge tr.satir td { height: 40px; }
table.ebelge .iki-satir { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; line-height: 1.25; max-height: 2.5em; }
table.ebelge .iki-satir small { color: var(--muted); }
table.ebelge td, table.ebelge th { padding-left: 8px; padding-right: 8px; }
table.ebelge td, table.ebelge th { overflow: hidden; text-overflow: ellipsis; }
table.ebelge td.kes { white-space: nowrap; }
table.ebelge th { white-space: nowrap; }
i.carisiz { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E8A33D; margin-right: 6px; vertical-align: middle; }

/* aramanın tuttuğu kalemler: belge satırının altında tek satır */
table.ebelge tr.eslesen td { height: auto; padding: 3px 8px 6px 60px; background: #FFF9E8 !important; border-bottom: 1px solid #F0E2B4; white-space: nowrap; font-size: 12px; color: #5B4A12; }
table.ebelge tr.eslesen span { display: inline-block; max-width: 46%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; margin-right: 18px; }
table.ebelge tr.eslesen span::before { content: "↳ "; color: #B8962E; }
table.ebelge tr.eslesen small { color: #8A7A45; }

/* e-dönüşüm analizi: yan yana iki sütun (gelen / giden tutar), tıklanabilir sayı hücreleri */
.sutun-grafik .govde.ikili { flex-direction: row; align-items: flex-end; gap: 1px; max-width: 30px; height: 100%; }
.sutun-grafik .govde.ikili i { width: 50%; border-radius: 3px 3px 0 0; }
.sutun-grafik .sutun.tikla { cursor: pointer; }
.arsiv-liste.kontrol td.hucre { cursor: pointer; }
.arsiv-liste.kontrol td.hucre:hover { background: #E3F2F9; text-decoration: underline; }
.arsiv-liste td.uyari { color: #B4332A; font-weight: 600; background: #FDF3F1; }
.arsiv-liste.kontrol tr:hover td { background: #F5F9FC; }

/* İK: personel fotoğrafı (listede küçük daire, kartta avatar), organizasyon ızgarası */
.kisi-foto { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #DCE8F1; color: var(--navy); font-size: 11px; font-weight: 700; flex: none; }
.kisi-foto img { width: 100%; height: 100%; object-fit: cover; }
table.personel-liste td { vertical-align: middle; }
table.personel-liste tr.pasif td { color: var(--muted); }
.kart-avatar.personel-foto { position: relative; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; font-size: 26px; }
.kart-avatar.personel-foto img { width: 100%; height: 100%; object-fit: cover; }
.kart-avatar.personel-foto { cursor: pointer; }
.kart-avatar .foto-degis { position: absolute; inset: auto 0 0 0; padding: 3px 0 5px; font-size: 10px; font-weight: 600; text-align: center; background: rgba(6, 47, 87, .72); color: #fff; }
.kart-avatar.personel-foto:hover .foto-degis { background: rgba(0, 151, 194, .9); }
.kart-avatar.personel-foto input { display: none; }
.org-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 16px; }
.org-grup { background: var(--surface); border: 1px solid #DCE4EC; border-top: 3px solid var(--turq); border-radius: var(--yuvar); box-shadow: var(--golge); padding: 10px 12px; display: grid; gap: 4px; align-content: start; }
.org-grup:nth-child(3n+2) { border-top-color: var(--navy2); }
.org-grup:nth-child(3n) { border-top-color: var(--read); }
.org-grup h4 { margin: 0 0 2px; font-size: 13.5px; color: var(--navy); display: flex; justify-content: space-between; }
.org-grup h4 span { font-size: 12px; color: var(--muted); font-weight: 500; }
.org-alt { color: var(--muted); font-size: 11.5px; margin-bottom: 4px; }
.org-kisi { display: flex; gap: 9px; align-items: center; padding: 4px 6px; border-radius: 8px; color: var(--text); text-decoration: none; }
.org-kisi:hover { background: #EEF6FA; }
.org-kisi b { display: block; font-size: 12.5px; color: #16314F; }
.org-kisi small { display: block; font-size: 11px; color: var(--muted); }
.org-kisi .kisi-foto { width: 34px; height: 34px; }
/* e-belge listesi: entegratöre / hesaba göre grup başlığı */
table.ebelge tr.grup-baslik td { background: #E7EEF4; border-bottom: 1px solid #C9D6E0; padding: 6px 10px; color: var(--navy); }
table.ebelge tr.grup-baslik td span { color: #5B7186; font-size: 11.5px; margin-left: 8px; }

/* liste hücresi en çok iki satır: uzun metin "…" ile kesilir, tamamı üstüne gelince görünür */
.iki-satir { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; line-height: 1.3; max-height: 2.6em; word-break: break-word; }
table.iki-satirli td { vertical-align: middle; }

/* Ortak liste (grid) kuralı (Can, 14.10.2026): her hücre en çok 2 satır, taşan "…" ile kesilir ve tamamı ipucunda (title) görünür;
   liste kendi alanında kayar, dikey kaydırma çubuğu hep görünür, başlık sabit kalır. Tarih, kod, tutar dar; ad ve açıklama geniş. */
.liste-kaydir, .tablo-kaydir { overflow-x: auto; overflow-y: scroll; scrollbar-width: auto; scrollbar-color: #6F8AA3 #E6EDF3; }
.liste-kaydir { max-height: calc(100vh - 250px); }
.liste-kaydir::-webkit-scrollbar { width: 14px; height: 14px; }
.liste-kaydir::-webkit-scrollbar-track { background: #E6EDF3; }
.liste-kaydir::-webkit-scrollbar-thumb { background: #6F8AA3; border-radius: 7px; border: 3px solid #E6EDF3; }
.liste-kaydir th, .tablo-kaydir th { position: sticky; top: 0; z-index: 2; }
/* hücre: düz metin tek satırda kesilir; ana metin sütunları (.iki-satir) iki satıra kadar açılır. Düzenlenen hücreler (input, select) dokunulmaz */
.card.tablo td:not(:has(input, select, textarea)), .liste-kaydir td:not(:has(input, select, textarea)) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; vertical-align: middle; }
.card.tablo td:has(.iki-satir), .liste-kaydir td:has(.iki-satir) { max-width: 380px; min-width: 160px; }
.card.tablo td .iki-satir, .liste-kaydir td .iki-satir { white-space: normal; }
.card.tablo td.sag, .liste-kaydir td.sag, .card.tablo td.nowrap { max-width: none; }

/* iş akışı: kural kartı ve kayıttaki geçmiş (adım adım onay zinciri) */
.kart-bolumler section.genis2 { grid-column: span 2; }
.kart-tablo.genis { width: 100%; grid-column: 1 / -1; }
.isakisi-talep { border: 1px solid var(--line); border-left: 4px solid var(--turq); border-radius: 7px; padding: 10px 12px; margin-bottom: 10px; background: #FAFCFD; }
.isakisi-bas { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.isakisi-bas b { color: var(--navy); }
.isakisi-bas span:not(.tag) { color: var(--muted); font-size: 12px; }
.isakisi-adimlar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: stretch; }
.isakisi-adimlar li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 10px; border: 1px solid #DCE4EC; border-radius: 8px; background: #fff; min-width: 190px; position: relative; }
.isakisi-adimlar li + li::before { content: "→"; position: absolute; left: -11px; top: 12px; color: var(--muted); font-size: 12px; }
.isakisi-adimlar li i { font-style: normal; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #E7EEF4; color: var(--navy); flex: none; }
.isakisi-adimlar li.r i { background: #DDF3EA; color: #0A7F5A; }
.isakisi-adimlar li.w i { background: #FBE4E1; color: #B4332A; }
.isakisi-adimlar li.bunda { border-color: var(--turq); box-shadow: 0 0 0 2px rgba(0, 151, 194, .15); }
.isakisi-adimlar li b { display: block; font-size: 12.5px; color: #16314F; }
.isakisi-adimlar li small { display: block; font-size: 11px; color: var(--muted); }
.isakisi-adimlar li em { display: block; font-style: normal; font-size: 11.5px; color: #8A5A00; background: #FBF3E0; border-radius: 4px; padding: 1px 6px; margin-top: 3px; }
.isakisi-alt { margin: 10px 0 6px; font-size: 12px; color: #36536F; text-transform: uppercase; letter-spacing: .06em; }

.isakisi-serit { margin: 0 0 10px; padding: 6px 12px; border: 1px solid #DCE4EC; border-radius: 7px; background: var(--surface); }
.isakisi-serit > summary { cursor: pointer; font-size: 12px; font-weight: 600; color: #36536F; }
.isakisi-serit[open] > summary { margin-bottom: 8px; }
.personel-dok-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 10px; }
.personel-dok-form > label:not(.btn) { display: grid; gap: 3px; font-size: 12px; color: var(--muted); min-width: 170px; }
.personel-dok-form > label.genis { flex: 1; min-width: 240px; }

/* fotoğraf yuvarlak kutuya tam oturur (kırpılarak doldurur, taşmaz) */
.kart-avatar.personel-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 50%; }
.kart-avatar.personel-foto .foto-degis { z-index: 1; }
.kisi-foto { position: relative; }
.kisi-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 50%; }
.user i { position: relative; overflow: hidden; }
.user i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: 50%; }

.vardiya-renk { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }

.eposta-onizleme { display: flex; flex-wrap: wrap; gap: 6px; }
.eposta-son { margin: 4px 0 0 18px; padding: 0; font-size: 13px; line-height: 1.7; }

.mesaj.uyari { background: #FFF4DB; border-color: #F2D28B; color: #8A5A00; }
.icra-kesinti-form { flex-wrap: wrap; align-items: flex-end; }
.icra-kesinti-form label { display: flex; flex-direction: column; font-size: 12px; gap: 2px; }
.icra-kesinti-form label.genis { flex: 1; min-width: 200px; }
.icra-liste td { vertical-align: top; }

/* bekleyen onay: mor; süresi aşılan kırmızı kenarlı (mor kalır) */
.olay.k-onay { background: #F3EAFB; color: #5B1F91; }
.olay.k-onay.gecikti { background: #F3EAFB; color: #5B1F91; border: 2px solid var(--warn); border-left: 4px solid var(--warn); }

/* Talep Merkezi */
.talep-kutular { margin-bottom: 10px; }
.talep-kutular .rozet { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: var(--line); font-size: 11px; font-weight: 700; text-align: center; }
.talep-kutular .rozet.uyari { background: #F2B437; color: #fff; }
.ozet-serit .uyar { border-left-color: #F2B437; }
.talep-tur-serit { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.talep-tur-cip { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 16px; font-size: 12.5px; border: 1px solid color-mix(in srgb, var(--k) 40%, #fff); background: color-mix(in srgb, var(--k) 8%, #fff); color: var(--text); }
.talep-tur-cip b { color: var(--k); }
.talep-tur-cip.on { background: var(--k); color: #fff; }
.talep-tur-cip.on b { color: #fff; }
.talep-ikon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 6px; background: color-mix(in srgb, var(--k) 14%, #fff); font-size: 13px; vertical-align: middle; }
.oncelik { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600; background: #EEF1F4; color: #55606E; }
.oncelik.o0 { background: #EEF1F4; color: #7A8794; }
.oncelik.o2 { background: #FFF4DB; color: #8A5A00; }
.oncelik.o3 { background: #FDE7E7; color: #B42318; }
tr.gecikmis td.gecikme { color: var(--warn); font-weight: 700; }
.talep-tur-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 6px 0 12px; }
.talep-tur-kutu { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 120px; border-radius: 12px; border: 1px solid #DCE4EC; border-top: 4px solid var(--k); background: linear-gradient(180deg, color-mix(in srgb, var(--k) 7%, #fff), #fff); box-shadow: var(--golge); transition: transform .12s, box-shadow .12s; }
.talep-tur-kutu:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11, 42, 74, .14); }
.talep-tur-kutu .ikon { font-size: 30px; line-height: 1; }
.talep-tur-kutu b { font-size: 15px; color: var(--navy); }
.talep-tur-kutu small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.talep-bant { border-left: 5px solid var(--k); }
.talep-avatar { font-size: 26px; background: color-mix(in srgb, var(--k) 14%, #fff) !important; }
.talep-karar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #F3EAFB; border: 1px solid #DCC6F2; }
.talep-karar label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.talep-mesaj { max-width: 72%; margin: 6px 0; padding: 8px 12px; border-radius: 10px; background: #F5F8FB; border: 1px solid var(--line); }
.talep-mesaj.benim { margin-left: auto; background: #E3F4F6; border-color: #C7EBF0; }
.talep-mesaj small { color: var(--muted); font-size: 11px; }
.talep-mesaj p { margin: 2px 0 0; white-space: pre-wrap; }

/* Onay Merkezi: üstte renkli kutular ve küçük grafikler, solda gruplu liste, sağda önizleme ve karar tuşları */
.om-sekmeler { margin: 0 0 10px; border-radius: 8px; border: 1px solid var(--line); }
.om-sekmeler a { padding: 10px 14px; color: var(--muted); }
.om-sekmeler a:hover { color: var(--navy); text-decoration: none; background: #EDF3F7; }
.om-sekmeler .rozet { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: var(--line); font-size: 11px; font-weight: 700; text-align: center; }
.om-sekmeler .rozet.uyari { background: #F2B437; color: #fff; }
.om-kpi { display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)) minmax(200px, 1.6fr) minmax(200px, 1.6fr); gap: 10px; margin-bottom: 10px; }
.om-kutu { border-radius: 10px; padding: 10px 12px; color: #fff; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(6,47,87,.15); transition: transform .12s, box-shadow .12s; border: 2px solid transparent; }
.om-kutu:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(6,47,87,.22); text-decoration: none; color: #fff; }
.om-kutu.secili { border-color: #fff; outline: 3px solid var(--turq); }
.om-kutu small { font-size: 11px; opacity: .9; text-transform: uppercase; letter-spacing: .04em; }
.om-kutu b { font-size: 26px; line-height: 1.15; }
.om-kutu span { font-size: 11px; opacity: .85; }
.om-kutu.k1 { background: linear-gradient(135deg, #062F57, #0B4F8A); }
.om-kutu.k2 { background: linear-gradient(135deg, #B42318, #E0573F); }
.om-kutu.k3 { background: linear-gradient(135deg, #0097C2, #2BC0E4); }
.om-kutu.k4 { background: linear-gradient(135deg, #6B3FA0, #9466CC); }
.om-kutu.k5 { background: linear-gradient(135deg, #0A7F5A, #22B07D); }
.om-kutu.k6 { background: linear-gradient(135deg, #8A5A00, #D18B12); }
.om-grafik { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.om-grafik small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.om-cubuk { display: grid; grid-template-columns: 96px 1fr 50px; align-items: center; gap: 6px; font-size: 11.5px; cursor: pointer; border-radius: 4px; }
.om-cubuk:hover, .om-cubuk.on { background: var(--hover); }
.om-cubuk span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-cubuk i { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, #0097C2, #062F57); min-width: 4px; }
.om-cubuk.sure { cursor: default; }
.om-cubuk.sure i { background: linear-gradient(90deg, #22B07D, #D18B12); }
.om-cubuk b { text-align: right; font-weight: 600; white-space: nowrap; }
.om-suzgec { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
.om-suzgec .ara { flex: 1; min-width: 220px; }
.om-suzgec .tarih { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.om-govde { display: grid; grid-template-columns: minmax(300px, 390px) 1fr; gap: 12px; align-items: start; }
.om-liste { padding: 0 !important; max-height: calc(100vh - 300px); min-height: 300px; overflow: auto; }
.om-toplu { position: sticky; top: 0; z-index: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 10px; background: #E6F6FB; border-bottom: 1px solid #B9E3F1; }
.om-grup-bas { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: linear-gradient(90deg, #062F57, #0B4F8A); color: #fff; cursor: pointer; user-select: none; }
.om-grup-bas .ok { width: 10px; font-size: 11px; }
.om-grup-bas .rozet { background: rgba(255,255,255,.2); border-radius: 9px; padding: 0 7px; font-size: 11px; font-weight: 700; }
.om-grup-bas .tutar { margin-left: auto; font-size: 11px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-kart { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; cursor: pointer; transition: background .1s; }
.om-kart:hover { background: var(--hover); }
.om-kart.gecikmis { border-left-color: #E0573F; }
.om-kart.secili { background: #E1F3FA; border-left-color: var(--turq); }
.om-kart .ikon { font-size: 18px; line-height: 1.2; }
.om-kart .ic { flex: 1; min-width: 0; }
.om-kart .ust, .om-kart .alt { display: flex; gap: 6px; justify-content: space-between; align-items: center; }
.om-kart .ust b { color: var(--navy); }
.om-kart .ust .tutar { font-weight: 600; white-space: nowrap; }
.om-kart .alt { color: var(--muted); font-size: 11.5px; }
.om-kart .alt span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-kart .adim { margin-left: auto; white-space: nowrap; background: #EAF0F5; border-radius: 8px; padding: 0 6px; }
.om-kart.gecikmis .alt:last-child span:first-child { color: #B42318; }
.om-onizleme { padding: 0 !important; overflow: hidden; min-height: 400px; }
.om-onizleme > .note.bos { padding: 40px; text-align: center; }
.om-on-bas { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: linear-gradient(120deg, #062F57 0%, #0B4F8A 60%, #0097C2 100%); color: #fff; }
.om-on-bas > .ikon { font-size: 30px; }
.om-on-bas small { opacity: .85; }
.om-on-bas h2 { margin: 2px 0 6px; font-size: 18px; color: #fff; }
.om-on-bas h2 span { font-weight: 400; opacity: .9; margin-left: 6px; font-size: 15px; }
.om-tutar { margin-left: auto; font-size: 22px; font-weight: 700; white-space: nowrap; }
.om-karar { padding: 12px 16px; border-bottom: 1px solid var(--line); background: #F7FAFC; }
.om-karar textarea { width: 100%; resize: vertical; margin-bottom: 8px; }
.om-tuslar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.om-tuslar .btn { padding: 8px 14px; font-size: 13px; }
.om-tuslar .om-onay { background: #0A7F5A; border-color: #0A7F5A; color: #fff; font-weight: 600; padding: 8px 22px; font-size: 14px; }
.om-tuslar .om-onay:hover { background: #086B4C; }
.om-tuslar .om-ret { background: #B42318; border-color: #B42318; color: #fff; font-weight: 600; padding: 8px 20px; font-size: 14px; }
.om-tuslar .om-ret:hover { background: #962018; }
.om-yonlendir { display: inline-flex; gap: 4px; }
.om-zincir { display: flex; gap: 0; padding: 12px 16px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.om-adim { display: flex; gap: 8px; align-items: center; min-width: 170px; padding: 6px 10px; position: relative; }
.om-adim + .om-adim::before { content: ""; position: absolute; left: -14px; top: 50%; width: 24px; height: 2px; background: var(--line); }
.om-adim i { font-style: normal; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--z); color: var(--y); border: 2px solid var(--c); }
.om-adim div { display: flex; flex-direction: column; min-width: 0; }
.om-adim span { font-size: 11px; color: var(--muted); }
.om-adim.sirada { background: #E1F3FA; border-radius: 8px; }
.om-belge { border-bottom: 1px solid var(--line); }
.om-belge-bas { display: flex; justify-content: space-between; padding: 8px 16px; background: #F7FAFC; }
.om-belge iframe { width: 100%; height: 560px; border: 0; display: block; background: #fff; }
.om-alanlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; padding: 12px 16px; }
.om-alanlar div { display: flex; flex-direction: column; }
.om-alanlar small { color: var(--muted); font-size: 11px; }
.om-onizleme .pano-baslik { padding: 0 16px; }
.om-onizleme .tablo-kaydir { margin: 0 16px 12px; }
.om-onizleme > p, .om-onizleme > .note { padding: 0 16px; }
tr.okunmamis td { font-weight: 600; }
@media (max-width: 1300px) { .om-kpi { grid-template-columns: repeat(3, 1fr); } .om-grafik { grid-column: span 3; } }
@media (max-width: 900px) { .om-govde { grid-template-columns: 1fr; } .om-liste { max-height: 50vh; } }

/* Ekran kişiselleştirme (gorunum.js): liste, kart, pano görünümü */
tr[data-gvx], tr[data-gvp], [data-gvgizli] { display: none !important; }
table[data-gvesnek] tr[data-gvbas] { order: -2147483647; position: sticky; top: 0; z-index: 2; background: #F2F6F9; }
table[data-gvesnek] tr[data-gvg]::before { content: attr(data-gvg); order: -1; flex: 0 0 100%; padding: 6px 10px; background: linear-gradient(90deg, #E1F3FA, #F4F9FC); color: var(--navy); font-weight: 600; border-top: 1px solid #B9E3F1; }
table[data-gv] th[draggable] { cursor: grab; }
table[data-gv] th.gv-kenar { cursor: col-resize; }
table[data-gv] th.gv-hedef { box-shadow: inset 3px 0 0 var(--turq); background: #E1F3FA; }
.gv-goreli { position: relative; }
.gv-disli { all: unset; box-sizing: border-box; cursor: pointer; font-size: 12px; color: var(--muted); padding: 4px 9px; border-radius: 5px; white-space: nowrap; }
.gv-disli:hover { background: var(--hover); color: var(--navy); }
.grid-arac > .gv-disli { margin-left: 4px; }
.gv-disli.ust { position: absolute; top: 2px; right: 4px; z-index: 4; background: rgba(255,255,255,.85); padding: 2px 7px; opacity: .55; }
.gv-goreli:hover > .gv-disli.ust, .gv-disli.ust:hover { opacity: 1; }
.rapor-grid-arac > .gv-disli { border: 1px solid var(--line); color: var(--navy); background: var(--surface); padding: 5px 10px; }
.rapor-grid-arac > .note { flex: 1; min-width: 200px; }
table.sik tr.secili > td { background: var(--secili, #E6F0FA) !important; }
.gv-sekme-disli { all: unset; box-sizing: border-box; cursor: pointer; margin-left: auto; order: 99999; padding: 8px 10px; color: var(--muted); opacity: .6; }
.gv-sekme-disli:hover { opacity: 1; color: var(--navy); }
.gv-ekran-dugme { all: unset; cursor: pointer; font-size: 13px; color: var(--muted); margin-left: 8px; padding: 2px 6px; border-radius: 5px; vertical-align: middle; font-weight: 400; }
.gv-ekran-dugme:hover { background: var(--hover); color: var(--navy); }
.gv-sayfa { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding: 6px 8px; font-size: 12px; color: var(--muted); position: sticky; left: 0; }
main .card h3[data-gvb], main .pano-kart h3[data-gvb] { cursor: pointer; user-select: none; }
main .card h3[data-gvb]::before, main .pano-kart h3[data-gvb]::before { content: "▾"; display: inline-block; width: 14px; color: var(--muted); font-size: 11px; }
main .card h3[data-gvkapali]::before, main .pano-kart h3[data-gvkapali]::before { content: "▸"; }
.gv-panel { position: fixed; top: 56px; right: 12px; bottom: 12px; width: 460px; max-width: calc(100vw - 24px); z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px rgba(6,47,87,.28); display: flex; flex-direction: column; }
.gv-panel-ust { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: linear-gradient(90deg, #062F57, #0B4F8A); color: #fff; border-radius: 10px 10px 0 0; }
.gv-panel-ust .btn { background: rgba(255,255,255,.15); color: #fff; border: 0; }
.gv-panel-govde { overflow: auto; padding: 4px 14px 14px; }
.gv-bolum { border-bottom: 1px solid var(--line); padding: 10px 0; }
.gv-bolum h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.gv-bolum select { max-width: 100%; }
.gv-araclar { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.gv-satir { display: grid; grid-template-columns: 120px 1fr; gap: 8px; align-items: center; margin: 4px 0; font-size: 12.5px; }
.gv-sutunlar { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.gv-sutunlar td { padding: 3px 4px; border-bottom: 1px solid #EEF2F6; }
.gv-sutunlar .btn { padding: 1px 6px; }
.gv-sutunlar input.gv-gen { width: 64px; }
.gv-sutunlar input.gv-suz { width: 100px; }
.gv-alt { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; border-bottom: 0; }
.gv-alt > .gv-bolum { flex-basis: 100%; }
.gv-menu { position: fixed; z-index: 70; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(6,47,87,.22); padding: 4px; display: flex; flex-direction: column; min-width: 220px; }
.gv-menu .btn { border: 0; background: none; text-align: left; justify-content: flex-start; padding: 7px 10px; }
.gv-menu .btn:hover { background: var(--hover); }
.gv-mini { position: fixed; z-index: 75; left: 50%; top: 30%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px rgba(6,47,87,.3); padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 320px; }
.gv-ileti { position: fixed; z-index: 80; bottom: 18px; left: 50%; transform: translateX(-50%); background: #062F57; color: #fff; padding: 9px 16px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.gv-ileti.hata { background: #B42318; }
.gv-pano-arac { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; z-index: 5; }
.gv-pano-arac .btn { padding: 1px 6px; font-size: 11px; background: rgba(255,255,255,.95); color: var(--navy); }
.ozet-serit > div, .om-kpi > *, .pano > section.pano-kart { position: relative; }
h3[data-gvkapali] + * { display: none !important; }

/* grafik türü seçimi (pasta / çubuk; kullanıcı ve ekran başına hatırlanır) */
.grafik-tur-kap { position: relative; }
.grafik-tur { all: unset; position: absolute; top: -30px; right: 0; cursor: pointer; font-size: 14px; color: var(--muted); padding: 1px 6px; border-radius: 5px; opacity: .55; z-index: 2; }
.grafik-tur:hover { opacity: 1; background: var(--hover); color: var(--navy); }
.pasta-cubuk { display: grid; gap: 4px; }
.pasta-cubuk > div { display: grid; grid-template-columns: minmax(80px, 34%) 1fr auto 44px; gap: 8px; align-items: center; font-size: 12px; padding: 2px 4px; border-radius: 6px; }
.pasta-cubuk > div:hover { background: #F1F5F9; }
.pasta-cubuk > div.tikla { cursor: pointer; }
.pasta-cubuk span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pasta-cubuk .cubuk { height: 12px; background: #EEF2F6; border-radius: 6px; overflow: hidden; }
.pasta-cubuk .cubuk i { display: block; height: 100%; border-radius: 6px; min-width: 3px; }
.pasta-cubuk em { color: var(--muted); font-style: normal; text-align: right; }
.pasta-cubuk b { text-align: right; font-variant-numeric: tabular-nums; }
.pasta-cubuk .toplam { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; grid-template-columns: 1fr auto; }
.pano-kart > h3 { position: relative; }
.kart-bolumler > section > h3[data-gvkapali] ~ *, .pano-kart > h3[data-gvkapali] ~ * { display: none !important; }

/* Satınalma */
.sa-akis { display: flex; gap: 0; margin: 0 0 12px; }
.sa-akis a { flex: 1; text-align: center; padding: 9px 6px 8px; background: #EAF0F5; color: var(--muted); font-size: 12px; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%); display: flex; flex-direction: column; align-items: center; }
.sa-akis a b { font-size: 18px; color: var(--navy); line-height: 1.1; }
.sa-akis a:hover { background: #DCEBF4; text-decoration: none; }
.sa-akis a.var { background: #E1F3FA; color: #0B6E8E; font-weight: 600; }
.sa-akis a.var b { color: #0B6E8E; }
.sa-akis a.gec { background: #FDE7E7; color: #B42318; font-weight: 600; }
.sa-kpi { grid-template-columns: repeat(6, minmax(120px, 1fr)); }
.sa-izgara { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; align-items: start; margin-bottom: 12px; }
.pano-dikey { display: grid; gap: 12px; }
.pano-dikey .pano-kart { margin: 0; }
.sa-bant { background: linear-gradient(120deg, #062F57 0%, #0B4F8A 60%, #0097C2 100%) !important; color: #fff; }
.sa-bant .kart-kimlik small, .sa-bant .kart-kimlik h2 { color: #fff; }
.sa-bant .kart-geri { color: #fff; }
.sa-bant .kart-avatar { background: rgba(255,255,255,.16); font-size: 26px; }
.sa-tutar { margin-left: auto; text-align: right; color: #fff; }
.sa-tutar b { display: block; font-size: 22px; }
.sa-tutar small { opacity: .85; font-size: 11.5px; }
.sa-eylem { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }
.sa-arama { position: relative; flex: 1; min-width: 260px; max-width: 520px; }
.sa-arama > input { width: 100%; }
.sa-sonuc { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(6,47,87,.2); max-height: 340px; overflow: auto; padding: 4px; }
.sa-sonuc button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.sa-sonuc button:hover { background: var(--hover); }
.sa-sonuc button small { display: block; color: var(--muted); font-size: 11.5px; }
.sa-sonuc .note { display: block; padding: 6px 8px; }
.sa-kalem-ekle { margin: 4px 0 8px; }
.sa-kalemler input { padding: 3px 6px; }
.sa-kalemler tr.toplam td, .sa-kars tr.toplam td { background: #F2F6F9; border-top: 2px solid var(--line); }
.sa-islem { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin-top: 10px; background: #F7FAFC; border: 1px solid var(--line); border-radius: 8px; }
.sa-islem .ayrac { width: 1px; height: 24px; background: var(--line); }
.sa-islem .sa-arama { min-width: 240px; max-width: 320px; }
.sa-satir { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sa-tedarikciler { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.sa-tedarikci { border: 1px solid var(--line); border-left: 4px solid #F2B437; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.sa-tedarikci.geldi { border-left-color: #0A7F5A; }
.sa-tedarikci.vermedi { border-left-color: #9AA7B4; opacity: .75; }
.sa-tedarikci .ust { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.sa-tedarikci small { color: var(--muted); }
.sa-tedarikci .ozet { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); align-items: baseline; }
.sa-tedarikci .ozet b { margin-left: auto; color: var(--navy); font-size: 14px; }
.sa-tedarikci .btns { margin: 4px 0 0; }
.sa-giris { border: 2px solid var(--turq); margin-top: 8px; }
.sa-kars th { vertical-align: bottom; }
.sa-kars td.sa-eniyi { background: #E3F5EE; }
.sa-kars td.sa-eniyi b { color: #0A7F5A; }
.sa-kars td.sa-secili { box-shadow: inset 0 0 0 2px var(--turq); }
.sa-kars td small { display: block; color: var(--muted); font-size: 11px; }
.sa-hucre { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; margin: 0; }
.sa-hucre input { margin: 0; }
@media (max-width: 1100px) { .sa-izgara { grid-template-columns: 1fr; } .sa-kpi { grid-template-columns: repeat(3, 1fr); } .sa-akis { flex-wrap: wrap; } }

.sa-logo { border: 2px solid var(--turq); margin: 8px 0; }
.sa-logo-bas { display: flex; justify-content: space-between; align-items: center; }
.sa-logo .om-alanlar { padding: 6px 0 10px; }

.puan-rozet { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 2px; border-radius: 10px; font-size: 11.5px; font-weight: 600; color: var(--k); background: color-mix(in srgb, var(--k) 12%, white); border: 1px solid color-mix(in srgb, var(--k) 35%, white); vertical-align: middle; white-space: nowrap; }
.puan-rozet b { background: var(--k); color: #fff; border-radius: 8px; padding: 0 6px; font-size: 11px; }
.puan-rozet.bos { color: var(--muted); background: #F2F5F8; border-color: var(--line); padding: 1px 8px; font-weight: 400; }
.sa-bant .puan-rozet { background: #fff; }

.kutular.yatay { display: flex; flex-wrap: wrap; gap: 6px 18px; }
tr.yaklasiyor td { background: #FFF8EC; }
td.yaklasiyor { color: #B25B00; font-weight: 600; }

/* proje tedarik takibi */
.renk-nokta { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #9AA7B4; }
.renk-nokta.r1 { background: #D18B12; } .renk-nokta.r2 { background: #B42318; } .renk-nokta.r3 { background: #0A7F5A; }
tr.tamam td { background: #F2FBF7; }
.tedarik-adim { display: flex; gap: 3px; }
.tedarik-adim i { flex: 1; height: 7px; border-radius: 4px; background: #E3E9EF; }
.tedarik-adim i.on { background: linear-gradient(90deg, #0097C2, #0A7F5A); }
.sa-akis a.secili { outline: 2px solid var(--turq); outline-offset: -2px; }

/* tutar birimi seçici (işlem dövizi / TL / USD) */
.para-secici { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--surface); vertical-align: middle; }
.para-secici button { all: unset; cursor: pointer; padding: 5px 10px; font-size: 12px; color: var(--muted); border-right: 1px solid var(--line); }
.para-secici button:last-child { border-right: 0; }
.para-secici button.on { background: var(--navy); color: #fff; font-weight: 600; }

/* Finans › Cari Hesaplar ve cari kartı Finans sekmesi */
.finans-paneli .alt-sekme { margin-bottom: 10px; flex-wrap: wrap; }
.finans-paneli .kart-kpi { margin: 0 0 12px; }
.finans-paneli .arac { margin: 0 0 8px; }
h3.alt-baslik { font-size: 13px; margin: 14px 0 6px; color: var(--navy); }
td.arti-yazi { color: #1F6F43; }

/* teklif satırında fiyat kaynağı rozeti */
.belge-grid td .fiyat-kaynagi { display: block; margin-top: 2px; font-size: 10px; padding: 0 5px; width: fit-content; margin-left: auto; }

/* fiyat görmeyen kullanıcı: tutar sütunları ve toplamlar gösterilmez (veri sunucuda zaten boşaltılır) */
.fiyatsiz .para, .fiyatsiz .para-secici { display: none !important; }
.fiyatsiz .belge-toplam, .fiyatsiz .sa-tutar, .fiyatsiz .grid-bolum-bas em, .fiyatsiz .belge-bolumler em, .fiyatsiz .fiyat-kaynagi { display: none !important; }

/* İş Durumu: kanban ve zaman çizelgesi */
.kanban { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; }
.kanban-sutun { flex: 1 0 220px; max-width: 300px; background: #EEF3F7; border-radius: var(--yuvar); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.kanban-bas { display: flex; align-items: baseline; gap: 6px; border-top: 3px solid var(--k); padding: 6px 2px 2px; flex-wrap: wrap; }
.kanban-bas span { background: var(--surface); border-radius: 9px; padding: 0 7px; font-size: 11px; color: var(--muted); }
.kanban-bas small { margin-left: auto; color: var(--muted); font-size: 11px; }
.is-kart { display: block; background: var(--surface); border-radius: 8px; padding: 8px 10px; box-shadow: var(--golge); color: var(--text); border-left: 3px solid transparent; }
.is-kart:hover { text-decoration: none; box-shadow: var(--golge-buyuk); }
.is-kart.gecikti { border-left-color: var(--warn); }
.is-kart-ust { display: flex; justify-content: space-between; gap: 6px; }
.is-kart-ust small, .is-kart-kisi { color: var(--muted); font-size: 11px; }
.is-kart-cari { font-weight: 600; margin-top: 2px; }
.is-kart-konu { color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.is-kart-alt { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11px; margin-top: 6px; color: var(--muted); }
.is-kart-alt .eksi { color: var(--warn); font-weight: 600; }
.is-kart-alt .uyar { color: var(--write); font-weight: 600; }
.ilerleme { position: relative; height: 6px; background: var(--line); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.ilerleme i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--p3); }
.ilerleme i.sevk { background: var(--p1); height: 3px; top: auto; }
.gantt { padding: 0; overflow-x: auto; }
.gantt-bas, .gantt-satir { display: flex; min-width: 820px; border-bottom: 1px solid var(--line); }
.gantt-bas { background: var(--grid-bas); color: var(--grid-bas-yazi); font-weight: 600; height: 28px; }
.gantt-ad { flex: 0 0 230px; padding: 5px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-right: 1px solid var(--line); color: var(--text); }
.gantt-ad span { color: var(--muted); font-size: 12px; }
.gantt-zaman { position: relative; flex: 1; min-height: 28px; }
.gantt-bas .gantt-zaman span { position: absolute; top: 0; bottom: 0; padding: 6px; border-left: 1px solid rgba(11, 61, 110, .2); font-size: 12px; overflow: hidden; white-space: nowrap; }
.gantt-satir:nth-child(odd) { background: var(--zebra); }
.gantt-bugun { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--warn); opacity: .6; z-index: 1; }
.gantt-cubuk { position: absolute; top: 5px; height: 18px; border-radius: 4px; background: color-mix(in srgb, var(--k) 28%, white); border: 1px solid var(--k); overflow: hidden; }
.gantt-cubuk.gecikti { border-color: var(--warn); border-width: 2px; }
.gantt-cubuk i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--k); opacity: .55; }
.gantt-cubuk span { position: relative; font-size: 11px; padding: 0 5px; white-space: nowrap; line-height: 16px; }
.gantt-nokta { position: absolute; top: 9px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--navy2); border: 2px solid #fff; z-index: 2; }
.gantt-nokta.gecikti { background: var(--warn); }
tr.gecikti td:first-child { box-shadow: inset 3px 0 var(--warn); }
@media (max-width: 700px) { .kanban-sutun { flex-basis: 78vw; } .gantt-ad { flex-basis: 140px; } }

/* hızlı seçim çipleri (filtre, tarih, son malzemeler) */
.cipler { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cipler.kucuk { margin-top: 4px; }
.cip { font: inherit; font-size: 11.5px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--navy); cursor: pointer; white-space: nowrap; }
.cip:hover { background: var(--hover); }
.cip.on { background: var(--turq); border-color: var(--turq); color: #fff; }
.cip b { margin-left: 4px; font-weight: 700; }
.cip.on b { color: #fff; }
.cip.eksi:not(.on) b { color: var(--warn); }
.cipler-satir { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
/* satınalma talebi: zaman çizgisi */
.sa-zaman { list-style: none; display: flex; margin: 0; padding: 10px 14px 12px; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: #FAFCFD; }
.sa-zaman li { flex: 1; min-width: 120px; position: relative; padding: 18px 8px 0 0; display: grid; gap: 1px; }
.sa-zaman li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 3px; background: #DCE4EC; }
.sa-zaman li:first-child::before { left: 6px; }
.sa-zaman li:last-child::before { right: calc(100% - 8px); }
.sa-zaman li i { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid #C3CFDA; box-sizing: border-box; }
.sa-zaman li b { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sa-zaman li small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.sa-zaman li.tamam::before { background: var(--read); }
.sa-zaman li.tamam i { background: var(--read); border-color: var(--read); }
.sa-zaman li.tamam b { color: var(--read); }
.sa-zaman li.simdi i { border-color: var(--turq); box-shadow: 0 0 0 4px rgba(0,151,194,.18); }
.sa-zaman li.simdi b { color: var(--turq); }
.sa-zaman li.atlandi i { border-style: dashed; }
.sa-zaman li.ret i { background: var(--warn); border-color: var(--warn); }
.sa-zaman li.ret b { color: var(--warn); }
.sa-yapistir { display: grid; gap: 6px; margin: 0 0 10px; }
.sa-yapistir textarea { width: 100%; font: 12px Consolas, monospace; }
.sa-yapistir .btns { align-items: center; }
.sa-kopya { margin: 10px 0 0; }
.sa-kopya label { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.sa-kopya select { max-width: 520px; }
.sa-kalemler tr.uyar td { background: #FFF6E6 !important; }
.sa-kalemler tr.yeni td { background: #FBFDFE; }
.sa-kalem-ekle .cipler { max-width: 100%; }
.sa-islem.yapiskan { position: sticky; bottom: 0; z-index: 4; box-shadow: 0 -6px 18px rgba(6,47,87,.12); background: #F2F8FB; }
/* satınalma talebi: tedarikçi önerisi hücresi ve arama penceresi */
.sa-oneri { min-width: 170px; white-space: normal; }
.sa-oneri .tag { margin: 1px 2px 1px 0; display: inline-flex; align-items: center; gap: 3px; }
.sa-oneri .tag-sil { all: unset; cursor: pointer; font-weight: 700; padding: 0 2px; opacity: .6; }
.sa-oneri .tag-sil:hover { opacity: 1; color: var(--warn); }
.sa-pb { width: 58px; margin-left: 2px; height: 24px; font-size: 12px; }
.sa-oneri-sonuc { display: grid; gap: 2px; margin: 8px 0; max-height: 320px; overflow: auto; }
.sa-oneri-sonuc button { all: unset; box-sizing: border-box; display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.sa-oneri-sonuc button:hover { background: var(--hover); }
.sa-oneri-sonuc button small { color: var(--muted); flex: 1; }
.sa-oneri-sonuc button.serbest { color: var(--write); border: 1px dashed #F0C9A0; }
.doksis-qr { display: flex; gap: 10px; align-items: center; border: 1px dashed var(--line); border-radius: 6px; padding: 6px; }

/* kullanıcı kartı: yetki grubu seçimi (kart gibi, belirgin) */
.grup-secim { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-bottom: 14px; }
.grup-kutu { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; cursor: pointer; background: #fff; }
.grup-kutu:hover { background: var(--hover); }
.grup-kutu.secili { border-color: var(--turq); background: #EAF6FB; box-shadow: inset 3px 0 0 var(--turq); }
.grup-kutu.pasif { opacity: .6; }
.grup-kutu input { margin-top: 3px; }
.grup-kutu b { font-size: 13px; margin-right: 6px; }
.grup-kutu small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; line-height: 1.3; }

/* İş Durumu Panosu (yeniden): sayaçlı sekmeler, renkli KPI şeridi, zengin iş kartları, departman zinciri, çizgi grafik */
.is-sekmeler { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.is-sekmeler button { font: inherit; display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 10px; border: 1px solid #DCE4EC; background: var(--surface); cursor: pointer; color: var(--text); box-shadow: var(--golge); border-bottom: 3px solid transparent; }
.is-sekmeler button b { background: color-mix(in srgb, var(--k) 14%, #fff); color: var(--k); border-radius: 12px; padding: 1px 10px; font-size: 13px; }
.is-sekmeler button.on { border-bottom-color: var(--k); background: color-mix(in srgb, var(--k) 6%, #fff); font-weight: 600; }
.ozet-serit.renkli > div { border-left-width: 5px; }
.ozet-serit.kompakt.renkli > div, .ozet-serit.kompakt.renkli > a { border-left-width: 3px; }
.ozet-serit.renkli > .k1 { border-left-color: #0097C2; } .ozet-serit.renkli > .k2 { border-left-color: #062F57; } .ozet-serit.renkli > .k3 { border-left-color: #2BAE66; }
.ozet-serit.renkli > .k4 { border-left-color: #F5A54A; } .ozet-serit.renkli > .k5 { border-left-color: #8E5CC9; } .ozet-serit.renkli > .k6 { border-left-color: #C62828; }
.ozet-serit.renkli > .k8 { border-left-color: #E2574C; }
.ozet-serit.renkli > .k6 b, .ozet-serit.renkli > .k8 b { color: #C62828; } .ozet-serit.renkli > .k3 b { color: #0A7F5A; }
.is-grafikler { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.cizgi-grafik svg { width: 100%; height: 150px; display: block; }
.is-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.zk { display: grid; gap: 6px; background: var(--surface); border-radius: 10px; padding: 12px 14px; box-shadow: var(--golge); border: 1px solid #DCE4EC; border-top: 4px solid #0097C2; color: var(--text); cursor: pointer; text-decoration: none; }
.zk:hover { border-color: #0097C2; text-decoration: none; transform: translateY(-1px); }
.zk.gecikti { border-top-color: #C62828; } .zk.bitti { border-top-color: #2BAE66; }
.zk.dar { padding: 9px 10px; }
.zk-ust { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.zk-ust b { color: var(--navy); font-size: 14.5px; }
.zk-asama { background: color-mix(in srgb, var(--k) 16%, #fff) !important; color: color-mix(in srgb, var(--k) 75%, #000) !important; font-weight: 600; }
.zk-cari { color: #0077A0; font-weight: 600; font-size: 13px; }
.zk-konu { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zk-ilerleme { position: relative; height: 16px; border-radius: 8px; background: #E4EAF0; overflow: hidden; }
.zk-ilerleme i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #0097C2, #2BAE66); border-radius: 8px; }
.zk.gecikti .zk-ilerleme i { background: linear-gradient(90deg, #F5A54A, #C62828); }
.zk-ilerleme span { position: relative; display: block; text-align: center; font-size: 10.5px; line-height: 16px; font-weight: 600; color: var(--navy); }
.zk-alt { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; }
.zk-alt .eksi { color: #C62828; font-weight: 600; } .zk-alt .uyar { color: #B25B00; font-weight: 600; } .zk-alt .arti { color: #0A7F5A; font-weight: 600; }
.zk-tutar { margin-left: auto; color: var(--navy); font-weight: 700; }
.zk-kisi { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.zk-kisi i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.zk-zincir { display: flex; align-items: center; gap: 0; }
.zk-zincir > i { flex: 1; height: 4px; background: #E4EAF0; position: relative; }
.zk-zincir > i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #C3CFDA; box-sizing: border-box; }
.zk-zincir > i.gecti { background: #2BAE66; } .zk-zincir > i.gecti::after { background: #2BAE66; border-color: #2BAE66; }
.zk-zincir > i.simdi::after { border-color: #0097C2; background: #0097C2; box-shadow: 0 0 0 3px rgba(0,151,194,.25); }
.zk-zincir > i.simdi.gecikti::after { border-color: #C62828; background: #C62828; box-shadow: 0 0 0 3px rgba(198,40,40,.2); }
.zk-zincir.buyuk { gap: 4px; margin: 6px 0 14px; flex-wrap: wrap; }
.zk-zincir.buyuk > div { flex: 1; min-width: 90px; display: grid; gap: 6px; justify-items: center; font-size: 12px; color: var(--muted); }
.zk-zincir.buyuk > div > i { width: 100%; height: 8px; border-radius: 4px; background: #E4EAF0; }
.zk-zincir.buyuk > div.gecti > i { background: #2BAE66; } .zk-zincir.buyuk > div.gecti { color: #0A7F5A; }
.zk-zincir.buyuk > div.simdi > i { background: #0097C2; } .zk-zincir.buyuk > div.simdi { color: #0077A0; font-weight: 700; }
.zk-zincir.buyuk > div.simdi.gecikti > i { background: #C62828; } .zk-zincir.buyuk > div.simdi.gecikti { color: #C62828; }
table.zebra tr.satir:nth-child(even) td { background: #F8FAFC; }
button.kart-geri { cursor: pointer; font-family: inherit; }

/* İş dosyaları (Finans) */
.ozet-serit.renkli > .k7 { border-left-color: #0A7F5A; }
.tag.y { background: #FFF4DB; color: #8A5A00; }
.sekmeler .sayac { display: inline-block; margin-left: 5px; min-width: 16px; padding: 0 4px; border-radius: 8px; font-size: 11px; line-height: 16px; text-align: center; color: #fff; background: #C62828; }
.sekmeler button.pasif { opacity: .55; }
.arac label.onay { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
td.kes { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yuzde-cubuk { position: relative; height: 16px; min-width: 70px; border-radius: 8px; background: #E4EAF0; overflow: hidden; }
.yuzde-cubuk i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #0097C2, #2BAE66); border-radius: 8px; }
.yuzde-cubuk span { position: relative; display: block; text-align: center; font-size: 11px; line-height: 16px; font-weight: 600; color: var(--navy); }
.zk-ilerleme span { position: relative; display: block; text-align: center; font-size: 11px; line-height: 16px; font-weight: 600; color: var(--navy); }
.dos-basliklar { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dos-baslik { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid #DCE4EC; border-top: 4px solid #0097C2; border-radius: 10px; padding: 12px 14px; box-shadow: var(--golge); cursor: pointer; }
.dos-baslik:hover { border-color: #0097C2; }
.dos-baslik.fason { border-top-color: #8E5CC9; } .dos-baslik.gider { border-top-color: #F5A54A; } .dos-baslik.pasif { opacity: .6; }
.dos-baslik.ekle { cursor: default; border-style: dashed; border-top-width: 1px; box-shadow: none; align-content: center; justify-items: start; }
.dos-rakam { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dos-rakam small { display: block; color: var(--muted); font-size: 11px; }
.dos-rakam b { font-size: 13px; color: var(--navy); font-variant-numeric: tabular-nums; }
.dos-panel { margin: 12px 16px; padding: 12px 16px; border: 1px solid #B9DDEA; border-left: 5px solid #0097C2; border-radius: 10px; background: #F4FAFD; }
.dos-panel.hareket { border-left-color: #2BAE66; background: #F3FBF6; border-color: #BFE5CF; }
.dos-panel h3 { margin: 0 0 8px; color: var(--navy); font-size: 15px; } .dos-panel h3 small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.dos-baslik-ust { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; justify-content: space-between; }
.dos-baslik-ust h3 { margin: 0 0 4px; color: var(--navy); }
.dos-fatura-ozet { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 10px; }
.dos-fatura-ozet > div { display: grid; gap: 2px; padding: 8px 12px; border-radius: 8px; background: #F6F9FB; border: 1px solid #E1E8EF; }
.dos-fatura-ozet small { color: var(--muted); } .dos-fatura-ozet b { color: var(--navy); font-size: 15px; } .dos-fatura-ozet span { font-size: 12px; color: var(--muted); }
table.plan-duzen input, table.plan-duzen select { width: 100%; min-width: 80px; }
table tr.toplam td { background: #F1F4F7; }
.mesaj.uyari { margin: 8px 0; }

/* PDKS */
table.puantaj { border-collapse: separate; border-spacing: 0; font-size: 12px; }
table.puantaj th { position: sticky; top: 0; z-index: 2; background: #F1F4F7; padding: 4px 2px; text-align: center; font-weight: 600; min-width: 26px; border-bottom: 1px solid var(--line); }
table.puantaj th small { font-weight: 400; color: var(--muted); }
table.puantaj th.hs, table.puantaj td.h, table.puantaj td.t { background: #EEF1F5; }
table.puantaj th.bugun { background: #D6EEF8; }
table.puantaj td { padding: 3px 4px; border-bottom: 1px solid #EDF1F4; white-space: nowrap; }
table.puantaj .sol { text-align: left; min-width: 190px; }
table.puantaj .sabit { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
table.puantaj th.sabit { z-index: 3; background: #F1F4F7; }
table.puantaj td.sol small { display: block; color: var(--muted); font-size: 11px; }
table.puantaj td.pk { text-align: center; font-weight: 700; cursor: pointer; width: 26px; }
table.puantaj td.pk:hover { outline: 2px solid var(--turq); outline-offset: -2px; }
.pk.c { color: #0A7F5A; } .pk.g { background: #FFF0D2; color: #8A5A00; } .pk.e { background: #FFF4DB; color: #8A5A00; } .pk.d { background: #FDE0E0; color: #C62828; }
.pk.i { background: #E8DEF8; color: #5B3A9A; } .pk.h, .pk.t { color: #7C8B9A; } .pk.fm { background: #D6EEF8; color: #00769A; } .pk.bekliyor { opacity: .55; }
table.puantaj td.pk.uyarili { box-shadow: inset 0 -3px 0 #E8A33D; }
.puantaj-lejant { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.puantaj-lejant i.pk { display: inline-grid; place-items: center; min-width: 22px; height: 20px; border-radius: 4px; font-style: normal; font-weight: 700; border: 1px solid #E1E8EF; }
.pdks-cihazlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.pdks-cihazlar > div { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid #E1E8EF; border-left: 4px solid #9AA7B4; border-radius: 8px; background: #F9FBFC; }
.pdks-cihazlar > div.ok { border-left-color: #2BAE66; } .pdks-cihazlar > div.hata { border-left-color: #C62828; }
.pdks-cihazlar small { color: var(--muted); }
/* iş dosyaları listesi: tek satırlık süzgeç, tam ekran grid, açılır menü */
.arac.ince { gap: 6px; margin-bottom: 6px; }
.arac.ince .cip { font-size: 12.5px; padding: 4px 11px; }
.arac.ince .cip b { margin-left: 4px; color: var(--muted); font-weight: 600; }
.arac.ince .cip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.arac.ince .cip.on b { color: #CFE3F0; }
.tablo-kaydir.tam { max-height: calc(100vh - 230px); }
.arac-menu { position: relative; display: inline-flex; }
.arac-acilir { position: absolute; top: 30px; left: 0; z-index: 20; display: grid; min-width: 240px; padding: 4px; background: var(--surface); border: 1px solid #C9D6E0; border-radius: 8px; box-shadow: 0 8px 24px rgba(6, 47, 87, .18); }
.arac-acilir a { padding: 7px 10px; border-radius: 5px; color: var(--navy); font-size: 13px; white-space: nowrap; }
.arac-acilir a:hover { background: #EEF5FA; text-decoration: none; }
@media print { .grid-arac, .arac.ince, .sekmeler, aside, .top, .tablo-alt { display: none !important; } .tablo-kaydir.tam { max-height: none; overflow: visible; } }
/* ödeme aracı: büyük ikonlu kutular */
.odeme-araci { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.odeme-araci button { all: unset; box-sizing: border-box; display: grid; justify-items: center; gap: 3px; padding: 10px 6px 8px; border: 1.5px solid #D5DFE8; border-radius: 10px; background: var(--surface); cursor: pointer; text-align: center; transition: border-color .12s, background .12s; }
.odeme-araci button:hover:not(:disabled) { border-color: var(--turq); background: #F2FAFD; }
.odeme-araci button.on { border-color: var(--turq); background: #E3F4FA; box-shadow: 0 0 0 2px rgba(0, 151, 194, .18); }
.odeme-araci button:disabled { opacity: .6; cursor: default; }
.odeme-araci svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.odeme-araci button.on svg { stroke: #0077A0; }
.odeme-araci b { font-size: 13px; color: var(--navy); }
.odeme-araci small { font-size: 11px; color: var(--muted); }
.odeme-araci.mobil { grid-template-columns: repeat(3, 1fr); }
.odeme-araci.mobil button { padding: 12px 4px; }
.yon-secici { display: inline-flex; border: 1.5px solid #D5DFE8; border-radius: 10px; overflow: hidden; }
.yon-secici button { all: unset; cursor: pointer; padding: 8px 22px; font-weight: 600; color: var(--navy); }
.yon-secici button.on { background: var(--navy); color: #fff; }
.yon-secici button:disabled { cursor: default; opacity: .7; }
/* sayfaya oturan grid: sabit düzen, kolonlar colgroup'tan, hücre en çok iki satır (tamamı ipucunda), yatay taşma yok */
table.sigan { table-layout: fixed; width: 100%; min-width: 0; }
table.sigan th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.sigan td, .card.tablo table.sigan td:not(:has(input, select, textarea)) { max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* etiket / tuş taşıyan hücre: alt satıra geçer (kesilmez) */
table.sigan td.sarar, .card.tablo table.sigan td.sarar:not(:has(input, select, textarea)) { white-space: normal; overflow: visible; }
table.sigan td.sarar .tag, table.sigan td.sarar .btn { margin: 1px 2px 1px 0; }
table.sigan td:has(.iki-satir) { white-space: normal; max-width: none; min-width: 0; }
table.sigan .iki-satir small { font-size: 11.5px; }
table.sigan .yuzde-cubuk { min-width: 0; }
/* liste gridi yüksekliği app.js'te pencereye göre verilir; sayfanın kendisi kaymasın diye alt boşluk yok */
@media print { main .tablo-kaydir, main .liste-kaydir { height: auto !important; max-height: none !important; overflow: visible !important; } }
/* personel özet: izin ısı haritası, uyarı listesi */
.izin-isi { display: grid; gap: 3px; }
.izin-isi .satir { display: flex; align-items: center; gap: 2px; }
.izin-isi small { width: 52px; flex: none; color: var(--muted); font-size: 11px; }
.izin-isi i { width: 11px; height: 11px; border-radius: 2px; background: #E9EEF3; flex: none; }
.izin-isi i.hs { background: #F5F7F9; }
.izin-isi i.dolu { background: #8E5CC9; }
.uyari-listesi { display: grid; gap: 6px; font-size: 13.5px; }
.uyari-listesi > div { padding: 6px 10px; border-radius: 6px; background: #F6F9FB; }
.uyari-listesi > div.eksi { background: #FDECEC; } .uyari-listesi > div.uyar { background: #FFF4DB; }

/* geniş listeler: yatayda kayarken ilk kolon (kod / ünvan) sabit kalır; başlık satırı zaten yapışkan (dikey) ve aynı kutuda kaydığı için yatayda gövdeyle birlikte kayar */
main .card.tablo .tablo-kaydir > table:not(.sigan):not(.matris) tr > td:first-child:not([colspan]),
main .card.tablo .liste-kaydir > table:not(.sigan):not(.matris) tr > td:first-child:not([colspan]) { position: sticky; left: 0; z-index: 1; background-color: var(--surface); box-shadow: 1px 0 0 var(--line); }
main .card.tablo .tablo-kaydir > table:not(.sigan):not(.matris) tr > th:first-child,
main .card.tablo .liste-kaydir > table:not(.sigan):not(.matris) tr > th:first-child { left: 0; z-index: 3; }
main .card.tablo .tablo-kaydir > table tr.secili > td:first-child, main .card.tablo .liste-kaydir > table tr.secili > td:first-child { background-color: #C9E6F3; }

/* zorunlu alan eksik (cbEksikIsaretle) */
.eksik-alan, .eksik-alan:focus { border-color: #D23C3C !important; box-shadow: 0 0 0 2px rgba(210, 60, 60, .25) !important; background-color: #FFF6F6 !important; }

/* şifre gücü göstergesi */
.parola-guc { display: flex; gap: 4px; height: 6px; margin: 2px 0 4px; }
.parola-guc i { flex: 1; border-radius: 3px; background: #E3E8EE; }
.parola-guc.g1 i:nth-child(-n+1) { background: #D9534F; }
.parola-guc.g2 i:nth-child(-n+2) { background: #F0AD4E; }
.parola-guc.g3 i:nth-child(-n+3) { background: #5CB85C; }
.parola-guc.g4 i { background: #2E8B57; }
/* çoklu seçim açılır listesi (yetki grupları) */
.coklu-secim { position: relative; }
.coklu-secim > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 6px; padding: 6px 28px 6px 10px; background: var(--surface); min-height: 32px; position: relative; }
.coklu-secim > summary::after { content: "▾"; position: absolute; right: 10px; top: 6px; color: var(--muted); }
.coklu-secim > summary::-webkit-details-marker { display: none; }
.coklu-secim .secenekler { position: absolute; z-index: 20; left: 0; right: 0; max-height: 320px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--golge); padding: 6px; margin-top: 2px; }
.coklu-secim .secenekler label { display: flex; gap: 8px; align-items: flex-start; padding: 5px 6px; border-radius: 5px; cursor: pointer; }
.coklu-secim .secenekler label:hover { background: #EEF5F9; }
.coklu-secim .secenekler small { display: block; color: var(--muted); }
.coklu-secim .cip { display: inline-block; background: #E2F2F8; color: var(--navy); border-radius: 10px; padding: 1px 8px; margin: 1px 3px 1px 0; font-size: 12px; }
.kart-bolum { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; background: var(--surface); }
.kart-bolum > h3 { margin: 0 0 8px; font-size: 14px; color: var(--navy); }
details.kart-bolum > summary { cursor: pointer; font-weight: 600; color: var(--navy); }

/* E-posta şablonu düzenleyicisi: solda form, sağda canlı önizleme */
.sablon-duzen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.sablon-duzen h3 { margin: 0 0 8px; }
.sablon-onizleme { position: sticky; top: 8px; }
.sablon-onizleme iframe { width: 100%; height: 78vh; border: 1px solid var(--line); border-radius: 8px; background: #EEF2F6; margin-top: 4px; }
.zengin-arac { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--bg, #f6f8fb); }
.zengin-arac button, .zengin-arac .renk { font-size: 12px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.zengin-arac .renk input { width: 22px; height: 18px; padding: 0; border: 0; }
.zengin-govde { min-height: 180px; max-height: 420px; overflow: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0 0 6px 6px; background: #fff; font-size: 14px; line-height: 21px; }
.zengin-govde:focus { outline: 2px solid var(--accent, #1aa3b8); outline-offset: -1px; }
.zengin-govde p { margin: 0 0 10px; }
.sablon-form .etiketler { margin: 10px 0; }
.sablon-form .etiketler .btn.zorunlu { border-color: #d23c3c; }
@media (max-width: 1100px) { .sablon-duzen { grid-template-columns: 1fr; } .sablon-onizleme { position: static; } }
.sablon-form .form { grid-template-columns: 1fr 1fr; }
.sablon-form .form .genis { grid-column: 1 / -1; }

/* PDKS cihaz kartı: cihaz bilgisi kutuları */
.kpi-satir { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 4px 0 8px; }
.kpi-satir .kpi { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--surface); }
.kpi-satir .kpi small { display: block; color: var(--muted, #6B7A8C); font-size: 11px; }
.kpi-satir .kpi b { font-size: 14px; word-break: break-word; }
.kpi-satir .kpi.uyari { border-color: #F2D28B; background: #FFF4DB; }
.secenek-satir { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 30px; }
/* ACP panel yönetimi sekmeleri */
.acp-sekme { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 10px; border-bottom: 1px solid var(--line); }
.acp-sekme button { border: 1px solid var(--line); border-bottom: 0; background: var(--surface); padding: 5px 10px; border-radius: 6px 6px 0 0; cursor: pointer; font-size: 12.5px; }
.acp-sekme button.aktif { background: var(--accent, #1aa3b8); color: #fff; border-color: var(--accent, #1aa3b8); }
.json-on { white-space: pre-wrap; font-size: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px; max-height: 360px; overflow: auto; }
/* E-Dönüşüm analizi: üst sekmeler, iki panel (liste + ayrıntı), aylık durum başlıkları */
.ust-sekme { margin: 8px 0 10px; }
.iki-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; align-items: start; }
@media (max-width: 1100px) { .iki-panel { grid-template-columns: 1fr; } }
.aylik-durum th.grup { text-align: center; border-left: 2px solid var(--line); }
.aylik-durum td.kalin { font-weight: 600; }
.aylik-durum th.orta { text-align: center; }
/* Raporlar › Ödeme - Tahsilat Takvimi */
.rapor-takvim .takvim-izgara { grid-auto-rows: minmax(58px, auto); }
.rapor-takvim .takvim-gun { cursor: pointer; }
.rapor-takvim .takvim-gun.secili { box-shadow: inset 0 0 0 2px var(--turq); }
.rapor-takvim .takvim-gun .arti { color: #1E7B45; font-weight: 700; font-size: 12px; }
.rapor-takvim .takvim-gun .eksi { color: #B3261E; font-weight: 700; font-size: 12px; }
.rapor-takvim .takvim-gun small { color: #6B7F92; font-size: 10.5px; }
.json-tek { font-family: var(--mono, monospace); font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; }
/* Ağaç grid (satır içi detay) */
.agac-grid .arsiv-arac { flex-wrap: nowrap; gap: 6px; }
.agac-grid .arsiv-arac .ara { max-width: 260px; }
.agac-grid .agac-ozet { white-space: nowrap; color: #36536F; font-weight: 600; }
.agac-kaydir { max-height: calc(100vh - 330px); min-height: 240px; container-type: inline-size; }
table.agac > tbody > tr > th, table.agac > tr > th { position: sticky; top: 0; z-index: 1; }
table.agac td, table.agac th { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.agac .agac-ok { width: 22px; min-width: 22px; text-align: center; color: var(--turq); font-weight: 700; cursor: pointer; padding-left: 4px; padding-right: 0; }
table.agac tr.agac-acik > td { background: #E6F4F8 !important; font-weight: 600; }
table.agac tr.agac-detay > td { padding: 0 0 0 22px; background: #F4F7FA !important; white-space: normal; max-width: none; }
.agac-ic { border-left: 3px solid var(--turq); margin: 4px 0 8px; padding: 4px 8px 6px; background: #F4F7FA; box-sizing: border-box;
  position: sticky; left: 22px; width: calc(100cqw - 34px); } /* detay, kaydırılan gridin görünen genişliğinde kalır; kendi içinde kayar */
.agac-ic .agac-ic { position: static; width: auto; }
.agac-ic-kaydir { overflow-x: auto; max-width: 100%; }
.agac-ic .agac-baslik { font-size: 12px; font-weight: 700; color: #1F3A5A; margin: 2px 0 4px; }
.agac-ic table.agac { background: var(--surface); box-shadow: 0 1px 2px rgba(15, 40, 70, .08); }
.agac-ic table.agac th { position: static; background: #EAF0F5; }
.agac-ic .agac-ic { border-left-color: #F0A030; }
/* Menü alt başlığı (Raporlar › Finans, Stok…) */
.grp li.alt-baslik { padding: 7px 12px 2px 38px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7FA3C4; pointer-events: none; }
/* menü alt klasörleri: alt başlıklı öğeler tek açılır klasörde */
.grp li.alt-grup { margin: 3px 0 1px 6px; }
.grp li.alt-grup > button.alt-bas { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 6px; cursor: pointer;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9CC3E0; }
.grp li.alt-grup > button.alt-bas:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.grp li.alt-grup .alt-ok { font-size: 9px; width: 10px; transition: transform .15s; opacity: .8; }
.grp li.alt-grup.open .alt-ok { transform: rotate(90deg); }
.grp li.alt-grup .alt-sayi { margin-left: auto; min-width: 18px; padding: 0 6px; border-radius: 9px; background: rgba(255, 255, 255, .10); font-size: 10px; letter-spacing: 0; text-align: center; line-height: 16px; color: #CFE2F1; }
.grp li.alt-grup.open > button.alt-bas { color: #fff; }
.grp li.alt-grup > ul { margin: 1px 0 4px 14px; padding: 0 0 2px; border-left: 1px dashed rgba(156, 195, 224, .35); }
.grp li.alt-grup > ul li a { font-size: 12px; padding: 5px 10px; }
/* Rapor Merkezi */
.rm-ust { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rm-ara { flex: 0 1 460px; height: 34px; font-size: 13.5px; }
.rm-seritler { display: grid; gap: 6px; margin-bottom: 10px; }
.rm-serit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--yuvar); padding: 7px 10px; box-shadow: var(--golge); }
.rm-serit > b { font-size: 12px; color: var(--navy); margin-right: 4px; white-space: nowrap; }
.rm-cip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 14px; font-size: 12px; background: var(--hover); color: var(--navy); border: 1px solid #CFDDE8; border-left: 3px solid var(--rm, var(--turq)); }
.rm-cip:hover { text-decoration: none; background: #DCEBF4; }
.rm-izgara { columns: 440px; column-gap: 12px; } /* gruplar boşluk bırakmadan sütunlara dizilir */
.rm-grup { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--yuvar); box-shadow: var(--golge); overflow: hidden; }
.rm-grup h3 { margin: 0; padding: 8px 12px; font-size: 13.5px; color: #fff; background: var(--rm, var(--navy)); display: flex; align-items: center; gap: 8px; }
.rm-grup h3 small { margin-left: auto; background: rgba(255,255,255,.22); border-radius: 10px; padding: 1px 8px; font-size: 11px; }
.rm-gic { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.18); display: inline-grid; place-items: center; font-size: 13px; }
.rm-kartlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; background: #F6F9FB; }
.rm-kart { position: relative; display: flex; gap: 10px; align-items: center; padding: 9px 30px 9px 10px; background: var(--surface); border: 1px solid #DDE6EE; border-radius: 8px; color: var(--text); box-shadow: 0 1px 2px rgba(15, 40, 70, .06); transition: border-color .12s, box-shadow .12s, transform .12s; }
.rm-kart:hover { text-decoration: none; border-color: var(--rm, var(--turq)); box-shadow: 0 3px 10px rgba(15, 40, 70, .12); transform: translateY(-1px); }
.rm-ikon { flex: 0 0 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; color: var(--rm, var(--turq)); background: color-mix(in srgb, var(--rm, var(--turq)) 12%, white); }
.rm-metin { display: grid; gap: 2px; min-width: 0; }
.rm-metin b { font-size: 13px; color: var(--navy); }
.rm-metin small { font-size: 11.5px; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-yildiz { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 15px; line-height: 1; color: #B8C6D3; cursor: pointer; padding: 2px; }
.rm-yildiz:hover, .rm-yildiz.on { color: #F0A030; }
.rm-finans { --rm: #0B3D6E; } .rm-stok { --rm: #0A7F5A; } .rm-satinalma { --rm: #B25B00; } .rm-satis { --rm: #7B3FA0; } .rm-crm { --rm: #0097C2; }
.rm-edonusum { --rm: #2E6FB7; } .rm-ik { --rm: #C2407A; } .rm-proje { --rm: #5B6B2E; } .rm-sistem { --rm: #4A5868; }
.bos-durum { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 28px 16px; background: var(--surface); border: 1px dashed #C5D3DF; border-radius: var(--yuvar); color: var(--muted); }
.bos-durum b { color: var(--navy); font-size: 14px; }
@media (max-width: 1000px) { .rm-izgara { columns: 1; } .rm-kartlar { grid-template-columns: 1fr; } }
/* Rapor sayfaları: tek satır süzgeç, grafikler tek sırada */
.arac.rapor-arac { flex-wrap: nowrap; }
.rapor-arac > * { flex: 0 1 auto; min-width: 0; }
.rapor-arac input[type=date] { flex: 0 0 138px; width: 138px; }
.rapor-arac select { max-width: 190px; }
.rapor-arac .ara { flex: 1 1 160px; max-width: 320px; }
.rapor-arac .btn { white-space: nowrap; flex: 0 0 auto; }
.pano.rapor-pano { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); margin-bottom: 12px; }
.pano.rapor-pano:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rapor-pano > * { grid-column: auto !important; margin: 0; }
.rapor-pano .pasta { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
.rapor-pano .pasta-aciklama > div { grid-template-columns: 8px minmax(0, 1fr) auto; gap: 5px; font-size: 11.5px; }
.rapor-pano .pasta-aciklama > div > :nth-child(4) { display: none; }
.rapor-pano .pano-kart h3 span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rapor-pano .pano-kart { max-height: 280px; overflow: hidden; }
.ozet-serit > div.secili { box-shadow: 0 0 0 2px var(--turq), var(--golge); }
.rapor-arac + .ozet-serit { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.rapor-arac + .ozet-serit > div { padding: 8px 11px; }
.rapor-arac + .ozet-serit b { font-size: 18px; }
.rapor-arac + .ozet-serit small { font-size: 10px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rapor-arac + .ozet-serit span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* PDKS › ACP panel yönetimi: solda bölümler, sağda içerik */
.acp { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 520px; border-top: 1px solid var(--line); }
.acp-menu { display: flex; flex-direction: column; gap: 1px; padding: 8px 6px; background: #F3F6F9; border-right: 1px solid var(--line); }
.acp-menu button { all: unset; box-sizing: border-box; display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 6px; font-size: 12.5px; color: #34495E; cursor: pointer; }
.acp-menu button span { width: 18px; text-align: center; color: var(--turq); }
.acp-menu button:hover { background: #E4EDF4; }
.acp-menu button.on { background: var(--navy); color: #fff; font-weight: 600; }
.acp-menu button.on span { color: #8FD8EE; }
.acp-menu button.tehlike span { color: #C62828; }
.acp-izin { margin-top: auto; padding: 7px 10px; font-size: 11.5px; border-radius: 6px; background: #FCEAEA; color: #8E2323; }
.acp-izin.acik { background: var(--writebg); color: var(--write); }
.acp-icerik { padding: 12px 16px; min-width: 0; background: var(--surface); }
.acp-baslik { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.acp-baslik h3, .acp-baslik h4 { margin: 0; color: var(--navy); }
.acp-satir { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.acp-satir label { font-size: 12px; color: var(--muted); }
.acp-durum { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; align-items: center; background: linear-gradient(180deg, #FFFFFF, #F7FAFC); }
.acp-durum-ana { display: flex; gap: 12px; align-items: center; }
.acp-durum-ana b { display: block; font-size: 18px; color: var(--navy); }
.acp-durum-ana small { color: var(--muted); }
.acp-isik { width: 16px; height: 16px; border-radius: 50%; background: #B8C6D3; box-shadow: 0 0 0 4px #E4EBF1; flex: 0 0 auto; }
.acp-durum.bagli .acp-isik { background: #1E9E5A; box-shadow: 0 0 0 4px #D3F1E1; }
.acp-durum.kopuk .acp-isik { background: #C62828; box-shadow: 0 0 0 4px #F8D7D7; }
.acp-kpiler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.acp-kpiler > div { background: #F4F8FB; border-radius: 8px; padding: 7px 10px; border-left: 3px solid var(--turq); }
.acp-kpiler > div.uyari { border-left-color: var(--warn); background: #FDF0F0; }
.acp-kpiler small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.acp-kpiler b { font-size: 15px; color: var(--navy); }
.acp-kpiler.genis { margin-bottom: 8px; }
.acp-hizli { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
.acp-son { font-size: 12px; color: var(--muted); }
.acp-saatler { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 10px; margin-bottom: 8px; }
.acp-saatler > div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.acp-saatler > div.uyari { border-color: #F2B8B8; background: #FDF0F0; }
.acp-saatler small { display: block; color: var(--muted); font-size: 11px; }
.acp-saatler b { font-size: 18px; color: var(--navy); font-variant-numeric: tabular-nums; }
.acp-gruplar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.acp-grup, .acp-kapi { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #FBFCFE; }
.acp-grup h4, .acp-kapi h4 { margin: 0 0 6px; font-size: 12.5px; color: var(--navy); display: flex; gap: 6px; align-items: center; }
.acp-alt { margin: 14px 0 6px; color: var(--navy); }
.acp-kapilar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.acp-kapi-grup { border-top: 1px dashed #DDE5EC; padding-top: 4px; margin-top: 4px; }
.acp-kapi-grup > small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.acp-alan { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; align-items: center; padding: 3px 4px; border-radius: 5px; }
.acp-alan label { font-size: 12.5px; color: #34495E; }
.acp-alan.degisti { background: #FFF6E5; box-shadow: inset 3px 0 0 #F0A030; }
.acp-alan input { height: 28px; width: 100%; }
.acp-sayi { display: flex; align-items: center; gap: 4px; }
.acp-sayi em { font-style: normal; font-size: 11px; color: var(--muted); }
.acp-anahtar { all: unset; box-sizing: border-box; text-align: center; padding: 4px 8px; border-radius: 14px; font-size: 11.5px; font-weight: 600; cursor: pointer; background: #E7ECF1; color: #5B6B7B; }
.acp-anahtar.acik { background: #D3F1E1; color: #11713F; }
.acp-degisim { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; background: var(--navy); color: #fff; border-radius: 8px; box-shadow: 0 -4px 14px rgba(6, 47, 87, .2); z-index: 3; }
.acp-degisim .btn:not(.p) { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.acp-ham { margin-top: 10px; }
.acp-ham summary { cursor: pointer; color: var(--navy); font-weight: 600; font-size: 12.5px; }
.acp-tablo { max-height: 460px; }
.acp-cizelge { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px 10px; }
.acp-saat-cetveli { position: relative; height: 18px; margin-left: 80px; font-size: 10.5px; color: var(--muted); }
.acp-saat-cetveli i { position: absolute; transform: translateX(-50%); font-style: normal; }
.acp-dilim { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; margin-top: 6px; }
.acp-dilim > span { font-size: 12px; font-weight: 600; color: var(--navy); }
.acp-bar { position: relative; height: 22px; background: repeating-linear-gradient(90deg, #EEF3F7 0, #EEF3F7 calc(12.5% - 1px), #DCE5EC calc(12.5% - 1px), #DCE5EC 12.5%); border-radius: 5px; }
.acp-bar b { position: absolute; top: 2px; bottom: 2px; background: var(--turq); color: #fff; border-radius: 4px; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; overflow: hidden; white-space: nowrap; }
.acp-cip { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #E1F3FA; color: #0A6F8F; font-size: 11.5px; }
.orta { text-align: center; }
.soluk { color: #A9B6C2; }
.acp-tatiller { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.acp-tatil { border: 1px solid var(--line); border-left: 4px solid #F0A030; border-radius: 8px; padding: 8px 10px; display: grid; }
.acp-kurallar { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 10px; }
.acp-kural { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.acp-kural .acp-baslik { margin-bottom: 6px; }
.acp-kural-durum { font-size: 12.5px; color: #34495E; background: #F4F8FB; border-radius: 6px; padding: 8px 10px; }
.acp-tehlike { border: 1px solid #F2B8B8; border-radius: 10px; padding: 10px 12px; background: #FFF8F8; display: grid; gap: 8px; }
.acp-tehlike-satir { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 8px 10px; background: var(--surface); border: 1px solid #F5D0D0; border-radius: 8px; }
.acp-tehlike-satir b { color: #8E2323; display: block; }
.acp-tehlike-satir small { color: var(--muted); }
.acp-tehlike-satir input { width: 160px; height: 28px; }
.btn[disabled][title] { cursor: not-allowed; }
@media (max-width: 1100px) { .acp { grid-template-columns: 1fr; } .acp-menu { flex-direction: row; flex-wrap: wrap; } .acp-durum { grid-template-columns: 1fr; } .acp-gruplar { grid-template-columns: 1fr; } }
.ipucu { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 4px 0; border-radius: 50%; background: #E1F3FA; color: #0A6F8F; font-size: 11.5px; font-weight: 700; cursor: help; vertical-align: middle; }
/* Liste satır içi ayrıntı (▸) */
th.satir-ac, td.satir-ac { width: 22px; min-width: 22px; padding-left: 6px !important; padding-right: 0 !important; text-align: center; color: var(--turq); font-weight: 700; cursor: pointer; }
tr.acik-satir > td { background: #E6F4F8 !important; }
tr.satir-detay > td { background: #F4F7FA !important; padding: 6px 10px 10px 28px !important; white-space: normal; }
.satir-detay-ic { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.sd-kutu { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 220px; max-width: 420px; box-shadow: 0 1px 2px rgba(15, 40, 70, .06); }
.sd-kutu h4 { margin: 0 0 6px; font-size: 12px; color: var(--navy); }
.sd-kutu h4 small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.sd-kutu dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: 12px; }
.sd-kutu dt { color: var(--muted); }
.sd-kutu dd { margin: 0; }
.sd-kutu table td { padding: 2px 6px; font-size: 12px; cursor: pointer; }
.sd-not { margin: 0 0 4px; font-size: 12px; color: #34495E; }
.sd-islemler { display: flex; flex-wrap: wrap; gap: 6px; align-self: center; }
.servis-durum { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; background: #F7FAFC; }
.servis-durum b { display: block; color: var(--navy); }
.servis-durum small { color: var(--muted); }
.servis-durum .btn { margin-left: auto; }
.servis-isik { width: 12px; height: 12px; border-radius: 50%; background: #C62828; box-shadow: 0 0 0 3px #F8D7D7; flex: 0 0 auto; }
.servis-durum.acik .servis-isik { background: #1E9E5A; box-shadow: 0 0 0 3px #D3F1E1; }
/* Sistem › Depolama ve Yedekleme */
.dp-yol { font-family: var(--mono, monospace); font-size: 12px; word-break: break-all; }
.ozet-serit b.dp-yol { font-size: 13px; }
.dp-iki { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; margin-top: 12px; }
.dp-iki h3 { margin: 0 0 8px; color: var(--navy); }
.dp-ilerleme { display: grid; grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 8px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-left: 4px solid var(--turq); border-radius: 8px; background: var(--surface); }
.dp-ilerleme small { grid-column: 1 / -1; color: var(--muted); }
.dp-ilerleme.bitti { border-left-color: #1E9E5A; }
.dp-ilerleme.hata { border-left-color: var(--warn); }
.dp-cubuk { height: 10px; border-radius: 5px; background: #E6EDF3; overflow: hidden; }
.dp-cubuk i { display: block; height: 100%; background: var(--turq); transition: width .4s; }
.dp-ilerleme.bitti .dp-cubuk i { background: #1E9E5A; }
@media (max-width: 1100px) { .dp-iki { grid-template-columns: 1fr; } }
/* Sistem › Sistem Günlüğü */
.gn-isler { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; margin-bottom: 12px; }
.gn-is { display: grid; gap: 1px; padding: 7px 10px; border: 1px solid var(--line); border-left: 4px solid #1E9E5A; border-radius: 8px; background: var(--surface); font-size: 11.5px; color: var(--muted); }
.gn-is b { color: var(--navy); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-is span { white-space: nowrap; }
.gn-is.hata { border-left-color: var(--warn); background: #FFF6F6; }
.gn-is.bos { border-left-color: #B8C6D3; }
.gn-detay pre { white-space: pre-wrap; font-size: 11.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px; max-height: 320px; overflow: auto; }
.gn-detay h4 { margin: 8px 0 4px; color: var(--navy); font-size: 12px; }
.gn-saklama { font-size: 15px; font-weight: 700; color: var(--navy); border: 0; background: transparent; padding: 0; }
.hata-kutusu { display: grid; gap: 6px; justify-items: start; max-width: 560px; margin: 24px auto; padding: 18px 20px; border: 1px solid #F2B8B8; border-left: 5px solid var(--warn); border-radius: 10px; background: #FFF8F8; }
.hata-kutusu b { color: #8E2323; font-size: 15px; }
.hata-kutusu span { color: #5B6B7B; }
.hata-kodu code { font-size: 14px; font-weight: 700; color: var(--navy); background: #EEF3F7; padding: 2px 8px; border-radius: 5px; }
.gn-detay td { white-space: normal !important; overflow: visible !important; }
.kt-uyari { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.kt-kv th { width: 180px; text-align: left; white-space: nowrap; color: var(--muted); font-weight: 600; background: transparent; }
.kt-kv td { word-break: break-word; }
.kt-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.kt-kv .muted { color: var(--muted); }
/* kapı geçişi: ihlal kırmızı, red / tanımsız sarı */
table tr.ihlal > td { background: #FDECEC !important; color: #A61B1B; font-weight: 600; }
table tr.ihlal > td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
table tr.uyari > td { background: #FFF8E6; }
/* kapı yetkileri */
.ky-toplu { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 7px 10px; margin: 0 0 8px; background: #F3F8FB; border: 1px solid #DCE4EC; border-radius: 8px; font-size: 12.5px; }
.ky-toplu label { display: inline-flex; gap: 5px; align-items: center; margin: 0; }
.ky-ayrac { width: 1px; height: 22px; background: #CBD6E0; }
.ky-tablo th.ky-kapi, .ky-tablo td.ky-kapi { text-align: center; width: 76px; }
.ky-tablo th.ky-kapi { white-space: normal; font-size: 11.5px; line-height: 1.2; }
.ky-tablo .ky-sec { width: 28px; text-align: center; }
.ky-tablo tr.pasif td, .ky-tablo th.pasif { opacity: .55; }
.ky-dep { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.ky-onay { display: grid; gap: 8px; }
.ky .muted { color: var(--muted); font-size: 12px; }
.ky-toplu select, .ky-toplu input[type=date] { width: auto; min-width: 0; max-width: 220px; }
.ky-toplu .btn { margin: 0; }
.mesaj.cihaz-kodu { display: grid; gap: 6px; justify-items: center; text-align: center; }
.mesaj.cihaz-kodu b { font-size: 26px; letter-spacing: .12em; font-family: var(--mono, monospace); color: var(--navy); background: #fff; padding: 4px 14px; border-radius: 8px; border: 1px dashed #D9A3A3; }
.mesaj.cihaz-kodu small { color: #6B4A4A; }
/* etiketler (ortak bileşen) */
.etk { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; position: relative; }
.etk-cip, .etk-rozet { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600; line-height: 1.6; color: color-mix(in srgb, var(--k) 78%, #000); background: color-mix(in srgb, var(--k) 14%, #fff); border: 1px solid color-mix(in srgb, var(--k) 35%, #fff); white-space: nowrap; }
.etk-cip button { all: unset; cursor: pointer; font-size: 13px; line-height: 1; opacity: .6; }
.etk-cip button:hover { opacity: 1; }
.etk-rozetler { display: inline-flex; flex-wrap: wrap; gap: 3px; margin-left: 4px; vertical-align: middle; }
.etk-rozet { font-size: 10.5px; padding: 0 6px; }
.etk-ekle { all: unset; cursor: pointer; font-size: 11.5px; color: var(--muted); padding: 1px 8px; border: 1px dashed #B8C6D3; border-radius: 10px; }
.etk-ekle:hover { color: var(--navy); border-color: var(--turq); }
.etk-giris { position: relative; display: inline-block; }
.etk-giris input { width: 150px; height: 24px; padding: 0 8px; font-size: 12px; border-radius: 10px; }
.etk-oneri { position: absolute; top: 28px; left: 0; z-index: 30; min-width: 200px; display: grid; background: var(--surface); border: 1px solid #CBD6E0; border-radius: 8px; box-shadow: 0 6px 18px rgba(6, 47, 87, .16); padding: 4px; }
.etk-oneri button { all: unset; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 6px; font-size: 12.5px; }
.etk-oneri button:hover { background: var(--hover); }
.etk-oneri button i { width: 10px; height: 10px; border-radius: 50%; background: var(--k); }
.etk-oneri button small { margin-left: auto; color: var(--muted); font-size: 10.5px; }
.etk-oneri button.yeni { color: var(--navy); font-weight: 600; border-top: 1px solid var(--line); }
.etk-hata { color: var(--warn); font-size: 11.5px; }
.etk-sec { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.etk-sec button { all: unset; cursor: pointer; font-size: 12px; padding: 2px 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--k) 40%, #fff); color: color-mix(in srgb, var(--k) 78%, #000); background: #fff; }
.etk-sec button.on { background: var(--k); color: #fff; }
.kart-ust .etk-ekle { color: #fff; border-color: rgba(255, 255, 255, .55); }
.kart-ust .etk-cip { background: #fff; }
.etk-arac { margin: -4px 0 8px; }
.om-etiket { padding: 6px 14px 8px; border-bottom: 1px solid var(--line); }
/* Etiketlerim */
.etl { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 12px; align-items: start; }
.etl-sol { padding: 8px; display: grid; gap: 2px; align-content: start; max-height: calc(100vh - 140px); overflow: auto; }
.etl-sol h4 { margin: 10px 6px 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.etl-et { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 7px; font-size: 13px; }
.etl-et:hover { background: var(--hover); }
.etl-et.on { background: color-mix(in srgb, var(--turq) 14%, #fff); font-weight: 600; }
.etl-et i, .etl-nokta { width: 12px; height: 12px; border-radius: 50%; background: var(--k); display: inline-block; }
.etl-et span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etl-et b { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.etl-et em { font-style: normal; color: var(--muted); padding: 0 2px; }
.etl-duzen { display: grid; gap: 6px; padding: 6px 8px; background: #F3F8FB; border-radius: 7px; }
.etl-renk { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.etl-renk button { all: unset; cursor: pointer; width: 18px; height: 18px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; }
.etl-renk button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--k); }
.etl-yeni { padding: 8px 10px; gap: 10px; }
.etl-yeni input { max-width: 260px; }
@media (max-width: 900px) { .etl { grid-template-columns: 1fr; } }
/* düzenli işlemler */
.ht-takvim { padding: 10px; }
.ht-takvim-bas { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.ht-takvim-bas b { min-width: 140px; text-align: center; color: var(--navy); }
.ht-gunler { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ht-gun-ad { padding: 4px 6px; font-size: 11px; font-weight: 700; color: var(--muted); background: #F3F7FA; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ht-gun { min-height: 86px; padding: 3px 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 2px; align-content: start; min-width: 0; }
.ht-gun.disi { background: #FAFBFC; color: #A0AEBB; }
.ht-gun.bugun { background: #EAF7FB; }
.ht-gun small { font-size: 11px; }
.ht-olay { display: block; font-size: 11px; padding: 1px 6px; border-radius: 5px; border-left: 3px solid var(--k); background: color-mix(in srgb, var(--k) 12%, #fff); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-olay.w { border-left-color: var(--warn); background: #FDECEC; }
.dfo { margin-top: 12px; padding: 12px 14px; }
.dfo-ust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 6px 0 10px; }
.dfo-ust span { display: grid; }
.dfo-ust small { color: var(--muted); font-size: 11px; }
.dfo-islem { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.dfo-islem label { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.dfo-islem input { width: 220px; }
.sd-blok { display: grid; gap: 2px; min-width: 180px; max-width: 420px; font-size: 12px; }
.sd-blok small { color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.ht-panel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 18px; background: #EAF7F0; border-bottom: 1px solid #BFE3CC; }
.ht-panel label { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.ht-periyot { display: flex; gap: 6px; }
.ht-periyot input { width: 70px; }
.ht-kimler { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ht-kimler select { width: auto; max-width: 220px; }
.ht-donem-ek { margin: 10px 0 6px; color: var(--navy); font-size: 12.5px; }
label.kutu.pasif { opacity: .5; }
.kart-bolumler section label.kutu { display: inline-flex; gap: 5px; align-items: center; margin: 2px 12px 0 0; font-size: 12.5px; font-weight: 400; color: var(--text); text-transform: none; letter-spacing: 0; }
.kart-bolumler section label.kutu input { width: auto; height: auto; margin: 0; }

/* Onay Merkezi: sonra hatırlat, olaylar, görünüm çipleri */
.sonra-hatirlat { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; margin-top: 8px; border: 1px dashed #B9CCDC; border-radius: 8px; background: #F6FAFD; }
.sh-secenek { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sh-secenek .btn.on, .sh-secenek .on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sh-secenek input[type=datetime-local] { height: 26px; font-size: 12px; }
.sh-not { width: 100%; }
.sh-alt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; }
.sh-alt > span:first-child { font-weight: 600; color: var(--navy); }
.sh-uyari { color: #B54708; background: #FFF4E5; border-radius: 6px; padding: 2px 8px; }
.btn.on { background: #E1F3FA; border-color: var(--turq); }
.om-olaylar { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 16px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.om-olaylar b { color: var(--text); font-weight: 600; }
.etk-arac .chips { margin-bottom: 0; }
.uyari-metin { color: #B54708; }

/* Firma Bilgileri */
.fb-avatar { overflow: hidden; background: #fff; border: 1px solid var(--line); }
.fb-avatar img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fb-gorseller { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fb-gorsel { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 12px; }
.fb-onizleme { width: 100%; height: 72px; border: 1px dashed #C9D6E2; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--muted); }
.fb-gorsel.koyu .fb-onizleme { background: #0B2238; }
.fb-onizleme img { max-width: 92%; max-height: 62px; object-fit: contain; }
.fb-bag { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-bag a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 14px; font-size: 12.5px; }
.fb-bag b { color: var(--muted); margin-left: 4px; }
.giris-firma { display: block; max-height: 52px; max-width: 220px; margin: 0 0 14px; object-fit: contain; }
@media (max-width: 900px) { .fb-gorseller { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* başlığa tıklayarak sıralama (görünüm motoru) */
th.gv-siralanir { cursor: pointer; }
th[data-gvsira="1"]::after { content: " ▲"; font-size: 9px; color: var(--turq); }
th[data-gvsira="-1"]::after { content: " ▼"; font-size: 9px; color: var(--turq); }
.hedef-pano { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* araç satırında arama kutusu daralır, süzgeçler tek satırda kalır */
.arac .ara { flex: 1 1 180px; min-width: 180px; width: auto; }
.denetim-detay { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 12px; font-family: inherit; }

/* Akış (şirket içi haberleşme panosu) */
.akis-sekmeler { margin-bottom: 10px; flex-wrap: wrap; }
.akis-sekmeler b { margin-left: 4px; font-size: 11px; background: rgba(6,47,87,.08); border-radius: 9px; padding: 0 6px; }
.akis-sekmeler .on b { background: rgba(255,255,255,.25); }
.akis { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; align-items: start; }
.akis-ana { display: grid; gap: 10px; min-width: 0; }
.akis-ana > .card { margin: 0; }
.akis-yan { display: grid; gap: 10px; position: sticky; top: 60px; }
.akis-yan .card { margin: 0; }
.akis-yan h2 { font-size: 14px; }
.akis-sayilar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.akis-sayilar a { display: grid; padding: 8px 10px; border-radius: 8px; background: var(--hover); cursor: pointer; color: var(--text); text-decoration: none; }
.akis-sayilar b { font-size: 20px; color: var(--navy); }
.akis-sayilar small { color: var(--muted); }
.akis-pop { display: flex; justify-content: space-between; padding: 4px 2px; cursor: pointer; border-top: 1px solid var(--line); }
.akis-pop:first-of-type { border-top: 0; }
.akis-kart { padding: 12px 14px; border-left: 4px solid transparent; }
.akis-kart.okunmamis { border-left-color: var(--turq); }
.akis-kart.sabit { background: #FFFCF2; }
.akis-kart header { display: flex; gap: 10px; align-items: center; }
.akis-kim { display: grid; flex: 1; min-width: 0; }
.akis-kim small { color: var(--muted); }
.akis-rozetler { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.akis-avatar { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; overflow: hidden; font-size: 13px; font-weight: 700; }
.akis-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.akis-avatar i { font-style: normal; }
.akis-avatar.kucuk { width: 30px; height: 30px; font-size: 11px; }
.akis-icerik { cursor: pointer; margin: 8px 0 4px; }
.akis-icerik h3 { margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.akis-icerik p, .akis-metin { margin: 0; white-space: pre-line; font-size: 13.5px; line-height: 1.5; }
.akis-kart.kompakt .akis-icerik p.tek-satir { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.akis-etiketler { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; margin: 4px 0; }
.akis-etiketler a { cursor: pointer; }
.akis-ekler { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; margin: 6px 0; }
.akis-gorunur { margin-top: 4px; }
.akis-kart footer { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.akis-kart footer .sag { margin-left: auto; display: flex; gap: 6px; }
.akis-tepki { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 2px 10px; cursor: pointer; font: inherit; font-size: 13px; }
.akis-tepki.on { background: #EEF8FC; border-color: var(--turq); color: var(--navy); font-weight: 600; }
.bag { border: 0; background: none; color: var(--turq); cursor: pointer; font: inherit; font-size: 12.5px; padding: 2px 4px; }
.bag:disabled { color: var(--muted); cursor: default; }
.bag.eksi { color: var(--warn); }
.akis-kapsam { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.akis-kapsam .chip a { margin-left: 6px; cursor: pointer; opacity: .8; }
.akis-oneri { display: grid; border: 1px solid var(--line); border-radius: 6px; margin-top: 4px; max-height: 220px; overflow: auto; background: var(--surface); }
.akis-oneri button { text-align: left; border: 0; border-top: 1px solid var(--line); background: none; padding: 6px 8px; cursor: pointer; font: inherit; }
.akis-oneri button:first-child { border-top: 0; }
.akis-oneri button:hover { background: var(--hover); }
.akis-oneri small { color: var(--muted); margin-left: 6px; }
.akis-perde { position: fixed; inset: 0; background: rgba(6,47,87,.25); z-index: 40; }
.akis-cekmece { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--surface); z-index: 41; box-shadow: -10px 0 30px rgba(6,47,87,.2); display: flex; flex-direction: column; }
.akis-cekmece > header { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px 8px; border-bottom: 1px solid var(--line); }
.akis-cekmece > header h2 { margin: 6px 0 2px; font-size: 16px; }
.akis-cekmece > .gorunum-sec { padding: 8px 16px; flex-wrap: wrap; }
.akis-cekmece-ic { padding: 8px 16px 16px; overflow: auto; flex: 1; }
.akis-yorum { display: flex; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.akis-yorum:first-child { border-top: 0; }
.akis-yorum p { margin: 2px 0; white-space: pre-line; }
.akis-yorum-alt { display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.akis-yorum-yaz { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.akis-yorum-yaz textarea { width: 100%; }
.akis-satir { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid var(--line); }
.akis-erisim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.akis-erisim h3 { font-size: 13px; margin: 0 0 4px; }
.akis-ozet-kart .akis-satir span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) { .akis { grid-template-columns: minmax(0, 1fr); } .akis-yan { position: static; grid-template-columns: 1fr 1fr; } }
.akis-yorum.cevap { margin-left: 38px; border-top-style: dashed; }

/* Puantaj Kuralları ve Vardiya Planı (17.10.2026) */
.ozet-serit.yedi { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.ozet-serit.yedi > div { padding: 9px 11px; }
.kart-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 12px; margin-bottom: 12px; align-items: start; }
.kart-izgara > .card { margin: 0; }
.btn.kucuk { padding: 2px 7px; font-size: 11px; min-height: 0; }
table.vplan td.vp { text-align: center; font-weight: 700; font-size: 11px; cursor: pointer; width: 30px; max-width: 30px; overflow: hidden; padding: 3px 1px; border-left: 1px solid #F1F4F7; }
table.vplan td.vp.kart { opacity: .45; font-weight: 500; }
table.vplan td.vp.tatil { background: #EEF1F5; color: #7C8B9A; }
table.vplan td.vp.secili { outline: 2px solid var(--turq); outline-offset: -2px; }

/* Akış paylaşım formu (Canvia "Yeni Akış Paylaşımı" düzeni, 17.10.2026) */
.afy { max-width: 1050px; margin: 0 auto; }
.afy-geri { display: inline-block; margin: 0 0 10px; color: var(--navy); font-weight: 600; text-decoration: none; }
.afy-kart { overflow: hidden; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(21,95,195,.48), rgba(89,63,214,.28), rgba(9,152,173,.34)) border-box;
  border: 2px solid transparent; border-radius: 18px; box-shadow: 0 24px 64px rgba(15,34,65,.14); }
.afy-bant { display: flex; align-items: center; gap: 12px; padding: 22px 24px; border-bottom: 1px solid #e4eaf2;
  background: radial-gradient(circle at 12% 20%, rgba(21,112,223,.14), transparent 32%), linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%); }
.afy-bant h2 { margin: 0; color: #10213d; font-size: 20px; font-weight: 750; }
.afy-bant p { margin: 3px 0 0; color: #6d7a91; font-size: 13px; }
.afy-ikon { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; font-size: 22px; background: linear-gradient(135deg, #155fc3, #20a4c8);
  border-radius: 14px; box-shadow: 0 14px 26px rgba(21,95,195,.28); flex: none; }
.afy-bolum { padding: 19px 24px; background: #fff; }
.afy-bolum > label, .afy-kapsam-bas label { display: block; margin-bottom: 7px; color: #22344f; font-size: 13px; font-weight: 750; }
.afy-bolum label b, .afy-kapsam-bas label b { color: #d7192d; }
.afy-alan { width: 100%; min-height: 44px; padding: 0 13px; color: #10213d; background: #fbfdff; border: 1px solid #d6e0ec; border-radius: 12px; outline: 0; font: inherit; }
.afy-metin { width: 100%; min-height: 200px; padding: 14px 15px; resize: vertical; border: 1px solid #d6e0ec; border-radius: 13px; outline: 0; background: #fbfdff; font: inherit;
  font-size: 14px; line-height: 1.5; field-sizing: content; max-height: 60vh; }
.afy-alan:focus, .afy-metin:focus, .afy-ara:focus-within { border-color: #1670df; box-shadow: 0 0 0 3px rgba(22,112,223,.1); }
.afy-sayac { display: block; margin-top: 5px; color: #8390a4; text-align: right; }
.afy-ikili { display: grid; grid-template-columns: 1fr 1fr; margin: 0 18px; border: 1px solid #e4eaf2; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(21,45,84,.05); }
.afy-ikili > div + div { border-left: 1px solid #e4eaf2; }
.afy-ikili > .afy-bolum { border-radius: 16px; }
.afy-goreli { position: relative; }
.afy-ara { min-height: 44px; display: flex; align-items: center; gap: 8px; padding-left: 11px; border: 1px solid #d6e0ec; border-radius: 12px; background: #fbfdff; }
.afy-ara > span { color: #4b5f7c; font-weight: 700; }
.afy-ara input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; height: 42px; }
.afy-ara button { align-self: stretch; width: 44px; border: 0; color: #1565c0; background: linear-gradient(180deg, #edf6ff, #e5f0ff); border-radius: 0 11px 11px 0; font-size: 18px; cursor: pointer; }
.afy-oneri { position: absolute; z-index: 20; left: 22px; right: 22px; max-height: 280px; overflow: auto; background: #fff; border: 1px solid #d6e0ec; border-radius: 14px; box-shadow: 0 12px 28px rgba(17,38,70,.14); }
.afy-oneri button, .afy-gruplar button { width: 100%; padding: 9px 12px; border: 0; text-align: left; background: #fff; cursor: pointer; font: inherit; }
.afy-oneri button:hover, .afy-gruplar button:hover { background: #f0f6ff; }
.afy-birak { position: relative; min-height: 68px; display: flex; align-items: center; gap: 11px; padding: 13px; color: #155fc3; background: linear-gradient(135deg, #f6fbff, #eef6ff);
  border: 1px dashed #7da7dc; border-radius: 14px; cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .12s; }
.afy-birak:hover, .afy-birak.uzerinde { border-color: #155fc3; box-shadow: 0 12px 28px rgba(21,95,195,.12); transform: translateY(-1px); }
.afy-birak input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.afy-birak strong, .afy-birak small { display: block; }
.afy-birak small { margin-top: 3px; color: #74829a; }
.afy-yukle { font-size: 24px; }
.afy-dosyalar { display: grid; gap: 5px; margin-top: 8px; }
.afy-dosyalar > span { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #f6f8fb; border: 1px solid #e2e9f3; border-radius: 10px; color: #33445e; font-size: 12px; }
.afy-dosyalar strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afy-dosyalar small { margin-left: auto; color: #7b889c; white-space: nowrap; }
.afy-dosyalar button { width: 24px; height: 24px; border: 0; color: #b4232f; background: transparent; cursor: pointer; font-size: 16px; }
.afy-kapsam { position: relative; margin: 18px; padding: 18px; border: 1px solid #dfe8f5; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); box-shadow: 0 10px 28px rgba(21,45,84,.05); }
.afy-kapsam-bas { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.afy-kapsam-bas p { margin: 0 0 6px; color: #6d7a91; font-size: 12.5px; }
.afy-tum { min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; color: #155fc3; background: #fff; border: 1px solid #b9cce6; border-radius: 999px; cursor: pointer; font: inherit; box-shadow: 0 8px 20px rgba(21,95,195,.08); white-space: nowrap; }
.afy-tum.on { background: #edf4ff; border-color: #155fc3; font-weight: 600; }
.afy-cipler { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.afy-cipler > span { min-height: 29px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 5px 3px 9px; color: #174f95; background: #edf4ff; border: 1px solid #cadcf4; border-radius: 999px; font-size: 12px; }
.afy-cipler button { border: 0; color: #59708d; background: transparent; font-size: 17px; cursor: pointer; line-height: 1; }
.afy-cipler.kapsam small { color: #70809a; font-size: 8.5px; font-weight: 800; }
.afy-gruplar { margin-top: 4px; max-height: 300px; overflow: auto; background: #fff; border: 1px solid #d6e0ec; border-radius: 14px; box-shadow: 0 12px 28px rgba(17,38,70,.14); }
.afy-gruplar section > strong { display: block; padding: 8px 12px 4px; color: #77859a; font-size: 10px; text-transform: uppercase; }
.afy-gruplar button { display: flex; justify-content: space-between; gap: 15px; }
.afy-gruplar small { color: #78869a; }
.afy-secenek { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 18px 18px; padding: 14px 16px; border: 1px solid #dfe8f5; border-radius: 16px; background: #fbfdff; }
.afy-hap { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; color: #25364f; background: #f7f9fc; border: 1px solid #dbe5f1; border-radius: 999px; cursor: pointer; }
.afy-hap input { width: 16px; height: 16px; accent-color: #166ac9; }
.afy-alt { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px; background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%); border-top: 1px solid #e4eaf2; }
.afy-vazgec, .afy-kaydet { min-height: 42px; padding: 0 18px; border-radius: 12px; font: inherit; font-weight: 750; cursor: pointer; }
.afy-vazgec { background: #fff; border: 1px solid #cfdcee; color: #31435d; }
.afy-kaydet { color: #fff; background: linear-gradient(135deg, #155fc3, #0f7bc8); border: 0; box-shadow: 0 14px 26px rgba(21,95,195,.24); }
.afy-kaydet:disabled, .afy-vazgec:disabled { opacity: .6; cursor: default; }
@media (max-width: 760px) {
  .afy-bant, .afy-bolum { padding-inline: 15px; }
  .afy-ikili { grid-template-columns: 1fr; }
  .afy-ikili > div + div { border-left: 0; border-top: 1px solid #e4eaf2; }
  .afy-kapsam-bas { flex-direction: column; }
  .afy-alt { display: grid; grid-template-columns: 1fr 1fr; padding-inline: 15px; }
}

/* Akış ana ekranı (Canvia düzeni): kartlar, rozetler, dosya kutusu, görünürlük şeridi, eylem çubuğu, sağ panel */
.akv { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.akv-ana { display: grid; gap: 14px; min-width: 0; }
.akv-yaz { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #e3eaf3; border-radius: 16px; box-shadow: 0 10px 28px rgba(21,45,84,.06); cursor: text; }
.akv-yaz .akv-yaz-alan { flex: 1; min-height: 44px; display: flex; align-items: center; padding: 0 14px; color: #8390a4; background: #fbfdff; border: 1px solid #d6e0ec; border-radius: 12px; }
.akv-yaz button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; color: #fff; font: inherit; font-weight: 700; background: linear-gradient(135deg, #155fc3, #0f7bc8); cursor: pointer; }
.akv-kart { position: relative; padding: 16px 18px 0; background: #fff; border: 1px solid #e3eaf3; border-radius: 16px; box-shadow: 0 10px 28px rgba(21,45,84,.06); overflow: hidden; }
.akv-kart.sabit::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #f5b800; }
.akv-kart.okunmamis { border-color: #b9d3f1; }
.akv-bas { display: flex; align-items: center; gap: 12px; }
.akv-foto { position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #155fc3, #20a4c8); }
.akv-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.akv-foto i { font-style: normal; }
.akv-kim { min-width: 0; flex: 1; display: grid; }
.akv-kim b { color: #10213d; font-size: 14px; text-transform: uppercase; letter-spacing: .01em; }
.akv-kim small { color: #7b889c; font-size: 12px; text-transform: uppercase; }
.akv-rozet { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.akv-rozet.genel { color: #155fc3; background: #e8f1ff; } .akv-rozet.duyuru { color: #b4232f; background: #fdeaec; } .akv-rozet.dokuman { color: #0b7a6e; background: #e2f6f2; }
.akv-rozet.bilgi { color: #6a3fc8; background: #f0e9ff; } .akv-rozet.sabit { color: #8a5a00; background: #fff3c4; } .akv-rozet.sistem { color: #5a6678; background: #eef1f5; }
.akv-rozet.zorunlu { color: #b4232f; background: #fff; border: 1px solid #f3b8be; }
.akv-zaman { text-align: right; color: #44546c; font-size: 12.5px; white-space: nowrap; }
.akv-zaman small { display: block; color: #8a97ab; font-size: 11px; }
.akv-sil { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid #d6e0ec; border-radius: 10px; background: #fff; color: #155fc3; cursor: pointer; font-size: 16px; }
.akv-sil:hover { color: #b4232f; border-color: #f3b8be; }
.akv-icerik { display: block; width: 100%; padding: 12px 0 4px; text-align: left; border: 0; background: none; cursor: pointer; font: inherit; color: #22344f; }
.akv-icerik strong { display: block; margin-bottom: 4px; color: #10213d; font-size: 15.5px; }
.akv-kart.sistem .akv-icerik strong { color: #155fc3; }
.akv-icerik span { display: block; white-space: pre-line; font-size: 14px; line-height: 1.55; }
.akv-kart.kompakt .akv-icerik span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #6d7a91; }
.akv-etiketler { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.akv-etiketler button { min-height: 26px; padding: 0 10px; border: 1px solid #cadcf4; border-radius: 999px; background: #edf4ff; color: #174f95; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.akv-dosyalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 10px 0 4px; }
.akv-dosya { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e2e9f3; border-radius: 12px; background: #fbfcfe; min-width: 0; }
.akv-dosya-ikon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; font-size: 10px; font-weight: 800; color: #fff; background: #155fc3; }
.akv-dosya-ikon.pdf { background: #d7192d; } .akv-dosya-ikon.img { background: #0b9a8a; } .akv-dosya-ikon.xls { background: #1d7a3e; } .akv-dosya-ikon.doc { background: #2b5fb3; }
.akv-dosya div { min-width: 0; flex: 1; display: grid; }
.akv-dosya strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #10213d; }
.akv-dosya small { color: #7b889c; font-size: 11.5px; }
.akv-dosya a, .akv-dosya button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e2e9f3; border-radius: 9px; background: #fff; color: #155fc3; text-decoration: none; cursor: pointer; font-size: 14px; }
.akv-gorunur { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #f4f7fb; color: #5a6678; font-size: 12.5px; }
.akv-eylem { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 12px -18px 0; padding: 8px 14px; border-top: 1px solid #edf1f6; background: #fcfdff; }
.akv-eylem button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 9px; background: none; color: #44546c; font: inherit; font-size: 13px; cursor: pointer; }
.akv-eylem button:hover:not(:disabled) { background: #f0f6ff; color: #155fc3; }
.akv-eylem button:disabled { color: #a3aebd; cursor: default; }
.akv-eylem .incele { border: 1px solid #b9cce6; color: #155fc3; font-weight: 700; margin-right: 6px; }
.akv-eylem .tepki.on { background: #e8f1ff; color: #155fc3; font-weight: 700; }
.akv-eylem .sag { margin-left: auto; display: flex; gap: 4px; }
.akv-eylem .okundu { color: #0b7a6e; font-weight: 700; }
.akv-kisiler { margin: 0 -18px; padding: 10px 18px 12px; border-top: 1px dashed #e2e9f3; background: #fbfdff; }
.akv-kisiler h4 { margin: 0 0 6px; font-size: 12.5px; color: #44546c; }
.akv-kisiler span { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 6px 0; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #e2e9f3; font-size: 12px; }
.akv-kisiler span small { color: #8a97ab; }
.akv-yan { display: grid; gap: 14px; position: sticky; top: 60px; }
.akv-panel { padding: 16px; background: #fff; border: 1px solid #e3eaf3; border-radius: 16px; box-shadow: 0 10px 28px rgba(21,45,84,.06); }
.akv-panel h2 { margin: 0 0 12px; font-size: 16px; color: #10213d; }
.akv-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.akv-kpi button { display: grid; gap: 2px; padding: 12px; text-align: left; border: 1px solid #e2e9f3; border-radius: 12px; background: linear-gradient(135deg, #f8fbff, #eef5ff); cursor: pointer; font: inherit; }
.akv-kpi button.on { border-color: #155fc3; box-shadow: 0 0 0 2px rgba(21,95,195,.15); }
.akv-kpi b { font-size: 22px; color: #155fc3; }
.akv-kpi small { color: #5a6678; font-weight: 600; }
.akv-pop { display: grid; }
.akv-pop button { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; border: 0; border-top: 1px solid #eef2f7; background: none; cursor: pointer; font: inherit; color: #22344f; }
.akv-pop button:first-child { border-top: 0; }
.akv-pop button span b { color: #155fc3; margin-right: 6px; }
.akv-pop small { color: #8a97ab; }
.akv-onizle { position: fixed; inset: 4vh 4vw; z-index: 60; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(6,47,87,.35); overflow: hidden; }
.akv-onizle header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e4eaf2; }
.akv-onizle header strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.akv-onizle iframe, .akv-onizle img { flex: 1; width: 100%; border: 0; object-fit: contain; background: #f4f7fb; min-height: 0; }
@media (max-width: 1100px) { .akv { grid-template-columns: minmax(0, 1fr); } .akv-yan { position: static; order: -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .akv-yan { grid-template-columns: 1fr; } .akv-bas { flex-wrap: wrap; } .akv-dosyalar { grid-template-columns: 1fr; } }
/* otomatik büyüyen çok satırlı yorum / cevap kutuları */
.akis-yorum-yaz textarea, .akis-cekmece textarea, .mb-buyur { field-sizing: content; min-height: 64px; max-height: 50vh; resize: vertical; }

/* ---- Finans › Muhasebe › Mutabakat (mtb-) ---- */
.mtb-bant { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 12px 14px; }
.mtb-bant label { display: grid; gap: 3px; font-size: 12px; color: var(--muted); }
.mtb-bant label.kutu { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); padding-bottom: 7px; }
.mtb-bant select, .mtb-bant input[type=date] { min-width: 0; }
.mtb-kaynak { display: grid; gap: 1px; padding: 3px 10px; border-left: 3px solid var(--turq); background: #F2F8FB; border-radius: 6px; }
.mtb-kaynak label.kutu { padding: 0; font-size: 12px; }
.mtb-bant select { min-width: 0; max-width: 230px; } .mtb-bant input[type=date] { min-width: 0; width: 132px; }
.mtb-kaynak small { font-size: 11px; color: var(--muted); } .mtb-kaynak b { font-size: 13px; color: var(--navy); }
.btn.mtb-getir { background: #C62828; border-color: #C62828; color: #fff; font-weight: 700; letter-spacing: .4px; margin-left: auto; }
.btn.mtb-getir:hover { background: #A61F1F; }
.mtb-grid { padding: 10px 12px; }
.mtb-gbas { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.mtb-gbas > * { flex: none; }
.mtb-gbas-ad { display: grid; } .mtb-gbas-ad b { font-size: 15px; color: var(--navy); } .mtb-gbas-ad small { color: var(--muted); }
.mtb-gbas .bosluk { flex: 1 1 auto; }
.mtb-gbas .bosluk, .mtb-pano-bas .bosluk { flex: 1; }
.mtb-donem { width: auto !important; max-width: 440px; font-weight: 600; }
.btn.no { color: #B42318; border-color: #F0B8B8; }
.mtb-pano { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; background: linear-gradient(180deg, #F8FBFD, #FFFFFF); }
.mtb-pano-bas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.mtb-pano-bas b:first-child { color: var(--navy); letter-spacing: .6px; }
.mtb-oran { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.mtb-oran b { color: var(--navy); font-size: 14px; }
.mtb-kpi { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.mtb-k { all: unset; box-sizing: border-box; cursor: pointer; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--k, #9AA8B6); border-radius: 10px; padding: 7px 10px; display: grid; gap: 1px; min-width: 0; }
.mtb-k small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtb-k b { font-size: 21px; color: var(--k, var(--navy)); line-height: 1.15; }
.mtb-k:hover { background: #F4F9FC; } .mtb-k.on { outline: 2px solid var(--k, var(--turq)); outline-offset: -1px; background: #F2F9FC; }
.mtb-k.notr { --k: #062F57; } .mtb-k.mavi { --k: #155FC3; } .mtb-k.gri { --k: #6B7A8C; } .mtb-k.turkuaz { --k: #0097C2; } .mtb-k.sari { --k: #B7791F; }
.mtb-k.yesil { --k: #0A7F5A; } .mtb-k.kirmizi { --k: #B42318; } .mtb-k.turuncu { --k: #D9600F; }
.mtb-alt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 8px; margin-top: 8px; }
.mtb-kanal { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--kc); border-radius: 10px; padding: 6px 10px; display: grid; gap: 4px; }
.mtb-kanal.wa { --kc: #25A244; } .mtb-kanal.ep { --kc: #155FC3; } .mtb-kanal.sms { --kc: #7C4DCC; }
.mtb-kanal-bas { all: unset; cursor: pointer; display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; }
.mtb-kanal-bas b { color: var(--navy); } .mtb-kanal-bas span { color: var(--muted); }
.mtb-kanal-sayi { display: flex; gap: 6px; flex-wrap: wrap; }
.mtb-kanal-sayi button { all: unset; cursor: pointer; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #F2F5F8; color: var(--muted); }
.mtb-kanal-sayi .ok { background: #E3F5EE; color: #0A7F5A; } .mtb-kanal-sayi .no { background: #FDE7E7; color: #B42318; } .mtb-kanal-sayi .eksik { background: #FFF4DB; color: #8A5A00; }
.mtb-pb { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 10px; padding: 6px 10px; font-size: 12.5px; }
.mtb-pb-bas, .mtb-pb-satir { display: grid; grid-template-columns: 40px repeat(4, minmax(0, 1fr)); gap: 6px; }
.mtb-pb-bas { color: var(--muted); font-size: 11.5px; border-bottom: 1px solid var(--line); padding-bottom: 2px; margin-bottom: 2px; }
.mtb-pb-bas span, .mtb-pb-satir span { text-align: right; white-space: nowrap; }
.mtb-pb-satir b { color: var(--navy); } .mtb-pb .yesil { color: #0A7F5A; } .mtb-pb .kirmizi { color: #B42318; font-weight: 600; }
.mtb-suz { margin: 4px 0 6px; }
.mtb-suz .ara { min-width: 260px; }
.mtb-toplu { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 3px 8px; background: #EEF8FC; border: 1px solid #BFE3F0; border-radius: 8px; }
.btn.mtb-wa { border-color: #25A244; color: #157A33; } .btn.mtb-ep { border-color: #155FC3; color: #155FC3; } .btn.mtb-sms { border-color: #7C4DCC; color: #6A3FC8; }
.mtb-tablo td { vertical-align: top; }
.mtb-tablo th.sirala { cursor: pointer; user-select: none; } .mtb-tablo th.sirala:hover { color: var(--turq); }
.mtb-ikonlar { white-space: nowrap; }
.mtb-tablo td.mtb-ikonlar { overflow: visible; text-overflow: clip; padding-left: 2px; padding-right: 2px; }
.mtb-ikonlar button { all: unset; box-sizing: border-box; cursor: pointer; width: 18px; height: 22px; text-align: center; font-size: 12px; border-radius: 4px; }
.mtb-ikonlar button:hover:not(:disabled) { background: #E3F1F8; } .mtb-ikonlar button:disabled { opacity: .3; cursor: default; }
.mtb-ikonlar button.sil:hover:not(:disabled) { background: #FDE7E7; }
.mtb-cari { min-width: 0; }
.mtb-cari b { display: inline; } .mtb-cari small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtb-cari .satir-ac { cursor: pointer; color: var(--muted); margin-right: 4px; }
.mtb-iletisim { display: flex !important; gap: 10px; } .mtb-iletisim span { overflow: hidden; text-overflow: ellipsis; } .mtb-iletisim .eksik { color: #B25B00; }
.mtb-duz { color: var(--turq); margin-left: 4px; font-size: 11px; }
.mtb-pbs { line-height: 20px; white-space: nowrap; }
.mtb-fark { display: block; color: #B42318; font-size: 11px; line-height: 13px; }
.mtb-tur { display: inline-block; min-width: 18px; text-align: center; border-radius: 4px; font-weight: 700; font-size: 11.5px; background: #EEF1F4; color: var(--muted); }
.mtb-tur.b { background: #E3F4F6; color: #0B7285; } .mtb-tur.a { background: #FDE7E7; color: #B42318; }
.mtb-tablo td.mtb-kanallar { overflow: visible; text-overflow: clip; } .mtb-kanallar { white-space: nowrap; font-size: 11.5px; } .mtb-kanallar span { display: inline-block; min-width: 27px; padding: 1px 3px; margin-right: 2px; border-radius: 4px; color: var(--muted); }
.mtb-donemh small { display: block; color: var(--muted); font-size: 11px; }
.mtb-kanallar .ok { background: #E3F5EE; color: #0A7F5A; font-weight: 600; } .mtb-kanallar .no { background: #FDE7E7; color: #B42318; font-weight: 700; }
tr.mtb-iptal td { opacity: .55; } tr.mtb-gec td:first-child { box-shadow: inset 3px 0 0 #D9600F; } tr.mtb-degil td:first-child { box-shadow: inset 3px 0 0 #B42318; }
.tag.y { background: #FFF4DB; color: #8A5A00; }
.mtb-detay { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mtb-pencere { width: min(1180px, calc(100vw - 24px)) !important; }
.mtb-sekmeler { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.mtb-sekmeler button { all: unset; cursor: pointer; padding: 8px 16px; font-weight: 700; font-size: 13px; letter-spacing: .5px; color: var(--muted); border-bottom: 3px solid transparent; }
.mtb-sekmeler button.on.wa { color: #157A33; border-color: #25A244; } .mtb-sekmeler button.on.ep { color: #155FC3; border-color: #155FC3; } .mtb-sekmeler button.on.sms { color: #6A3FC8; border-color: #7C4DCC; }
.mtb-gonder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 14px; }
.mtb-bilgi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-content: start; }
.mtb-bilgi > div { display: grid; gap: 2px; } .mtb-bilgi .genis { grid-column: 1 / -1; }
.mtb-bilgi small { color: var(--muted); font-size: 11.5px; } .mtb-bilgi b.eksi { color: #B42318; }
.mtb-bakiyeler table { margin: 0; }
.mtb-mesaj { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mtb-mesaj-bas { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; } .mtb-mesaj-bas span { color: var(--muted); font-size: 12.5px; }
iframe.mtb-eposta { width: 100%; height: 52vh; border: 1px solid var(--line); border-radius: 8px; background: #EEF2F6; }
pre.mtb-kisa { white-space: pre-wrap; font-family: inherit; background: #F4F7F9; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 0; max-height: 46vh; overflow: auto; }
.btn.mtb-gonder-tus.wa { background: #1E8E3E; border-color: #1E8E3E; } .btn.mtb-gonder-tus.sms { background: #6A3FC8; border-color: #6A3FC8; }
.mtb-pencere .btns { display: flex; gap: 8px; align-items: center; } .mtb-pencere .btns .bosluk { flex: 1; }
.mtb-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mtb-gecmis { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 14px; max-height: 64vh; overflow: auto; }
.mtb-gecmis h4 { margin: 4px 0 6px; color: var(--navy); font-size: 13px; }
.mtb-gk { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 1px; width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-left: 3px solid #0A7F5A; border-radius: 8px; margin-bottom: 6px; font-size: 12.5px; }
.mtb-gk.hata { border-left-color: #B42318; } .mtb-gk.on { background: #EEF8FC; border-color: var(--turq); }
.mtb-gk span, .mtb-gk small { color: var(--muted); }
.mtb-cizelge { display: grid; gap: 6px; } .mtb-cizelge > div { display: grid; border-left: 2px solid var(--line); padding-left: 10px; font-size: 12.5px; } .mtb-cizelge small { color: var(--muted); }
.mtb-pdf { width: min(1000px, calc(100vw - 24px)) !important; height: calc(100vh - 40px); display: flex; flex-direction: column; }
.mtb-pdf iframe { flex: 1; width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.mtb-ayar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mtb-ayar .card { padding: 12px 14px; } .mtb-ayar h3 { margin: 0 0 8px; color: var(--navy); font-size: 14px; } .mtb-ayar .genis-kart { grid-column: 1 / -1; }
.mtb-oncelik { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mtb-onc { display: inline-flex; gap: 4px; align-items: center; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #F4F7F9; }
.mtb-kisiler { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 10px; max-height: 180px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
@media (max-width: 1500px) { .mtb-k { padding: 5px 8px; } .mtb-k small { font-size: 11px; } .mtb-k b { font-size: 19px; } .mtb-alt { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); } }
@media (max-width: 1250px) { .mtb-kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); } .mtb-alt { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mtb-alt .mtb-pb { grid-column: 1 / -1; } }
@media (max-width: 1100px) { .mtb-gonder, .mtb-gecmis, .mtb-ayar { grid-template-columns: 1fr; } }
/* Lisans ve Güncelleme: güncelleme ilerlemesi ve servis yeniden başlarken perde */
.guncelleme-ilerleme { margin: 10px 0; padding: 10px 12px; border: 1px solid #C7EBF0; border-radius: 8px; background: #F2FAFB; display: grid; gap: 6px; }
.guncelleme-ilerleme .ilerleme, #cb-guncelleme-perde .ilerleme { height: 14px; }
#cb-guncelleme-perde { position: fixed; inset: 0; z-index: 200000; background: rgba(6, 47, 87, .55); display: grid; place-items: center; }
#cb-guncelleme-perde .kutu { background: #fff; border-radius: 12px; padding: 22px 26px; width: min(460px, calc(100vw - 32px)); display: grid; gap: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
#cb-guncelleme-perde .yuzde { font-size: 22px; font-weight: 700; color: #062F57; text-align: right; }
/* Akış: paylaşım kartının altında yorumlar ve hızlı yorum (incele'ye girmeden) */
.akv-yorumlar { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; display: grid; gap: 6px; }
.akv-yorum { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; }
.akv-yorum.cevap { margin-left: 30px; }
.akv-yorum > div { background: var(--zebra, #F5F8FB); border-radius: 8px; padding: 6px 10px; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.akv-yorum small { display: block; color: var(--muted); font-size: 11.5px; }
.akv-yorum-ek { display: block; font-size: 12px; }
.akv-hizli { display: grid; gap: 6px; margin-top: 4px; }
.akv-hizli textarea { width: 100%; box-sizing: border-box; min-height: 34px; resize: vertical; }
.akv-hizli-tus { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.akv-secilen { display: flex; flex-wrap: wrap; gap: 4px; }
.akv-secilen button { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 2px 8px; font-size: 12px; cursor: pointer; }
.akis-bahset { position: relative; }
/* Lisans ve Güncelleme: iki eşit kart, üstte güncelleme durum şeridi */
.two.lisans-sayfa { align-items: stretch; }
.lisans-sayfa .card h2 { display: flex; align-items: center; gap: 8px; }
.lisans-sayfa .bilgi-tablo { width: 100%; }
.lisans-sayfa .bilgi-tablo td:first-child { width: 42%; color: var(--muted); }
.lisans-sayfa input.tam { width: 100%; box-sizing: border-box; }
.guncelleme-durum { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #F5F8FB; }
.guncelleme-durum > div { flex: 1; min-width: 0; display: grid; }
.guncelleme-durum small { color: var(--muted); }
.guncelleme-durum.yeni { background: #E9F7F0; border-color: #A9DCC4; }
.akv-cevapla { all: unset; display: inline-block; font-size: 12px; color: var(--turq, #0097C2); margin-top: 2px; cursor: pointer; }
/* PDKS ve Kapı Cihazları: cihaz kutuları (liste) */
.cihaz-kutulari { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cihaz-kutu { display: grid; gap: 8px; align-content: start; text-align: left; font: inherit; color: inherit; background: var(--surface, #fff); border: 1px solid var(--line); border-left: 4px solid #A7B1BC; border-radius: 10px; padding: 12px 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(6,47,87,.06); }
.cihaz-kutu:hover { box-shadow: 0 4px 14px rgba(6,47,87,.12); }
.cihaz-kutu.iyi { border-left-color: #2EAD5B; }
.cihaz-kutu.kotu { border-left-color: #E5484D; }
.cihaz-kutu.pasif { opacity: .65; }
.cihaz-kutu.yeni { place-items: center; text-align: center; border: 2px dashed var(--line); border-left: 2px dashed var(--line); min-height: 170px; color: var(--muted); }
.cihaz-kutu.yeni span { font-size: 30px; color: var(--turq, #0097C2); }
.ck-ust { display: flex; align-items: center; gap: 10px; }
.ck-ikon { font-size: 24px; width: 40px; height: 40px; display: grid; place-items: center; background: #EEF3F8; border-radius: 10px; flex: none; }
.ck-ad { flex: 1; min-width: 0; display: grid; }
.ck-ad b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-ad small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-durum { font-size: 13px; }
.cihaz-kutu.iyi .ck-durum { color: #1E7A3E; }
.cihaz-kutu.kotu .ck-durum { color: #B42318; }
.ck-sayilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ck-sayilar div { background: #F5F8FB; border-radius: 8px; padding: 6px 8px; display: grid; }
.ck-sayilar b { font-size: 16px; }
.ck-sayilar small { color: var(--muted); font-size: 11.5px; }
.ck-etiket { display: flex; flex-wrap: wrap; gap: 4px; min-height: 4px; }
.ck-tus { display: flex; gap: 6px; }
/* cihaz ekranı: durum kutuları, adımlar, seçim kartları */
.cihaz-durum { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 8px; padding: 12px 16px 0; }
.cd-kutu { display: grid; gap: 2px; text-align: left; font: inherit; color: inherit; background: #F5F8FB; border: 1px solid var(--line); border-top: 3px solid #A7B1BC; border-radius: 8px; padding: 8px 10px; }
button.cd-kutu { cursor: pointer; }
.cd-kutu small { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .3px; }
.cd-kutu b { font-size: 16px; }
.cd-kutu span { color: var(--muted); font-size: 12px; }
.cd-kutu.iyi { border-top-color: #2EAD5B; } .cd-kutu.iyi b { color: #1E7A3E; }
.cd-kutu.kotu { border-top-color: #E5484D; } .cd-kutu.kotu b { color: #B42318; }
.cd-kutu.uyari { border-top-color: #F2B437; } .cd-kutu.uyari b { color: #8A5A00; }
.adimlar { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 4px 0 10px; padding: 8px 12px; background: #F2FAFB; border: 1px solid #C7EBF0; border-radius: 8px; }
.adimlar span { display: inline-flex; align-items: center; gap: 6px; }
.adimlar > span > b:first-child { width: 22px; height: 22px; border-radius: 11px; background: var(--turq, #0097C2); color: #fff; display: grid; place-items: center; font-size: 12px; }
tr.yeni-satir td { background: #E9F7F0 !important; }
.secim-kartlari { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 720px; }
.secim-kartlari button { display: grid; gap: 2px; text-align: left; font: inherit; color: inherit; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.secim-kartlari button span { color: var(--muted); font-size: 12.5px; }
.secim-kartlari button.on { border-color: #2EAD5B; background: #F0FAF4; }
.secim-kartlari button.on.uyari { border-color: #F2B437; background: #FFF8E8; }
/* Kasa ve Banka / Çek-Senet: KPI'ya tıklayınca açılan özet ve "Analiz ve sonuç" */
.ozet-panel { margin: 0 0 12px; border-top: 3px solid var(--turq, #0097C2); }
.op-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.op-bas h2 { margin: 0; font-size: 16px; }
.op-sayilar { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 10px; }
.op-sayilar div { background: #F5F8FB; border-radius: 8px; padding: 6px 10px; display: grid; }
.op-sayilar small { color: var(--muted); font-size: 11.5px; }
.op-sayilar b { font-size: 15px; }
.op-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.op-pay h4 { margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
.pay-satir { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr auto; gap: 8px; align-items: center; font-size: 12.5px; padding: 3px 0; }
.pay-satir > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-satir > i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #20a4c8, #155fc3); min-width: 2px; }
.pay-satir.eksi > i { background: #E5484D; }
.pay-satir > b { white-space: nowrap; font-weight: 600; }
.pay-satir > small { grid-column: 1 / -1; color: var(--muted); margin-top: -2px; }
.op-pay .pay-satir:not(:has(i)) { grid-template-columns: 1fr auto; }
.pano-kart.analiz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; }
.pano-kart.analiz li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: start; line-height: 1.35; }
.pano-kart.analiz li span { text-align: center; }
@media (max-width: 1100px) { .op-iki { grid-template-columns: 1fr; } }

/* Raporlar › Finans › Nakit Akış Raporu */
.na-arac { flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.na-uyari { background: #FFF6E5; border: 1px solid #F2D29B; color: #7A4B00; border-radius: 8px; padding: 6px 12px; margin-bottom: 8px; font-size: 12.5px; }
.na-cizelge-kart { padding: 0; margin-bottom: 12px; overflow: hidden; }
.card table.na-cizelge { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.card table.na-cizelge th { position: sticky; top: 0; background: #EEF3F7; color: var(--navy); font-weight: 600; padding: 6px 4px; white-space: nowrap; border-bottom: 1px solid #D3DDE6; z-index: 1; }
.card table.na-cizelge td { padding: 4px 4px; border-bottom: 1px solid #EDF1F5; white-space: nowrap; }
.card table.na-cizelge .na-ad { position: sticky; left: 0; background: var(--surface); text-align: left; min-width: 140px; max-width: 160px; white-space: normal !important; line-height: 1.25; padding-left: 10px !important; z-index: 2; }
.card table.na-cizelge th.na-ad { background: #EEF3F7; z-index: 3; }
.card table.na-cizelge td.tikla { cursor: pointer; }
.card table.na-cizelge td.tikla:hover { background: #E3F1F8 !important; }
.card table.na-cizelge .na-gec { background: #FFF8EC !important; }
.card table.na-cizelge th.na-gec { background: #FCEBCB !important; }
.card table.na-cizelge th.na-sec, .card table.na-cizelge tr.na-sec td, .card table.na-cizelge tr.na-sec td.na-ad { background: #E3F1F8; }
.card table.na-cizelge td.na-hucre { background: #BFE3F2 !important; font-weight: 700; }
.card table.na-cizelge tr.na-baslik td { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding-top: 8px; }
.card table.na-cizelge tr.na-baslik.na-gir td { color: #0A7F5A; } .card table.na-cizelge tr.na-baslik.na-cik td { color: #C62828; }
.card table.na-cizelge tr.na-toplam td { font-weight: 700; background: #F5F8FB; }
.card table.na-cizelge tr.na-toplam td.na-ad { background: #F5F8FB; }
.card table.na-cizelge tr.na-toplam.na-gir td { color: #0A7F5A; } .card table.na-cizelge tr.na-toplam.na-cik td { color: #C62828; }
.card table.na-cizelge tr.na-bakiye td { color: #36536F; font-weight: 600; background: #F8FAFC; } .card table.na-cizelge tr.na-bakiye td.na-ad { background: #F8FAFC; }
.card table.na-cizelge tr.na-net td { font-weight: 700; border-top: 2px solid #D3DDE6; }
.card table.na-cizelge tr.na-net td.arti { color: #0A7F5A; }
.card table.na-cizelge tr.na-kapanis td { font-weight: 800; color: #fff; background: var(--navy); border-bottom: 0; }
.card table.na-cizelge tr.na-kapanis td.na-ad { background: var(--navy); }
.card table.na-cizelge tr.na-kapanis td.na-eksi { background: #C62828; }
.na-seyir { width: 100%; height: auto; display: block; }
.na-seyir .izgara { stroke: #E6ECF2; stroke-width: 1; }
.na-seyir .sifir { stroke: #8FA3B6; stroke-width: 1.2; }
.na-seyir .eksen { font-size: 12px; fill: #5B7186; }
.na-seyir rect.na-gir { fill: #2BAE66; } .na-seyir rect.na-cik { fill: #E2574C; }
.na-seyir .bakiye { fill: none; stroke: #062F57; stroke-width: 2.4; stroke-linejoin: round; }
.na-seyir .nokta { fill: #fff; stroke: #062F57; stroke-width: 2; } .na-seyir .nokta.eksi { fill: #C62828; stroke: #C62828; }
.na-detay-bas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 8px; }
.na-detay-bas b { color: var(--navy); font-size: 14px; }
.card.na-cizelge-kart .tablo-kaydir { max-height: none !important; min-height: 0 !important; height: auto !important; overflow-y: hidden; padding-bottom: 2px; }
.na-ust { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 12px; margin-bottom: 12px; }
@media (max-width: 1100px) { .na-ust { grid-template-columns: 1fr; } }
.pano.na-pano { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 12px; }
.na-pano .pano-kart.genis2 { grid-column: span 2; }
.na-seyir { max-height: 300px; }

/* Finans › Bütçe: kart, Excel gibi giriş gridi, rapor */
.bt-bas { display: grid; gap: 10px; margin-bottom: 12px; }
.bt-form { grid-template-columns: 100px 220px 110px minmax(200px, 1fr) minmax(200px, 1fr); }
.bt-form .genis { grid-column: auto; }
.bt-durum { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border-top: 1px solid #E6ECF2; padding-top: 10px; }
.bt-durum .btns { flex-wrap: wrap; margin-left: auto !important; }
@media (max-width: 1100px) { .bt-form { grid-template-columns: 100px 1fr 110px; } .bt-form .genis { grid-column: 1 / -1; } }
.ozet-serit.bt-kpi { grid-template-columns: repeat(6, minmax(0, 1fr)); } .ozet-serit.bt-kpi b { font-size: 19px; } .ozet-serit.bt-kpi span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-kart { padding: 0; margin-bottom: 12px; overflow: hidden; }
.bt-arac { padding: 8px 12px; gap: 8px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #DCE4EC; margin: 0; }
.bt-ayrac { width: 1px; height: 22px; background: #D3DDE6; }
.bt-yuzde { width: 64px !important; text-align: right; }
.card .tablo-kaydir.bt-izgara-kap, .card .tablo-kaydir.bt-kurlar { max-height: calc(100vh - 330px) !important; min-height: 0 !important; }
.bt-kurlar { border-bottom: 1px solid #DCE4EC; max-height: none !important; overflow-y: hidden !important; }
table.bt-izgara { font-size: 11.5px; font-variant-numeric: tabular-nums; border-collapse: separate; border-spacing: 0; }
table.bt-izgara th { position: sticky; top: 0; background: #EEF3F7; color: var(--navy); font-weight: 600; padding: 6px 4px; white-space: nowrap; z-index: 2; border-bottom: 1px solid #D3DDE6; }
table.bt-izgara td { padding: 1px 2px; border-bottom: 1px solid #EDF1F5; white-space: nowrap; background: var(--surface); }
table.bt-izgara .bt-kalem { position: sticky; left: 0; z-index: 1; min-width: 170px; max-width: 210px; padding-left: 8px; }
table.bt-izgara th.bt-kalem { z-index: 3; }
table.bt-izgara select, table.bt-izgara input { height: 26px; font-size: 11.5px; padding: 0 4px; border-color: #E1E8EF; }
table.bt-izgara .bt-kalem select { width: 100%; }
.bt-dep { width: 120px; } .bt-proje { width: 80px; }
input.bt-hucre { width: 70px; text-align: right; font-variant-numeric: tabular-nums; padding: 0 4px !important; }
input.bt-hucre:focus { background: #FFFBE6; border-color: var(--turq); }
input.bt-top { width: 88px; font-weight: 700; background: #F5F8FB; }
.bt-sil { height: 24px; padding: 0 6px; color: var(--warn); }
table.bt-izgara tr.bt-grup td { background: #F1F6FA; font-weight: 700; color: var(--navy); padding: 5px 4px; border-top: 1px solid #D3DDE6; }
table.bt-izgara tr.bt-grup.gelir td:first-child { border-left: 4px solid #2BAE66; }
table.bt-izgara tr.bt-grup.gider td:first-child { border-left: 4px solid #E2574C; }
table.bt-izgara tr.bt-grup.yatirim td:first-child { border-left: 4px solid #8E5CC9; }
.card table.bt-izgara tr.bt-kar td, .card table.bt-rapor tr.bt-kar td { background: var(--navy) !important; color: #fff; font-weight: 700; padding: 6px 4px; }
.card table.bt-izgara tr.bt-kar td.eksi { background: #C62828 !important; }
.bt-alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.bt-h3 { margin: 0 0 8px; font-size: 13.5px; color: var(--navy); }
/* rapor */
.card table.bt-rapor { font-size: 12px; font-variant-numeric: tabular-nums; }
.card table.bt-rapor th { position: sticky; top: 0; background: #EEF3F7; color: var(--navy); font-weight: 600; padding: 6px 6px; white-space: nowrap; z-index: 2; }
.card table.bt-rapor td { padding: 5px 6px; border-bottom: 1px solid #EDF1F5; white-space: nowrap; }
.card table.bt-rapor tr.bt-grup td { background: #F1F6FA !important; font-weight: 700; color: var(--navy); }
.card table.bt-rapor tr.na-sec td { background: #E3F1F8 !important; }
.card table.bt-rapor td.arti { color: #0A7F5A; }
.bt-bar { position: relative; height: 16px; min-width: 110px; border-radius: 8px; background: #E4EAF0; overflow: hidden; }
.bt-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #0097C2, #2BAE66); border-radius: 8px; }
.bt-bar i.uyar { background: linear-gradient(90deg, #F5A54A, #E8A317); } .bt-bar i.asim { background: linear-gradient(90deg, #E2574C, #C62828); }
.bt-bar span { position: relative; display: block; text-align: center; font-size: 10.5px; line-height: 16px; font-weight: 700; color: var(--navy); }
.bt-grafik rect.bt-b, .na-seyir rect.bt-b { fill: #9FB4C8; } .na-seyir rect.bt-g { fill: #0097C2; } .na-seyir rect.bt-g.kotu { fill: #E2574C; }
.na-seyir .bt-kb { fill: none; stroke: #062F57; stroke-width: 2; stroke-dasharray: 5 4; } .na-seyir .bt-kg { fill: none; stroke: #062F57; stroke-width: 2.6; }
.na-seyir .kum { fill: #062F57; } .na-seyir .deger { font-size: 10.5px; fill: #36536F; font-weight: 600; }
.na-seyir rect.bt-sel.kotu { fill: #E2574C; } .na-seyir rect.bt-sel.iyi { fill: #2BAE66; }
.bt-gauge { display: grid; gap: 8px; }
.bt-gauge-satir { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12px; }
.bt-gauge-satir > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #36536F; }
.bt-ggk { display: grid; gap: 12px; margin-bottom: 6px; }
.bt-ggk-satir { display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 8px; align-items: center; font-size: 12px; }
.bt-ggk-satir > div { display: grid; gap: 3px; }
.bt-ggk-cubuk { height: 16px; border-radius: 4px; min-width: 2px; position: relative; }
.bt-ggk-cubuk.b { background: #9FB4C8; } .bt-ggk-cubuk.g { background: #0097C2; } .bt-ggk-cubuk.g.kotu { background: #E2574C; } .bt-ggk-cubuk.eksi { opacity: .7; }
.bt-ggk-cubuk span { position: absolute; left: calc(100% + 6px); top: 0; line-height: 16px; font-size: 11px; color: #36536F; white-space: nowrap; }
.bt-ggk-satir small { text-align: right; font-weight: 700; }
.bt-eslesmeyen { margin-top: 12px; } .bt-eslesmeyen summary { cursor: pointer; padding: 4px 0; }
.be-param { margin-bottom: 4px; }
.sa-butce { margin: 10px 0; border-top: 3px solid #2BAE66; } .sa-butce.asim { border-top-color: #C62828; } .sa-butce h3 .note { font-weight: 400; margin-left: 6px; }

/* ---- Ekler (resim / belge; zimmet eşyası ve zimmet kaydı) ---- */
.kart-avatar.resimli { padding: 0; overflow: hidden; background: #fff; }
.kart-avatar.resimli img { width: 100%; height: 100%; object-fit: cover; }
.ek-bolumler { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 1100px) { .ek-bolumler { grid-template-columns: 1fr; } }
.ek-arac { gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.ek-arac select { width: 190px; }
.ek-arac input { width: 220px; }
.ek-sec { position: relative; overflow: hidden; }
.ek-sec input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ek-listesi td input, .ek-listesi td select { width: 100%; min-width: 90px; }
.ek-resimler { display: flex; flex-wrap: wrap; gap: 10px; }
.ek-resimler figure { margin: 0; width: 160px; border: 1px solid var(--line, #dfe3ea); border-radius: 10px; overflow: hidden; background: var(--surface); }
.ek-resimler figure.kapak { border-color: #16a34a; box-shadow: 0 0 0 2px rgba(22, 163, 74, .25); }
.ek-resimler figure.bekliyor { border-style: dashed; }
.ek-resimler img { display: block; width: 100%; height: 110px; object-fit: cover; cursor: zoom-in; background: #f3f5f8; }
.ek-resimler .ek-dosya { height: 110px; display: grid; place-items: center; font-size: 12px; padding: 6px; text-align: center; word-break: break-all; }
.ek-resimler figcaption { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 6px; font-size: 12px; }
.ek-resimler figcaption input { flex: 1 1 100%; order: 3; min-width: 0; font-size: 12px; padding: 3px 6px; }
.ek-buyut { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 14, 22, .86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.ek-buyut img { max-width: 94vw; max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ek-buyut-alt { display: flex; gap: 8px; align-items: center; color: #fff; flex-wrap: wrap; justify-content: center; }
td.kucuk-resim { padding: 2px 4px !important; }
td.kucuk-resim img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; display: block; }

/* ---- Yenilikler ---- */
.yenilik-duzen { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .yenilik-duzen { grid-template-columns: 1fr; } }
.yenilik-onizleme h3 { margin: 0 0 8px; font-size: 13px; color: var(--muted, #667085); }
.secim-satir { display: flex; flex-wrap: wrap; gap: 14px; }
.lisans-sec { max-height: 220px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 14px; margin-top: 6px; padding: 6px; border: 1px solid var(--line, #dfe3ea); border-radius: 8px; }
.yayin-kutu b { color: #16a34a; }
.yenilik-gorseller { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.yenilik-gorseller figure { margin: 0; width: 200px; }
.yenilik-gorseller img { width: 100%; max-height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line, #dfe3ea); display: block; }
.yenilik-gorseller figcaption { font-size: 12px; display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.yenilik-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; align-items: start; }
.yenilik-liste .yenilik-kart.acik { grid-column: 1 / -1; }
.yenilik-kart { cursor: pointer; border-left: 4px solid transparent; }
.yenilik-kart.yeni { border-left-color: #7A3FD6; }
.yenilik-kart .yk-ust { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.yenilik-kart .yk-ust b { font-size: 15px; }
.yenilik-kart .yk-ust small { color: var(--muted, #667085); margin-left: auto; }
.yenilik-kart .yk-ozet { margin: 6px 0; color: var(--muted, #475467); }
.yenilik-kart .yk-kapak, .yenilik-kart > img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; margin-top: 6px; display: block; }
.yenilik-kart .yk-metin p { margin: 4px 0; }
.yenilik-kart .yk-metin ul { margin: 4px 0 4px 18px; padding: 0; }
.yenilik-kart .yenilik-gorseller img { max-height: 320px; width: auto; max-width: 100%; }
.yenilik-pencere { position: fixed; inset: 0; z-index: 900; background: rgba(10, 14, 22, .55); display: grid; place-items: center; padding: 16px; }
.yenilik-pencere > div { background: var(--surface); border-radius: 14px; width: min(720px, 100%); max-height: 88vh; overflow: auto; padding: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.yenilik-pencere h2 { margin: 0 0 10px; }
.yenilik-pencere .yenilik-kart { cursor: default; margin-bottom: 10px; }

/* ---- Şifre alanı göz simgesi / şifremi unuttum ---- */
.parola-goz-kat { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1100; }
input.parola-gozlu { padding-right: 36px !important; }
.parola-goz { position: absolute; width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted, #68788A); padding: 0; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.parola-goz:hover { color: var(--text, #17273B); background: rgba(0, 0, 0, .06); }
.parola-goz.acik { color: #0097C2; }
.giris-unuttum { display: block; text-align: center; margin-top: 10px; font-size: 13px; }
.giris.tek { min-height: 100vh; display: grid; place-items: center; padding: 16px; box-sizing: border-box; }
.giris.tek .giris-alan { width: min(420px, 100%); }
.sifre-kutu h2 { margin-top: 4px; }
.sifre-kutu form { display: flex; flex-direction: column; gap: 6px; }
.kod-alani { font-size: 22px !important; letter-spacing: 6px; text-align: center; }
input.parola-gozlu::-ms-reveal, input.parola-gozlu::-ms-clear { display: none; }
a.user { color: inherit; text-decoration: none; border-radius: 18px; padding: 2px 8px 2px 4px; }
a.user:hover { background: rgba(255, 255, 255, .12); }

/* ---- Personel kartı › Ücret ---- */
.ucret-duzen { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 14px; align-items: start; }
@media (max-width: 1200px) { .ucret-duzen { grid-template-columns: 1fr; } }
.ucret-ozet .ucret-baslik { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.ucret-ozet .ucret-baslik small { color: var(--muted); }
.ucret-ozet .ozet-serit .vurgu b { color: #0097C2; }
.ucret-dokum td { padding: 4px 8px; }
.ucret-dokum tr.toplam td { font-weight: 700; border-top: 2px solid var(--line); }
.maas-pratik { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.maas-pratik > div { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--surface); }
.maas-pratik small { display: block; color: var(--muted); font-size: 11px; }
.maas-pratik b { display: block; font-size: 15px; }
.maas-pratik span { font-size: 11px; color: var(--muted); }

/* Onay Merkezi › Bilgi İste: kişi seçimi ve önizlemedeki bilgi istekleri (Can, 20.10.2026) */
.om-bilgi-paneli { margin-top: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel, #fff); display: grid; gap: 6px; }
.om-bilgi-paneli .ara { max-width: 320px; }
.om-kisiler { display: flex; flex-wrap: wrap; gap: 4px 6px; max-height: 150px; overflow: auto; }
.om-kisiler label { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 14px; font-size: 12px; cursor: pointer; }
.om-kisiler label.on { border-color: var(--accent, #1F6FB2); background: color-mix(in srgb, var(--accent, #1F6FB2) 10%, transparent); }
.om-bilgiler { padding: 6px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; font-size: 12.5px; }
.om-bilgiler > div { padding: 5px 8px; border-left: 3px solid var(--line); }
.om-bilgiler > div.bekliyor { border-left-color: #E8A33D; }

/* Personel kartı › Maaş Bilgisi sekmesi: kutu geniş, alanlar tek sırada (Can, 20.10.2026) */
.kart-bolumler.maas-sekmesi { grid-template-columns: minmax(0, 1100px); }
.kart-bolumler.maas-sekmesi section.maas-kutusu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kart-bolumler.maas-sekmesi section.maas-kutusu > h3, .kart-bolumler.maas-sekmesi section.maas-kutusu > .genis { grid-column: 1 / -1; }
.kart-bolumler.maas-sekmesi .maas-pratik { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .kart-bolumler.maas-sekmesi section.maas-kutusu { grid-template-columns: 1fr 1fr; } .kart-bolumler.maas-sekmesi .maas-pratik { grid-template-columns: 1fr 1fr; } }

/* Personel kartı › İzinler: hak ediş dökümü */
.izin-dokum { margin: 6px 0 10px; }
.izin-dokum summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.izin-dokum table { margin-top: 6px; max-width: 640px; }

/* PDKS giriş-çıkış işaretleri (Can, 20.10.2026): O orijinal (sade), D düzeltildi (kırmızı), M manuel (turuncu); yalnız ilgili saat hücresi boyanır */
.pdks-gc td.saat { white-space: nowrap; }
.pdks-gc td.saat i, .pdks-isaret i, .pdks-lejant i { display: inline-block; min-width: 16px; margin-left: 5px; padding: 0 4px; border-radius: 4px; font-style: normal; font-size: 10.5px; font-weight: 700; text-align: center; background: #E7EBF0; color: #55606E; }
.pdks-gc td.isaret-d, td.pdks-isaret.isaret-d { background: #FDE2E2 !important; }
.pdks-gc td.isaret-d i, .pdks-isaret.isaret-d i, .pdks-lejant i.isaret-d { background: #D92D20; color: #fff; }
.pdks-gc td.isaret-m, td.pdks-isaret.isaret-m { background: #FFEBCC !important; }
.pdks-gc td.isaret-m i, .pdks-isaret.isaret-m i, .pdks-lejant i.isaret-m { background: #E8890C; color: #fff; }
.pdks-lejant { margin-left: auto; font-size: 12px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.pdks-lejant i { margin-left: 8px; }

/* cihaz kartı: Gelişmiş katlanır bölüm */
details.kart-bolum.gelismis > summary { cursor: pointer; list-style: none; }

/* Vardiya kartı: haftalık plan ve mola grid'i */
.vrd-plan input[type=time], .vrd-mola input[type=time] { width: 110px; }
.vrd-plan tr.tatil td { color: var(--muted); background: #F7F9FB; }
.vrd-plan tr.toplam td { border-top: 2px solid var(--line); background: #EEF3F8; }
.vrd-mola select { min-width: 150px; }
.vrd-gunler { white-space: nowrap; }
.vrd-gunler label.kutu { margin: 0 6px 0 0; font-size: 11.5px; }
.pdks-gc td.tik { cursor: pointer; }
.pdks-gc td.tik:hover { box-shadow: inset 0 0 0 1px #2A78D6; }
.pdks-gc tr.pasif td { text-decoration: line-through; color: #8A94A6; }
.kart-atamalari { display: block; }
.kart-atamalari small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 3px; }
.kart-atamalari table { width: 100%; font-size: 12px; }
.kart-atamalari tr.pasif td { color: #8A94A6; }
.belge-ekle-form { margin-bottom: 8px; }

/* Satış Haritası (CbSahada İşletmem haritası düzeninde) */
.harita-arac { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.harita-seg { display: inline-flex; border: 1px solid #C9D6E3; border-radius: 8px; overflow: hidden; background: var(--surface); }
.harita-seg button { border: 0; background: none; padding: 6px 10px; font-size: 12.5px; cursor: pointer; color: inherit; }
.harita-seg button + button { border-left: 1px solid #DCE4EC; }
.harita-seg button.on { background: #0B4F8A; color: #fff; }
.harita-izgara { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; }
.harita-sayfa.mobil .harita-izgara { grid-template-columns: 1fr; }
.harita-kart-ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.harita-cizim svg { width: 100%; height: auto; max-height: 560px; display: block; }
.harita-sekiller path { stroke: #fff; stroke-width: .6; transition: fill .25s, opacity .2s; }
.harita-sekiller path.var { cursor: pointer; }
.harita-sekiller path.var:hover { opacity: .8; stroke: #F36C21; stroke-width: 1.4; }
.harita-sekiller path.sec { stroke: #F36C21; stroke-width: 2.4; }
.harita-kabarcik { fill: #F36C21; fill-opacity: .55; stroke: #fff; stroke-width: .8; cursor: pointer; }
.harita-etiket { pointer-events: none; }
.harita-etiket rect { fill: rgba(255, 255, 255, .92); stroke: #C9D6E3; }
.harita-etiket text { text-anchor: middle; font-size: 11px; fill: #233; font-weight: 600; }
.harita-etiket text.v { fill: #0B4F8A; font-weight: 700; }
.harita-lejant { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 6px; font-size: 11.5px; }
.harita-lejant .sw { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 3px; vertical-align: middle; }
.harita-yan { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.harita-yol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.harita-yol a.on { font-weight: 700; color: inherit; text-decoration: none; }
.harita-kirilim { display: flex; flex-direction: column; gap: 2px; max-height: 360px; overflow: auto; }
.harita-satir { display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(60px, 1fr) auto; gap: 8px; align-items: center; border: 0; background: none; text-align: left;
    padding: 4px 6px; border-radius: 6px; cursor: pointer; font-size: 12.5px; color: inherit; }
.harita-satir:hover, .harita-satir.on { background: #EEF4FB; }
.harita-satir .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.harita-satir .n { color: #7A8794; width: 16px; text-align: right; }
.harita-cubuk { height: 8px; background: #EEF2F6; border-radius: 4px; overflow: hidden; }
.harita-cubuk i { display: block; height: 100%; background: linear-gradient(90deg, #6da7ec, #0B4F8A); }
.harita-olgu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.harita-olgu > div { display: grid; background: #F5F8FB; border-radius: 8px; padding: 6px 8px; }
.harita-alt-baslik { margin-top: 6px; font-size: 13px; }
@media (max-width: 1100px) { .harita-izgara { grid-template-columns: 1fr; } }

/* Zimmet Ver: kategori → depodaki eşyalar (tıklayınca seçilir; zimmetli olan soluk, kimde olduğu yazılı) */
.esya-sec-liste { max-height: 260px; overflow-y: auto; border: 1px solid var(--cizgi, #dde3ea); border-radius: 8px; background: #fff; }
.esya-sec-satir { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 10px; border-bottom: 1px solid #eef1f5; cursor: pointer; font-size: 13px; }
.esya-sec-satir:hover { background: #f2f7fc; }
.esya-sec-satir.secili { background: #e3f0fb; box-shadow: inset 3px 0 0 #2A78D6; }
.esya-sec-satir.pasif { opacity: .6; cursor: not-allowed; }
.esya-sec-satir .tag { margin-left: auto; }
.esya-sec-liste .note { padding: 8px 10px; margin: 0; }

/* saat girişi: geçersiz saat (app.js saat maskesi) */
input.saat-gecersiz { border-color: #dc2626 !important; background: #fef2f2 !important; color: #b91c1c; }

/* iş dosyası hesapları: müşteri ve her fason anlaşması ayrı ekstre (akordeon kartlar) */
.hesap-arac { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }
.hesap-arac .bosluk { flex: 1; }
.hesap-kart { background: #fff; border: 1px solid #dde3ea; border-left: 4px solid #2A78D6; border-radius: 8px; margin: 8px 0; box-shadow: 0 1px 2px rgba(15, 35, 60, .06); }
.hesap-kart.fason { border-left-color: #8E5CC9; }
.hesap-kart.gider { border-left-color: #F5A54A; }
.hesap-ust { display: grid; grid-template-columns: 18px minmax(220px, 2.2fr) repeat(4, minmax(110px, 1fr)); gap: 10px; align-items: center; padding: 8px 12px; cursor: pointer; }
.hesap-ust:hover { background: #f5f9fd; }
.hesap-ust small { display: block; color: #6b7a8c; font-size: 11px; }
.hesap-ust b { font-variant-numeric: tabular-nums; }
.hesap-ust b.uyar { color: #b45309; }
.hesap-ust b.arti { color: #0a7f5a; }
.hesap-ust b.eksi { color: #b42318; }
.hesap-ok { color: #6b7a8c; }
.hesap-ad b { display: block; }
.hesap-ic { padding: 0 12px 10px; border-top: 1px solid #eef1f5; }
.hesap-ic tr.kalin td { font-weight: 600; background: #f2f7fc; }
@media (max-width: 900px) { .hesap-ust { grid-template-columns: 18px 1fr 1fr; } }

/* manuel (elle) kur: farklı renk */
input.kur-manuel { background: #fff7e6 !important; border-color: #f5a54a !important; }

/* silinen kayıt satırı (izin vb.) */
tr.silindi td { text-decoration: line-through; color: #8a96a3; }

/* kompakt KPI şeridi (Can, 22.10.2026: İK ekranları): tek satır, düşük yükseklik — değer + etiket (kısa açıklama geniş ekranda); kutu içeriği kadar geniş; tıklanabilirlik aynı */
.ozet-serit.kompakt, .kpi-kompakt .ozet-serit { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ozet-serit.kompakt > a, .kpi-kompakt .ozet-serit > a { background: var(--surface); border: 1px solid #DCE4EC; border-left: 3px solid var(--turq); border-radius: var(--yuvar); color: inherit; text-decoration: none; }
.ozet-serit.kompakt > div, .kpi-kompakt .ozet-serit > div, .ozet-serit.kompakt > a { padding: 5px 10px; display: flex; align-items: baseline; gap: 7px; border-left-width: 3px; box-shadow: none; min-height: 0; overflow: hidden; flex: 1 1 auto; }
.ozet-serit.kompakt b, .kpi-kompakt .ozet-serit b { font-size: 16px; line-height: 1.3; order: -1; white-space: nowrap; }
.ozet-serit.kompakt small, .kpi-kompakt .ozet-serit small { font-size: 10px; letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; margin: 0; }
.ozet-serit.kompakt span, .kpi-kompakt .ozet-serit span { display: none; font-size: 11px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; margin: 0; }
.kpi-kompakt .kart-kpi > div { padding: 5px 12px; display: flex; align-items: baseline; gap: 7px; }
.kpi-kompakt .kart-kpi b { font-size: 15px; order: -1; }
.kpi-kompakt .kart-kpi b.yazi { font-size: 13px; line-height: 1.3; }
.kpi-kompakt .kart-kpi small { font-size: 10px; }
.kpi-kompakt .kart-kpi span { display: none; }
/* açıklama satırı (kısa bilgi) yalnız geniş ekranda; dar ekranda kutular tek satıra sığsın */
@media (min-width: 1800px) { .ozet-serit.kompakt span, .kpi-kompakt .ozet-serit span { display: inline; } }
/* liste altı sayfa boyu ve sayfalar */
.sayfa-secici { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.sayfa-secici label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: inherit; }
.sayfa-secici select { padding: 2px 4px; font-size: 12px; width: auto; min-width: 0; height: auto; }
.sayfa-secici button { padding: 1px 8px; }
/* filtre çipleri */
.filtre-cipleri { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 6px; }
.filtre-cip { display: inline-flex; align-items: center; gap: 4px; background: #e8f1fb; border: 1px solid #c7dcf2; color: #1d4f86; border-radius: 12px; padding: 1px 4px 1px 9px; font-size: 12px; }
.filtre-cip button { border: 0; background: transparent; cursor: pointer; color: #1d4f86; font-size: 13px; padding: 0 4px; }

/* iş dosyası hesap özeti (Can, 22.10.2026): Tür | Ad | PB | tutarlar; müşteri satırı açık turkuaz + turkuaz sol şerit, fason / gider grubu nötr zebra, net pozisyon vurgulu.
   Tutar sütunları 10.000.000,00 sığar, sağa hizalı, eşit genişlikte rakam; dar ekranda Ad kısalır (tamamı ipucunda). Renkler değişkende (uygulamaya koyu tema gelirse yalnız bunlar değişir). */
.hesap-ozet-kap { --ho-musteri: #E6F6FA; --ho-serit: #0097C2; --ho-lacivert: #062F57; --ho-zebra: #F4F6F8; --ho-net: #DCE6F0; --ho-cizgi: #DCE4EC;
    overflow-x: auto; margin: 4px 0 10px; border: 1px solid var(--ho-cizgi); border-radius: var(--yuvar); background: var(--surface); }
.hesap-ozet { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hesap-ozet col.tutar { width: 122px; }
.hesap-ozet th { background: #F1F4F8; color: #36536F; font-size: 11px; font-weight: 700; padding: 6px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--ho-cizgi); }
.hesap-ozet td { padding: 5px 8px; border-bottom: 1px solid #EEF2F6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hesap-ozet .sag { text-align: right; }
.hesap-ozet td.ad small { margin-left: 6px; font-size: 10.5px; color: var(--muted); }
.hesap-ozet tbody tr:not(.grup):not(.net) { cursor: pointer; }
.hesap-ozet tbody tr:not(.grup):not(.net):hover td { background: #EAF3FA; }
.hesap-ozet tr.musteri td { background: var(--ho-musteri); color: var(--ho-lacivert); font-weight: 700; }
.hesap-ozet tr.musteri td:first-child { box-shadow: inset 4px 0 0 var(--ho-serit); padding-left: 12px; }
.hesap-ozet tr.zebra td { background: var(--ho-zebra); }
.hesap-ozet tr.grup td { background: transparent; color: #5A6473; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 10px 8px 3px; border-bottom: 1px solid #BEC4CD; }
.hesap-ozet tr.net td { background: var(--ho-net); color: var(--ho-lacivert); font-weight: 700; border-top: 2px solid var(--ho-lacivert); border-bottom: 0; }
.hesap-ozet td.eksi { color: #B42318; }
.hesap-ozet tr.acik td:first-child { box-shadow: inset 4px 0 0 var(--ho-lacivert); }
.hesap-ozet tr.musteri.acik td:first-child { box-shadow: inset 4px 0 0 var(--ho-lacivert); }
.ozet-serit.hesap-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 8px; }
.ozet-serit.hesap-kpi b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ozet-serit.hesap-kpi span { font-variant-numeric: tabular-nums; }
/* PDKS / Kapı şifresi (PIN) alanı: maskeli giriş + göz / sil */
.sifre-alani .sifre-kutu { display: flex; gap: 4px; align-items: center; }
.sifre-alani .sifre-kutu input { flex: 1; min-width: 0; letter-spacing: .12em; }
.sifre-alani .sifre-kutu .btn { padding: 2px 7px; }
.sifre-alani input::-ms-reveal, .sifre-alani input::-ms-clear { display: none; }
.hesap-ozet td.ekstre { font-size: 11px; font-weight: 400; }
.hesap-ozet td.ekstre a { color: var(--turq, #0097C2); }

/* İK › PDKS › Raporlar (Can, 22.10.2026): tek satır süzgeç, kompakt grafikler, aylık listede kod renkleri */
.rapor-suzgec { flex-wrap: wrap; gap: 6px; }
.rapor-suzgec { display: flex; align-items: center; }
.rapor-suzgec select, .rapor-suzgec input[type=date] { width: auto; max-width: 190px; flex: 0 0 auto; }
.rapor-suzgec input[type=date] { max-width: 150px; }
.rapor-grafik { margin: 6px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.rapor-grafik .pano-kart { max-height: 230px; overflow: hidden; }
.rapor-grafik .pano-kart { min-height: 0; }
table.rapor-tablo td { font-variant-numeric: tabular-nums; }
table.rapor-tablo.aylik td.kod { text-align: center; padding: 2px 1px; font-weight: 700; font-size: 11px; min-width: 22px; }
table.rapor-tablo.aylik td.kod-c { background: #E8F5EE; color: #0A7F5A; }
table.rapor-tablo.aylik td.kod-g { background: #FFF4E5; color: #B26A00; }
table.rapor-tablo.aylik td.kod-e { background: #FFF8D6; color: #7A6400; }
table.rapor-tablo.aylik td.kod-d { background: #FDE2E2; color: #B42318; }
table.rapor-tablo.aylik td.kod-i { background: #EEE6FA; color: #6B3FB5; }
table.rapor-tablo.aylik td.kod-h { background: #EEF1F5; color: #6E7884; }
table.rapor-tablo.aylik td.kod-fm { background: #E3F2FD; color: #0B5CA8; }
/* İK › PDKS › Toplu İşlemler */
.toplu-izgara { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.toplu-izgara .card { padding: 12px; }
.toplu-personel { max-height: 360px; }
@media (max-width: 1200px) { .toplu-izgara { grid-template-columns: 1fr; } }
/* personel kartı: sürücü belgesi sınıfları (işaretli) */
.ehliyet-siniflari { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.ehliyet-siniflari > small { width: 100%; color: var(--muted); font-size: 11px; }
.ehliyet-siniflari label.kutu { margin: 0; font-size: 12px; }

/* Ziyaretçi Kayıt (Can, 29.10.2026): güvenlik kulübesi ekranı; büyük tuşlar, sade form, fotoğraflar (web ve mobil web) */
.zg-buyuk-tuslar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.zg-buyuk-tuslar.mobil { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.zg-tus { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line, #DDE3EA);
    background: var(--card, #fff); color: var(--ink, #062F57); text-decoration: none; cursor: pointer; text-align: left; font: inherit; min-height: 92px; }
.zg-tus span { font-size: 28px; font-weight: 700; line-height: 1.1; color: #0097C2; }
.zg-tus b { font-size: 15px; }
.zg-tus small { font-size: 11.5px; color: var(--muted, #6B7684); }
.zg-tus:hover { border-color: #0097C2; }
.zg-tus.on { border-color: #062F57; box-shadow: inset 0 0 0 1px #062F57; background: #EEF6FB; }
.zg-tus.yeni { background: #062F57; border-color: #062F57; color: #fff; }
.zg-tus.yeni span, .zg-tus.yeni small { color: #fff; }
.zg-tus.cikis span { color: #C0392B; }
.zg-buyuk-tuslar.mobil .zg-tus { min-height: 78px; padding: 10px; align-items: center; text-align: center; }
.zg-buyuk-tuslar.mobil .zg-tus b { font-size: 13px; }
.zg { display: flex; flex-direction: column; gap: 12px; }
.zg-bolum { display: flex; flex-direction: column; gap: 6px; }
.zg-bolum h3 { margin: 0; font-size: 14px; color: #062F57; }
.zg-etiket { font-weight: 600; font-size: 13px; }
.zg-etiket small { font-weight: 400; color: var(--muted, #6B7684); }
.zg input.zg-buyuk { font-size: 16px; padding: 9px 10px; }
.zg-oneri { display: flex; flex-direction: column; border: 1px solid var(--line, #DDE3EA); border-radius: 8px; overflow: hidden; max-height: 260px; overflow-y: auto; }
.zg-oneri button { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; text-align: left; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line, #EEF2F6);
    background: var(--card, #fff); cursor: pointer; font: inherit; }
.zg-oneri button:hover { background: #EEF6FB; }
.zg-oneri button span, .zg-oneri button small { color: var(--muted, #6B7684); font-size: 12px; }
.zg-oneri.kucuk { max-height: 200px; margin-top: 4px; }
.zg-kisi { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: start; padding: 8px; border: 1px solid var(--line, #DDE3EA); border-radius: 8px; }
.zg-foto { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.zg-foto img, .zg-foto > span { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; background: #EEF2F6; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.zg-alanlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px 10px; }
.zg-alanlar label, .zg-izgara label { font-size: 12px; color: var(--muted, #6B7684); display: block; }
.zg-alanlar input, .zg-izgara input, .zg-izgara select { width: 100%; box-sizing: border-box; }
.zg-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 12px; }
.zg-izgara .genis { grid-column: 1 / -1; }
.zg-secili { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border: 1px solid #0097C2; border-radius: 6px; background: #EEF6FB; }
.zg-secili span { color: var(--muted, #6B7684); font-size: 12px; flex: 1; }
.zg-arac { display: flex; gap: 8px; align-items: center; }
.zg-arac img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }
.zg label.btn input[type=file], .zk-foto label input[type=file] { display: none; }
.zg-kvkk { font-weight: 600; }
.zg-kvkk-metin { white-space: pre-wrap; font-size: 12px; padding: 8px 10px; background: #F6F8FA; border: 1px solid var(--line, #DDE3EA); border-radius: 6px; max-height: 220px; overflow: auto; }
.zg-tuslar { display: flex; gap: 8px; flex-wrap: wrap; }
.zg-kaydet { font-size: 15px; padding: 10px 22px; height: auto; }
.zg-mobil .zg-kisi { grid-template-columns: 90px 1fr; }
.zg-mobil .zg-kisi .zg-sil { grid-column: 2; justify-self: end; }
.zg-mobil .zg-foto img, .zg-mobil .zg-foto > span { width: 80px; height: 80px; }
.zg-mobil .zg-izgara, .zg-mobil .zg-alanlar { grid-template-columns: 1fr; }
.zg-mobil input:not([type=checkbox]), .zg-mobil select { font-size: 16px; padding: 8px 10px; height: auto; min-height: 42px; line-height: 1.3; box-sizing: border-box; }
.zg-mobil .zg-tuslar .btn { flex: 1; }
.zk-fotolar { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.zk-foto { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 150px; text-align: center; }
.zk-foto img, .zk-foto .zk-bos { width: 140px; height: 140px; object-fit: cover; border-radius: 10px; background: #EEF2F6; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.zk-foto .zk-resim { width: 140px; height: 140px; object-fit: cover; border-radius: 10px; background: #EEF2F6; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.zk-foto small { color: var(--muted, #6B7684); font-size: 11.5px; }
.zk-aciklama { padding: 8px 10px; border-left: 3px solid #0097C2; background: #F6F8FA; border-radius: 4px; margin-bottom: 6px; }

/* Kamera seçici ve galeri (Can, 30.10.2026: birden fazla kamera) */
.ks { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ks-kameralar { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-kamera { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line, #DDE3EA); border-radius: 8px; background: var(--card, #fff); }
.ks-kamera small { color: var(--muted, #6B7684); font-size: 11px; }
.ks-kamera.pasif { opacity: .55; }
.ks-hata { color: #C0392B; font-size: 12.5px; font-weight: 600; }
.ks-galeri { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ks-foto { display: flex; flex-direction: column; gap: 3px; width: 170px; }
.ks-foto img { width: 170px; height: 120px; object-fit: cover; border-radius: 8px; background: #EEF2F6; display: block; }
.ks-foto small { color: var(--muted, #6B7684); font-size: 11px; }
.ks-foto-arac { display: flex; gap: 4px; }
.ks-foto-arac select { flex: 1; min-width: 0; font-size: 12px; }
.zg-mobil .ks-foto { width: calc(50% - 5px); }
.zg-mobil .ks-foto img { width: 100%; }
.ks-foto .zk-resim { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; background: #EEF2F6; display: flex; align-items: center; justify-content: center; font-size: 36px; }

/* onay akışında kişi fotoğrafı */
.akv-foto.kucuk { width: 30px; height: 30px; font-size: 11px; }
.isakisi-adimlar li .akv-foto, .kart-tablo .akv-foto { display: inline-grid; vertical-align: middle; width: 24px; height: 24px; font-size: 10px; margin-right: 3px; }
.isakisi-adimlar li .akv-foto i, .isakisi-adimlar li.r .akv-foto i, .isakisi-adimlar li.w .akv-foto i { all: unset; }
.mb-kisi-satir { display: flex !important; align-items: center; gap: 6px; flex-wrap: wrap; }
.mb-kisi-satir > span { display: inline-flex; align-items: center; gap: 4px; }
.akis-satir .akv-foto, .kart-tablo .akv-foto, table .akv-foto { display: inline-grid; vertical-align: middle; width: 24px; height: 24px; font-size: 10px; margin-right: 3px; }
.kim .akv-foto, .kart-roller .akv-foto, .tag .akv-foto { display: inline-grid; vertical-align: middle; width: 20px; height: 20px; font-size: 9px; margin-right: 2px; }
.sa-kalemler input.eksik { border: 1px solid #B4332A !important; background: #FBE4E1 !important; }
.mtb-onizleme { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mtb-onizleme iframe { width: 100%; height: 620px; border: 1px solid var(--line, #DCE3EA); border-radius: 8px; background: #fff; }
@media (max-width: 900px) { .mtb-onizleme { grid-template-columns: 1fr; } }

/* sade iş dosyası (Can, 02.11.2026): az renk, büyük okunur yazı; renk yalnız durum için (gecikme kırmızı, uyarı turuncu) */
.sade-ust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.sade-ust .kart-geri { color: var(--navy); border: 1px solid var(--line); }
.sade-kimlik { flex: 1; min-width: 240px; }
.sade-kimlik h1 { margin: 0; font-size: 26px; color: var(--navy); letter-spacing: -.01em; }
.sade-kimlik > div { font-size: 16px; color: var(--text); }
.sade-kimlik small { color: var(--muted); font-size: 13px; }
.sade-doviz { display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.sade-doviz select { min-width: 90px; }
.sade-eylem { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sade-eylem .btn { font-size: 14px; padding: 8px 14px; }
.sade-eylem .hafif { margin-left: auto; }
.sade-kutular { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.sade-kutu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--yuvar); padding: 10px 14px; display: grid; gap: 2px; }
.sade-kutu small { font-size: 13px; color: var(--muted); font-weight: 600; }
.sade-kutu b { font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.sade-kutu span { font-size: 12px; color: var(--muted); }
.sade-kutu.eksi b { color: var(--warn); }
.sade-kutu.uyar b { color: var(--write); }
.sade-uyarilar { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sade-uyari { text-align: left; font-size: 14px; padding: 8px 12px; border-radius: var(--yuvar); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.sade-uyari.eksi { border-left: 4px solid var(--warn); color: var(--warn); }
.sade-uyari.uyar { border-left: 4px solid var(--write); color: var(--write); }
.sade-tablo { width: 100%; font-size: 15px; }
.sade-tablo th { font-size: 13px; }
.sade-tablo td, .sade-tablo th { padding: 8px 10px; }
.sade-tablo tr.satir { cursor: pointer; }
.sade-tablo tr.toplam td { border-top: 2px solid var(--line); }
.sade-tablo tr.bilgi td { color: var(--muted); }
.sade-kar { padding: 12px 16px; margin-top: 12px; }
.sade-kar h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.sade-taraf-ust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* sayı girişi (Can, 03.11.2026): artırma okları yok; Türkçe biçimli alanlar sağa yaslı */
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[data-sayi] { text-align: right; font-variant-numeric: tabular-nums; }

/* satınalma formu (Can, 03.11.2026): gruplu kartlar, Excel gibi satır gridi, toplamlar ve sabit alt çubuk; alanlar asla üst üste binmez */
.sf-gruplar { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin: 12px 0 14px; }
.sf-grup { border: 1px solid var(--line); border-radius: var(--yuvar); padding: 10px 12px 12px; background: var(--surface); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; align-content: start; min-width: 0; }
.sf-grup h4 { grid-column: 1 / -1; margin: 0 0 2px; font-size: 12px; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.sf-alan { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-alan > label { font-size: 12px; color: var(--muted); font-weight: 600; }
.sf-alan > label small { font-weight: 400; }
.sf-alan > label.kutu { color: var(--text); font-weight: 500; flex-direction: row; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.sf-alan input:not([type="checkbox"]), .sf-alan select, .sf-alan textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.sf-tam { grid-column: 1 / -1; }
.sf-tedarikci { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-tedarikci > b { font-size: 15px; color: var(--navy); overflow-wrap: anywhere; }
.sf-tedarikci .sa-arama { min-width: 0; max-width: none; width: 100%; }
.sf-kalem-bas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 6px; }
.sf-kalem-bas .pano-baslik { margin: 0; }
.sf-kalem-bas .sa-kalem-ekle { flex: 1; min-width: 0; margin: 0; }
.sf-grid-kutu { overflow: auto; max-height: 62vh; border: 1px solid var(--line); border-radius: var(--yuvar); background: var(--surface); }
.sf-grid { width: 100%; min-width: 1040px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; }
.sf-grid th { position: sticky; top: 0; z-index: 1; background: var(--bg, #F4F6FA); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; padding: 7px 6px; border-bottom: 1px solid var(--line); }
.sf-grid th.sag, .sf-grid td.sag { text-align: right; }
.sf-grid td { padding: 4px 6px; border-bottom: 1px solid var(--line); vertical-align: top; overflow: hidden; text-overflow: ellipsis; }
.sf-grid tbody tr:nth-child(even) td { background: rgba(31, 58, 95, .03); }
.sf-grid td input, .sf-grid td select { width: 100%; min-width: 0; box-sizing: border-box; height: 30px; }
.sf-grid td.sf-sira { color: var(--muted); text-align: center; }
.sf-grid .sf-kod { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-grid td.sf-yigin > :not(.sf-kod) + :not(.sf-kod) { margin-top: 3px; }
.sf-grid td.sf-yigin > .sf-kod { margin-top: 2px; }
.sf-grid td:not(:has(input, select, button)) { padding-top: 11px; }
.sf-grid td.sf-yigin > small.note { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-alt-bolum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 14px; margin-top: 12px; align-items: start; }
.sf-notlar { display: grid; gap: 8px; min-width: 0; }
.sf-toplamlar { border: 1px solid var(--line); border-radius: var(--yuvar); padding: 8px 12px; background: var(--surface); display: grid; gap: 4px; }
.sf-toplamlar > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.sf-toplamlar > div span { color: var(--muted); }
.sf-toplamlar > div b { font-variant-numeric: tabular-nums; }
.sf-toplamlar > div.genel { border-top: 2px solid var(--line); padding-top: 6px; font-size: 16px; }
.sf-toplamlar > div.genel b { color: var(--navy); }
.sf-toplamlar > div.tl { font-size: 12px; }
.sf-alt-cubuk { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px -16px -16px; padding: 10px 16px;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(16, 24, 40, .06); }
.sf-alt-cubuk .bosluk { flex: 1; }
@media (max-width: 760px) { .sf-alt-bolum { grid-template-columns: 1fr; } .sf-grup { grid-template-columns: 1fr; } }

/* formdaki arama kutusu hücresinden taşmaz (Can, 03.11.2026: satınalma ekranında alanlar üst üste biniyordu) */
.form .sa-arama { min-width: 0; max-width: 100%; }
.form .sa-satir > b { min-width: 0; overflow-wrap: anywhere; }
.card.kart:has(.sf-alt-cubuk) { overflow: clip; }

/* cari ekstresi bakiye özeti (Can, 03.11.2026): TL, MB (USD), USD, EUR, GBP, RUB */
.ek-ozet { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.ek-ozet > div { border: 1px solid var(--line); border-radius: var(--yuvar); padding: 6px 12px; background: var(--surface); min-width: 110px; display: grid; }
.ek-ozet small { font-size: 11px; color: var(--muted); font-weight: 600; }
.ek-ozet b { font-size: 16px; color: var(--navy); font-variant-numeric: tabular-nums; }
.ek-ozet b.eksi { color: var(--warn); }
.ek-ozet .sonuk { opacity: .5; }

/* Stok raporları (Can, 03.11.2026): ince süzgeç çubuğu, ekstre / hareketler ikili seçimi */
.stok-suzgec { flex-wrap: wrap; gap: 8px; }
.stok-suzgec .ara { flex: 1 1 220px; max-width: 360px; }
.stok-suzgec select { width: auto; min-width: 0; max-width: 260px; }
.stok-suzgec label { display: inline-flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.secim-ikili { display: inline-flex; }
.secim-ikili > .btn { border-radius: 0; }
.secim-ikili > .btn:first-child { border-radius: var(--yuvar) 0 0 var(--yuvar); }
.secim-ikili > .btn:last-child { border-radius: 0 var(--yuvar) var(--yuvar) 0; margin-left: -1px; }

/* Roller ve Yetkiler (Can, 03.11.2026): veri görünürlüğü üstte, matriste katlanır gruplar, arama, tümünü seç */
.veri-gorunurlugu h3 { margin: 0 0 8px; font-size: 14px; color: var(--navy); }
.vg-kutular { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.vg-kutu { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--yuvar); background: var(--surface); margin: 0; cursor: pointer; }
.vg-kutu > span { display: grid; gap: 2px; min-width: 0; }
.vg-kutu small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.vg-kutu select { margin-top: 4px; }
.vg-kutu.pasif { opacity: .6; }
.matris-arac { flex-wrap: wrap; gap: 6px; padding: 8px 10px; margin: 0; border-bottom: 1px solid var(--line); }
.matris-arac .ara { flex: 1 1 240px; max-width: 360px; }
.matris-arac .ayrac { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.matris-arac select { width: auto; max-width: 220px; }
table.matris tr.matris-grup > td { background: #F3F6FA; border-top: 1px solid var(--line); }
table.matris tr.matris-grup > td:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 520px; }
table.matris .katla { all: unset; cursor: pointer; width: 18px; display: inline-block; text-align: center; color: var(--navy); }
table.matris .grup-sec { margin-left: 8px; padding: 1px 8px; font-size: 11px; }
table.matris th .sutun-sec { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; font-weight: 600; cursor: pointer; }

/* Vade raporu (Can, 03.11.2026): dönem / yön çipleri, yaşlandırma kovaları (geçen 5, gelecek 5; tahsil yeşil, ödeme kırmızı) */
.cipler { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.kova-serit { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.kova-serit .kova { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 1px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--yuvar); background: var(--surface); min-width: 0; }
.kova-serit .kova.gecen { border-top: 3px solid #D9534F; }
.kova-serit .kova.gelecek { border-top: 3px solid #2E9E6A; }
.kova-serit .kova.secili { box-shadow: 0 0 0 2px var(--turq); }
.kova-serit .kova small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kova-serit .kova b { font-size: 12.5px; white-space: nowrap; }
.kova-serit .kova b.arti { color: var(--read, #2E9E6A); }
.kova-serit .kova b.eksi { color: #C0392B; }
@media (max-width: 900px) { .kova-serit { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Kişiye özel yetkiler (Can, 03.11.2026): üç durumlu hücre — gruptan (açık yeşil), kişiye verildi (mavi), kişiye kapatıldı (kırmızı) */
.ky-hucre { all: unset; box-sizing: border-box; cursor: pointer; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; font-style: normal; line-height: 1; }
.ky-hucre.bos { background: var(--surface); }
.ky-hucre.gruptan { background: #E7F5EC; border-color: #A9D8B9; color: #2E9E6A; }
.ky-hucre.ver { background: #1F6FB2; border-color: #1F6FB2; color: #fff; }
.ky-hucre.kapat { background: #FDECEA; border-color: #E6A39C; color: #C0392B; }
.kisisel-acik { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); margin-left: auto; }
.kisisel-acik .ky-hucre { width: 16px; height: 16px; font-size: 10px; cursor: default; }

/* Rapor sekmeleri (Can, 03.11.2026): Liste ve Analiz ayrı */
.rapor-sekmeler { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 10px; }
.rapor-sekmeler > button { all: unset; cursor: pointer; padding: 8px 18px; font-weight: 600; font-size: 13px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.rapor-sekmeler > button.on { color: var(--navy); border-bottom-color: var(--turq); }
.rapor-sekmeler > button:hover { color: var(--navy); }

/* Ödeme - tahsilat takvimi büyük (Can, 03.11.2026): tutarlar tam, 999.000.000,00'a kadar gün hücresine sığar; haftalıkta günün kalemleri */
.rapor-takvim.buyuk .takvim-izgara { grid-auto-rows: minmax(132px, auto); }
.rapor-takvim.buyuk .takvim-gun { padding: 6px 8px 8px; gap: 4px; }
.rapor-takvim.buyuk .takvim-gun .tutar { display: block; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.rapor-takvim.buyuk .takvim-gun .tutar.arti { color: #1E8A55; }
.rapor-takvim.buyuk .takvim-gun .tutar.eksi { color: #C0392B; }
.rapor-takvim.buyuk .gun-no { font-size: 13px; }
.rapor-takvim.haftalik .takvim-izgara { grid-auto-rows: minmax(420px, auto); }
.rapor-takvim.haftalik .takvim-gun .tutar { font-size: 14px; }
.takvim-kalem { display: grid; gap: 1px; padding: 4px 6px; border-radius: 5px; font-size: 11.5px; line-height: 1.25; background: #F4F7FA; border-left: 3px solid #9AAAB9; min-width: 0; }
.takvim-kalem.arti { border-left-color: #2E9E6A; }
.takvim-kalem.eksi { border-left-color: #C0392B; }
.takvim-kalem b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.takvim-kalem i { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
@media (max-width: 1400px) { .rapor-takvim.buyuk .takvim-gun .tutar { font-size: 12px; } }
/* süzgeç çubuğu: çipler bölünmez; sığmazsa çubuk ikinci satıra geçer (çip yığılmaz) */
.arac.rapor-arac.stok-suzgec { flex-wrap: wrap; row-gap: 6px; }
.rapor-arac > .cipler { flex: 0 0 auto; flex-wrap: nowrap; }
.cipler > .chip { white-space: nowrap; }

/* PDKS giriş-çıkış listesi (Can, 03.11.2026): liste kendi kaydırmasıyla ekrana sığar, başlık sabit */
.tablo-kaydir.pdks-liste { max-height: calc(100vh - 290px); min-height: 260px; overflow: auto; }
.tablo-kaydir.pdks-liste thead th, .tablo-kaydir.pdks-liste tr:first-child > th { position: sticky; top: 0; z-index: 2; background: var(--bg, #F4F6FA); }

/* cari ekstre / ödeme açıklaması en çok iki satır (Can, 05.11.2026): fazlası "…", tamamı ipucunda */
.kart-tablo td:has(> .iki-satir) { max-width: 22rem; white-space: normal; }
/* ekstre tablosu (vade sütunuyla 12 sütun): 1366'da kaydırmasız sığsın diye dar iç boşluk, vade kısa tarih */
.kart-tablo.ekstre td, .kart-tablo.ekstre th { padding-left: 5px; padding-right: 5px; }
.kart-tablo td.vade { font-size: 12px; }

/* İK › PDKS › Giriş-Çıkış Raporu (Can, 05.11.2026): departman gruplu liste */
.gc-rapor { max-height: calc(100vh - 230px); overflow: auto; }
.gc-tablo { width: 100%; }
.gc-tablo thead th { position: sticky; top: 0; z-index: 2; }
.gc-tablo td.kisa { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-tablo tr.gc-gun td { background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 8px; }
.gc-tablo tr.gc-gun small { font-weight: 400; opacity: .85; margin-left: 10px; }
.gc-tablo tr.gc-grup td { background: #E6EEF6; border-left: 4px solid var(--navy); padding: 5px 8px; font-size: 12.5px; }
.gc-tablo tr.gc-grup b { color: var(--navy); font-size: 13px; margin-right: 12px; text-transform: uppercase; letter-spacing: .02em; }
.gc-tablo tr.gc-grup span { margin-right: 10px; color: #4A5565; }
.gc-tablo tr.gc-grup span.y { color: #0A7F5A; } .gc-tablo tr.gc-grup span.t { color: #B26A00; } .gc-tablo tr.gc-grup span.r { color: #B42318; font-weight: 700; } .gc-tablo tr.gc-grup span.m { color: #006EAA; }
.gc-tablo tr.gc-gec td { background: #FFF6E6; }
.gc-tablo tr.gc-yok td { background: #FEF0F0; }
.gc-tablo tr.gc-soluk td { color: #8A94A3; }
.gc-tablo td.gc-t { color: #B26A00; font-weight: 600; }
.gc-elle { margin-left: 3px; color: #B26A00; font-size: 11px; }
.gc-durum { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600; background: #EEF1F5; color: #4A5565; }
.gc-durum.d-geldi, .gc-durum.d-iceride, .gc-durum.d-tatildecalisti { background: #E3F5EE; color: #0A7F5A; }
.gc-durum.d-gec, .gc-durum.d-erken { background: #FFEBCC; color: #8A5200; }
.gc-durum.d-devamsiz { background: #FDE2E2; color: #B42318; }
.gc-durum.d-izinli { background: #E1F0FA; color: #006EAA; }
.gc-durum.d-gorevli { background: #DFF3F4; color: #00838F; }
.gc-durum.d-eksik { background: #EFE7FD; color: #6D3FD8; }
/* Giriş-Çıkış Raporu süzgeci 1366'da tek satır */
.arac.rapor-arac.stok-suzgec.gc-suzgec { flex-wrap: nowrap; gap: 6px; }
.arac.rapor-arac.gc-suzgec select { max-width: 160px; min-width: 0; }
.arac.rapor-arac.gc-suzgec input[type=date] { width: 128px; }
.arac.rapor-arac.gc-suzgec input.ara { width: 150px; min-width: 0; flex: 0 1 150px; }
.arac.rapor-arac.gc-suzgec .chip { padding-left: 9px; padding-right: 9px; }

/* liste işaret kutusu (toplu yazdırma) ve pasif bağlantı tuşu */
th.isaret, td.isaret { width: 26px; text-align: center; padding-left: 2px !important; padding-right: 2px !important; }
a.btn.pasif-tus { opacity: .5; pointer-events: none; }

/* ===== Yönetici Kokpiti (Can, 08.11.2026; CbSahadayim Yönetim Kokpiti görünümü): koyu tema, tam ekran ===== */
.ck { --ck-bg: #0b1424; --ck-card: #111d33; --ck-card2: #14223c; --ck-line: #22324f; --ck-text: #e8eef8; --ck-muted: #8d9bb3;
  --ck-red: #e63946; --ck-teal: #2ec4b6; --ck-blue: #3a86ff; --ck-yellow: #ffbe0b; --ck-orange: #fb8500;
  background: radial-gradient(1200px 500px at 20% -10%, #17284a 0%, var(--ck-bg) 55%); color: var(--ck-text); border-radius: 14px; padding: 16px 18px 12px; min-height: calc(100vh - 120px); }
.ck:fullscreen { border-radius: 0; overflow: auto; min-height: 100vh; }
.ck .tikla { cursor: pointer; }
.ck-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.ck-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ck-logo { font-size: 30px; color: var(--ck-teal); }
.ck-head h1 { margin: 0; font-size: 22px; letter-spacing: .02em; color: #fff; }
.ck-head p { margin: 2px 0 0; color: var(--ck-muted); font-size: 13px; }
.ck-head-right { display: flex; align-items: center; gap: 8px; }
.ck-clock { text-align: right; padding-right: 12px; border-right: 1px solid var(--ck-line); margin-right: 4px; }
.ck-clock b { display: block; font-size: 22px; color: #fff; } .ck-clock span { font-size: 11.5px; color: var(--ck-muted); }
.ck-btn { background: var(--ck-card2); border: 1px solid var(--ck-line); color: var(--ck-text); border-radius: 9px; padding: 7px 11px; font-size: 14px; cursor: pointer; }
.ck-btn:hover { border-color: var(--ck-red); } .ck-btn.ck-back { background: var(--ck-red); border-color: var(--ck-red); color: #fff; }
.ck-alert { background: rgba(230,57,70,.12); border: 1px solid rgba(230,57,70,.4); color: #ffc9cd; padding: 8px 12px; border-radius: 10px; margin-bottom: 12px; font-size: 13px; }
.ck-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 90px 0; color: var(--ck-muted); }
.ck-ring { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--ck-line); border-top-color: var(--ck-teal); animation: ck-don 1s linear infinite; }
@keyframes ck-don { to { transform: rotate(360deg); } }
.ck-stale { opacity: .6; transition: opacity .2s; }
.ck-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.ck-kpi { text-align: left; background: linear-gradient(160deg, var(--ck-card2), var(--ck-card)); border: 1px solid var(--ck-line); border-radius: 14px; padding: 12px 14px;
  color: var(--ck-text); cursor: pointer; border-top: 3px solid var(--ck-blue); display: flex; flex-direction: column; gap: 4px; }
.ck-kpi.red { border-top-color: var(--ck-red); } .ck-kpi.teal { border-top-color: var(--ck-teal); } .ck-kpi.yellow { border-top-color: var(--ck-yellow); }
.ck-kpi:hover { transform: translateY(-1px); border-color: #355082; }
.ck-kpi-ad { font-size: 12px; color: var(--ck-muted); } .ck-kpi b { font-size: 24px; color: #fff; white-space: nowrap; }
.ck-kpi-alt { font-size: 11.5px; color: var(--ck-muted); } .ck .up { color: var(--ck-teal); font-style: normal; font-weight: 700; } .ck .down { color: var(--ck-red); font-style: normal; font-weight: 700; }
.ck-today { background: var(--ck-card); border: 1px solid var(--ck-line); border-radius: 14px; padding: 10px 14px 12px; margin-bottom: 12px; }
.ck-today h3, .ck-card h3 { margin: 0 0 10px; font-size: 14px; color: #fff; } .ck-today h3 small, .ck-card h3 small { color: var(--ck-muted); font-weight: 400; margin-left: 8px; font-size: 11.5px; }
.ck-today-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ck-tt { background: var(--ck-card2); border: 1px solid var(--ck-line); border-left: 3px solid var(--ck-blue); border-radius: 10px; padding: 8px 10px; text-align: left; color: var(--ck-text); cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; }
.ck-tt.red { border-left-color: var(--ck-red); } .ck-tt.teal { border-left-color: var(--ck-teal); } .ck-tt.orange { border-left-color: var(--ck-orange); } .ck-tt.gray { border-left-color: #5c6b82; }
.ck-tt span { font-size: 11.5px; color: var(--ck-muted); } .ck-tt b { font-size: 17px; color: #fff; } .ck-tt small { font-size: 11px; color: var(--ck-muted); }
.ck-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.ck-row > .ck-card:last-child:nth-child(2) { grid-column: span 2; } .ck-row > .ck-card:only-child { grid-column: 1 / -1; }
@media (max-width: 1250px) { .ck-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ck-row > .ck-card:last-child:nth-child(2) { grid-column: auto; } .ck-row > .ck-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.ck-card { background: linear-gradient(170deg, var(--ck-card2), var(--ck-card)); border: 1px solid var(--ck-line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.ck-card.tikla:hover { border-color: #355082; }
.ck-legend { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ck-muted); margin-bottom: 6px; }
.ck-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.ck i.red { background: var(--ck-red); } .ck i.teal { background: var(--ck-teal); } .ck i.blue { background: var(--ck-blue); } .ck i.yellow { background: var(--ck-yellow); } .ck i.orange { background: var(--ck-orange); }
.ck-bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; }
.ck-bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.ck-bar-pair { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.ck-bar-pair i { width: 42%; max-width: 14px; border-radius: 3px 3px 0 0; }
.ck-bar small { font-size: 10px; color: var(--ck-muted); margin-top: 4px; }
.ck-donut-wrap { display: flex; align-items: center; gap: 12px; }
.ck-donut { width: 150px; height: 150px; flex: none; } .ck-donut-bg { fill: none; stroke: var(--ck-line); stroke-width: 18; }
.ck-donut-val { fill: #fff; font-size: 18px; font-weight: 700; } .ck-donut-sub { fill: var(--ck-muted); font-size: 11px; }
.ck-dlegend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; font-size: 12px; }
.ck-dlegend li { display: flex; align-items: center; gap: 6px; padding: 2px 0; } .ck-dlegend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ck-dlegend span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ck-text); } .ck-dlegend b { color: var(--ck-muted); }
.ck-line { width: 100%; height: 150px; } .ck-grid { stroke: var(--ck-line); stroke-width: 1; }
.ck-path { fill: none; stroke-width: 2.4; } .ck-path.red { stroke: var(--ck-red); } .ck-path.teal { stroke: var(--ck-teal); }
.ck-axis { fill: var(--ck-muted); font-size: 9px; }
.ck-buckets { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.ck-buckets li { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 6px; align-items: center; padding: 3px 0; }
.ck-buckets li span { color: var(--ck-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-buckets li div { display: flex; align-items: center; gap: 4px; min-width: 0; } .ck-buckets li i { height: 8px; border-radius: 4px; min-width: 2px; }
.ck-buckets li b { font-size: 11px; color: var(--ck-text); white-space: nowrap; }
.ck-big { font-size: 34px; font-weight: 700; color: #fff; margin: 4px 0 8px; } .ck-big small { font-size: 12px; color: var(--ck-muted); font-weight: 400; margin-left: 8px; }
.ck-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12px; margin-top: 6px; }
.ck-mini div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--ck-line); padding-bottom: 3px; }
.ck-mini span { color: var(--ck-muted); } .ck-mini b { color: #fff; white-space: nowrap; } .ck-mini .warn b { color: var(--ck-yellow); }
.ck-rank { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; }
.ck-rank li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid rgba(34,50,79,.6); }
.ck-rank-ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ck-rank-bar { height: 6px; background: var(--ck-line); border-radius: 3px; overflow: hidden; }
.ck-rank-bar i { display: block; height: 100%; border-radius: 3px; } .ck-rank b { color: #fff; white-space: nowrap; } .ck-rank small { color: var(--ck-muted); font-weight: 400; }
.ck-rank li.tikla:hover, .ck-act li:hover, .ck-pend li:hover { background: rgba(58,134,255,.08); }
.ck-act, .ck-pend { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.ck-act li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 2px; border-bottom: 1px solid rgba(34,50,79,.6); cursor: pointer; }
.ck-act-t { color: var(--ck-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ck-act b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ck-act-r { text-align: right; white-space: nowrap; } .ck-act-r small { display: block; color: var(--ck-muted); font-size: 10.5px; }
.ck-pend li { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid rgba(34,50,79,.6); cursor: pointer; }
.ck-pend li span { flex: 1; color: var(--ck-muted); } .ck-pend li b { font-size: 16px; color: #fff; } .ck-pend li.var b { color: var(--ck-yellow); } .ck-pend li small { color: var(--ck-muted); }
.ck-bos { color: var(--ck-muted); font-size: 12px; }
.ck-foot { color: var(--ck-muted); font-size: 11px; text-align: center; padding: 4px 0 2px; }
.ck-modbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: -4px 0 12px; font-size: 12px; color: var(--ck-muted); }
.ck-modbar-ad { font-weight: 600; color: var(--ck-text); } .ck-modbar small { font-size: 11.5px; }
.ck-seg { display: inline-flex; border: 1px solid var(--ck-line); border-radius: 9px; overflow: hidden; }
.ck-seg button { background: var(--ck-card2); color: var(--ck-muted); border: 0; border-right: 1px solid var(--ck-line); padding: 5px 11px; font-size: 12.5px; cursor: pointer; }
.ck-seg button:last-child { border-right: 0; } .ck-seg button:hover { color: #fff; } .ck-seg button.on { background: var(--ck-teal); color: #062a27; font-weight: 700; }
.ck-pbs { display: flex; flex-direction: column; line-height: 1.2; } .ck-pbs.cok span { font-size: .74em; }
.ck-mini .ck-pbs { align-items: flex-end; } .ck-tt .ck-pbs.cok span { font-size: .8em; }
.ck-esd { font-size: 11px; opacity: .9; }

/* ===== Yönetici Kokpiti kabuğu (Can, 08.11.2026: CbSahadayim'deki gibi kendi kendine bir uygulama, tam ekran) ===== */
body.ck-open { overflow: hidden; }
.ck.ck-full { position: fixed; inset: 0; z-index: 1500; overflow-y: auto; border-radius: 0; min-height: 0; padding: 20px 26px 24px; }
.ck-head-right .ck-btn { white-space: nowrap; }
.ck .ck-path.blue { stroke: var(--ck-blue); }
.ck .ck-link { margin-left: auto; float: right; color: var(--ck-teal); font-size: 12px; font-weight: 600; cursor: pointer; }
.ck .ck-link:hover { text-decoration: underline; }
.ck-card h3 em.ck-rozet, .ck-rozet { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 9px; margin-left: 8px; background: rgba(230,57,70,.18); color: #ffb3b9; }
.ck-rozet.up { background: rgba(46,196,182,.16); color: var(--ck-teal); } .ck-rozet.down { background: rgba(230,57,70,.18); color: #ffb3b9; }
.ck-not { color: var(--ck-muted); font-size: 11px; margin: 8px 0 0; }
.ck-genis { grid-column: span 2; }
.ck-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ck-mini-btn { text-align: left; background: var(--ck-card2); border: 1px solid var(--ck-line); border-left: 3px solid var(--ck-blue); border-radius: 10px; padding: 7px 10px; color: var(--ck-text);
  cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ck-mini-btn.red { border-left-color: var(--ck-red); } .ck-mini-btn.teal { border-left-color: var(--ck-teal); } .ck-mini-btn.yellow { border-left-color: var(--ck-yellow); }
.ck-mini-btn span { font-size: 11.5px; color: var(--ck-muted); } .ck-mini-btn b { font-size: 16px; color: #fff; } .ck-mini-btn small { font-size: 10.5px; color: var(--ck-muted); }
.ck-mini-btn:hover, .ck-sip:hover, .ck-baslik-btn:hover { border-color: #355082; }
.ck .ck-buckets li i.red, .ck .ck-buckets li i.yellow, .ck .ck-buckets li i.teal, .ck .ck-buckets li i.blue, .ck .ck-buckets li i.orange { display: block; }
.ck i.gray { background: #5c6b82; }
.ck-sip { width: 100%; text-align: left; position: relative; background: var(--ck-card2); border: 1px solid var(--ck-line); border-left: 3px solid var(--ck-blue); border-radius: 10px;
  padding: 9px 12px; margin-bottom: 8px; color: var(--ck-text); cursor: pointer; display: grid; gap: 3px; }
.ck-sip.red { border-left-color: var(--ck-red); }
.ck-sip span { font-size: 12.5px; } .ck-sip span small { color: var(--ck-muted); } .ck-sip > b { font-size: 18px; color: #fff; } .ck-sip > small { font-size: 11px; color: var(--ck-muted); }
.ck-sip .ck-rozet { position: absolute; top: 9px; right: 10px; margin: 0; }
.ck-liste { list-style: none; margin: 0 0 8px; padding: 0; font-size: 12.5px; }
.ck-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; gap: 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid rgba(34,50,79,.6); }
.ck-liste li span { color: var(--ck-muted); } .ck-liste li b { color: #fff; text-align: right; white-space: nowrap; } .ck-liste li > i { color: var(--ck-muted); font-style: normal; }
.ck-liste li.warn b { color: var(--ck-yellow); } .ck-liste li:hover { background: rgba(58,134,255,.08); }
.ck-liste .ck-pbs { align-items: flex-end; }
.ck-basliklar { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.ck-baslik-btn { text-align: left; background: var(--ck-card2); border: 1px solid var(--ck-line); border-radius: 10px; padding: 10px 12px; color: var(--ck-text); cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; }
.ck-baslik-btn b { font-size: 13.5px; color: #fff; } .ck-baslik-btn small { font-size: 11px; color: var(--ck-muted); }
.ck-uretim { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck ol.ck-rank li { grid-template-columns: 18px minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.ck ol.ck-rank em { font-style: normal; color: var(--ck-muted); font-size: 11px; text-align: right; }
.ck-pend li small { margin-left: auto; margin-right: 8px; }
.ck-ring.kucuk { width: 18px; height: 18px; border-width: 3px; display: inline-block; }
@media (max-width: 1250px) { .ck-genis { grid-column: 1 / -1; } .ck-uretim { grid-template-columns: 1fr; } }

/* detay katmanı (CbSahadayim CockpitPanel): kokpitin içinde tam ekran */
.ckp { position: fixed; inset: 0; z-index: 1600; background: radial-gradient(1200px 500px at 20% -10%, #17284a 0%, var(--ck-bg) 55%); color: var(--ck-text); overflow-y: auto;
  animation: ckp-gir .18s ease-out; }
@keyframes ckp-gir { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.ckp-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 26px; background: rgba(11,20,36,.94); border-bottom: 1px solid var(--ck-line); }
.ckp-yol { background: none; border: 0; box-shadow: none; padding: 0; height: auto; position: static; flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--ck-muted); }
.ckp-yol a { color: var(--ck-teal); cursor: pointer; } .ckp-yol a:hover { text-decoration: underline; } .ckp-yol b { color: #fff; }
.ckp-govde { padding: 16px 26px 26px; }
.ckp-hero { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.ckp-ikon { width: 54px; height: 54px; flex: none; display: grid; place-items: center; font-size: 26px; border-radius: 14px; background: rgba(230,57,70,.16); }
.ckp-hero h2 { margin: 0 0 4px; font-size: 21px; color: #fff; } .ckp-hero p { margin: 0 0 3px; color: var(--ck-muted); font-size: 13px; }
.ckp-hero .ckp-ipucu { color: var(--ck-teal); } .ckp-hero .ckp-not { color: var(--ck-yellow); }
.ckp-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ckp-chip { background: var(--ck-card); border: 1px solid var(--ck-line); border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; gap: 3px; }
.ckp-chip.ana { border-color: #355082; } .ckp-chip span { font-size: 11.5px; color: var(--ck-muted); } .ckp-chip b { font-size: 18px; color: #fff; } .ckp-chip small { color: var(--ck-muted); font-size: 11px; }
.ckp-grafik { background: var(--ck-card); border: 1px solid var(--ck-line); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.ckp-grafik h3 { margin: 0 0 10px; font-size: 14px; color: #fff; } .ckp-grafik h3 small { color: var(--ck-muted); font-weight: 400; margin-left: 8px; font-size: 11.5px; }
.ckp-bars { height: 170px; }
.ckp-ilk10 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; font-size: 12.5px; counter-reset: s; }
.ckp-ilk10 li { display: grid; grid-template-columns: 20px minmax(0, 1.4fr) minmax(0, 1fr) auto 38px; gap: 8px; align-items: center; padding: 4px 0; counter-increment: s; }
.ckp-ilk10 li::before { content: counter(s); color: var(--ck-muted); font-size: 11px; text-align: right; }
.ckp-ilk10 .ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ckp-ilk10 b { color: #fff; white-space: nowrap; } .ckp-ilk10 small { color: var(--ck-muted); text-align: right; }
.ckp-ilk10 li.tikla { cursor: pointer; } .ckp-ilk10 li.tikla:hover { background: rgba(58,134,255,.08); }
.ckp-arac { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ckp-arac small { color: var(--ck-muted); font-size: 11.5px; } .ckp-bosluk { flex: 1; }
.ckp-ara { background: var(--ck-card2); border: 1px solid var(--ck-line); color: var(--ck-text); border-radius: 9px; padding: 7px 11px; min-width: 260px; font-size: 13px; }
.ckp-tablo { background: var(--ck-card); border: 1px solid var(--ck-line); border-radius: 14px; overflow: auto; max-height: calc(100vh - 150px); min-height: 320px; }
.ckp-tablo table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ckp-tablo th { position: sticky; top: 0; z-index: 1; background: #14223c; color: var(--ck-muted); font-weight: 600; text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ck-line);
  cursor: pointer; white-space: nowrap; }
.ckp-tablo td { padding: 6px 10px; border-bottom: 1px solid rgba(34,50,79,.6); vertical-align: top; position: relative; }
.ckp-tablo .sag { text-align: right; white-space: nowrap; } .ckp-tablo .no { color: var(--ck-muted); width: 34px; text-align: right; }
.ckp-tablo tbody tr:nth-child(even) { background: rgba(255,255,255,.015); }
.ckp-tablo tbody tr.tikla { cursor: pointer; } .ckp-tablo tbody tr.tikla:hover { background: rgba(58,134,255,.1); }
.ckp-tablo tfoot td { position: sticky; bottom: 0; background: #14223c; border-top: 1px solid var(--ck-line); color: #fff; }
.ckp-tablo .ckp-pbs, .ckp-tablo .ck-pbs { align-items: flex-end; }
.ckp-bar { position: absolute; right: 0; bottom: 2px; height: 3px; background: rgba(58,134,255,.55); border-radius: 2px; }
.ckp-detay { white-space: nowrap; } .ckp-ac { color: var(--ck-teal); font-weight: 600; margin-right: 8px; }
.ckp-ekran { color: var(--ck-muted); cursor: pointer; text-decoration: none; } .ckp-ekran:hover { color: #fff; }
.ckp-daha { margin: 10px; }
@media (max-width: 1100px) { .ckp-ilk10 { grid-template-columns: 1fr; } }

/* vade ve nakit takvimi */
.ckt-arac { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ckt-baslik { font-size: 17px; color: #fff; min-width: 190px; text-align: center; }
.ckt-toplam { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 12px; }
.ckt-tt { background: var(--ck-card); border: 1px solid var(--ck-line); border-left: 3px solid var(--ck-blue); border-radius: 10px; padding: 7px 10px; display: flex; flex-direction: column; gap: 2px; }
.ckt-tt span { font-size: 11.5px; color: var(--ck-muted); } .ckt-tt b { font-size: 15px; color: #fff; display: flex; gap: 2px; } .ckt-tt.net { border-left-color: #fff; }
.ckt-izgara { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ckt-gunadi { text-align: center; font-size: 12px; color: var(--ck-muted); font-weight: 600; padding: 2px 0; }
.ckt-gun { background: var(--ck-card); border: 1px solid var(--ck-line); border-radius: 10px; padding: 6px 7px; min-height: 132px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ckt-izgara.hafta .ckt-gun { min-height: 420px; }
.ckt-gun:hover { border-color: #355082; } .ckt-gun.diger { opacity: .45; } .ckt-gun.hs { background: #0f1a2e; }
.ckt-gun.bugun { border-color: var(--ck-teal); box-shadow: inset 0 0 0 1px var(--ck-teal); } .ckt-gun.eksi { box-shadow: inset 3px 0 0 var(--ck-red); } .ckt-gun.arti { box-shadow: inset 3px 0 0 var(--ck-teal); }
.ckt-gun.bugun.eksi { box-shadow: inset 3px 0 0 var(--ck-red), inset 0 0 0 1px var(--ck-teal); }
.ckt-gun-ust { display: flex; justify-content: space-between; align-items: center; font-size: 13px; } .ckt-gun-ust b { color: #fff; }
.ckt-rozet { font-size: 10px; background: var(--ck-teal); color: #062a27; border-radius: 8px; padding: 0 6px; font-weight: 700; }
.ckt-satir { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 5px; align-items: center; font-size: 11px; border-radius: 5px; padding: 1px 2px; }
.ckt-satir:hover { background: rgba(255,255,255,.06); } .ckt-satir > i { width: 7px; height: 7px; border-radius: 50%; }
.ckt-satir span { color: var(--ck-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ckt-satir b { white-space: nowrap; }
.ckt-olcu { grid-column: 2 / -1; height: 4px; background: var(--ck-line); border-radius: 2px; overflow: hidden; } .ckt-olcu i { display: block; height: 100%; }
.ckt-net { margin-top: auto; font-size: 11px; color: var(--ck-muted); border-top: 1px dashed var(--ck-line); padding-top: 3px; display: flex; justify-content: space-between; }
.ckt-lejant { color: var(--ck-muted); font-size: 11.5px; margin-top: 10px; }
.ckt-lejant i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: -1px; }
.ckt-lejant i.arti { background: var(--ck-teal); } .ckt-lejant i.eksi { background: var(--ck-red); } .ckt-lejant i.bugun { border: 1px solid var(--ck-teal); }
@media (max-width: 900px) { .ckt-izgara { grid-template-columns: repeat(7, minmax(90px, 1fr)); overflow-x: auto; } }

/* mobil (29012): sekmeler, kartlar alt alta */
.ck-sekmeler { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px 12px; padding: 0 14px 4px; -webkit-overflow-scrolling: touch; }
.ck-sekmeler button { flex: none; scroll-snap-align: start; background: var(--ck-card2); border: 1px solid var(--ck-line); color: var(--ck-muted); border-radius: 18px; padding: 6px 14px; font-size: 13px; }
.ck-sekmeler button.on { background: var(--ck-red); border-color: var(--ck-red); color: #fff; font-weight: 700; }
.ck-mobil.ck-full { padding: 12px 14px 20px; }
.ck-mobil .ck-head { flex-wrap: wrap; } .ck-mobil .ck-head h1 { font-size: 19px; } .ck-mobil .ck-clock { display: none; }
.ck-mobil .ck-head-right { width: 100%; justify-content: flex-end; }
.ck-mobil .ck-row, .ck-mobil .ck-uretim, .ck-mobil .ck-ikili { grid-template-columns: 1fr; } .ck-mobil .ck-genis { grid-column: auto; }
.ck-mobil .ck-kpis { grid-template-columns: 1fr 1fr; } .ck-mobil .ck-kpi b { font-size: 18px; white-space: normal; }
.ck-mobil .ck-modbar small { display: none; }
@media (max-width: 700px) {
  .ck.ck-full { padding: 12px 14px 20px; } .ck-kpis { grid-template-columns: 1fr 1fr; } .ck-row { grid-template-columns: 1fr; } .ck-genis { grid-column: auto; }
  .ckp-head, .ckp-govde { padding-left: 14px; padding-right: 14px; } .ckp-ara { min-width: 0; flex: 1 1 100%; } .ck-donut-wrap { flex-direction: column; }
}

/* Yönetici Kokpiti, APK (Kokpit.jsx; Can, 08.11.2026): uygulama sayfasının içinde (sabit kabuk yok), detay satırları kart */
.ck.ck-apk { position: static; min-height: 0; border-radius: 12px; padding: 12px; margin: 0 -4px; }
.ck-apk .ck-row { display: block; } .ck-apk .ck-card { margin-bottom: 10px; } .ck-apk .ck-kpis { grid-template-columns: 1fr 1fr; }
.ck-mb-satirlar { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ck-mb-satir { background: var(--ck-card); border: 1px solid var(--ck-line); border-radius: 12px; padding: 9px 12px; display: grid; gap: 3px; font-size: 13px; }
.ck-mb-satir > b { color: #fff; font-size: 14px; } .ck-mb-satir > div { display: flex; justify-content: space-between; gap: 10px; }
.ck-mb-satir > div span { color: var(--ck-muted); } .ck-mb-satir > div em { font-style: normal; text-align: right; color: var(--ck-text); }
.ck-mb-satir.tikla:active { border-color: #355082; } .ck-mb-satir.eksi { box-shadow: inset 3px 0 0 var(--ck-red); } .ck-mb-satir.arti { box-shadow: inset 3px 0 0 var(--ck-teal); }
.mb-hizli a.mb-kokpit, .mb-izgara a.mb-kokpit { background: #0b1424; color: #fff; }