/* SAHA (mobil) — ERP renkleri ve yazı tipiyle, telefon için büyük dokunma alanları */
body.saha { min-height: 100%; font-size: 14px; background: var(--alan-zemin); padding-bottom: env(safe-area-inset-bottom); }
.saha-ust { position: sticky; top: 0; z-index: 5; height: 44px; font-size: 13px; }
.saha-kim { color: #fff; font-weight: bold; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; }
.saha .cikis { font-size: 12px; }
.saha-giris { display: grid; place-items: center; padding: 24px 16px; }
.saha-kart { width: min(380px, 100%); background: var(--panel); border: 1px solid var(--cizgi); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.saha-kart h1 { font-size: 18px; margin: 0; }
.saha label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--soluk); }
.saha input, .saha select, .saha textarea { font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid var(--cizgi); border-radius: 3px; background: #fff; color: var(--yazi); width: 100%; }
.saha label.satir-ici { flex-direction: row; align-items: center; font-size: 14px; color: var(--yazi); }
.saha label.satir-ici input { width: 22px; height: 22px; }
.saha-hata { background: var(--kirmizi-z); color: var(--kirmizi); padding: 8px; font-weight: bold; }
.saha-btn { font: inherit; font-size: 14px; font-weight: bold; padding: 11px 14px; border: 1px solid #b8b8b8; background: #fafafa; border-radius: 3px; cursor: pointer; color: var(--yazi); text-align: center; }
.saha-btn.ana { background: var(--vurgu); border-color: var(--vurgu-koyu); color: #fff; }
.saha-btn.yesil { background: var(--yesil); border-color: #1b5e20; color: #fff; }
.saha-btn.kucuk { font-size: 12px; padding: 7px 10px; }
.saha-btn:disabled { opacity: .5; }
.saha-sekme { position: sticky; top: 44px; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--menu-zemin); }
.saha-sekme button { font: inherit; font-size: 12px; font-weight: bold; color: var(--menu-soluk); background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 2px; cursor: pointer; }
.saha-sekme button.aktif { color: #fff; border-bottom-color: var(--vurgu); }
.saha-sekme b { display: inline-block; min-width: 18px; background: var(--vurgu); color: #fff; border-radius: 9px; font-size: 11px; padding: 0 5px; }
.saha-sekme b:empty { display: none; }
.saha-icerik { padding: 10px 10px 40px; max-width: 760px; margin: 0 auto; }
.saha-arac { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.gorev { background: var(--panel); border: 1px solid var(--cizgi); border-left: 5px solid var(--vurgu); margin-bottom: 10px; padding: 10px 12px; }
.gorev.takip { border-left-color: #7b3fe4; }
.gorev.rev { border-left-color: var(--turuncu); }
.gorev.gecikti { border-left-color: var(--kirmizi); }
.gorev h3 { font-size: 15px; margin: 0 0 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gorev .alt { color: var(--soluk); font-size: 12.5px; line-height: 1.5; }
.gorev .alt a { color: var(--link); }
.gorev .dugmeler { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gorev .dugmeler .saha-btn { flex: 1 1 140px; }
.kalem { display: flex; gap: 10px; align-items: flex-start; padding: 9px 2px; border-top: 1px solid var(--izgara); font-size: 14px; }
.kalem input { width: 26px; height: 26px; flex: none; margin: 0; }
.kalem.yapildi span { text-decoration: line-through; color: #888; }
.kalem small { display: block; color: var(--soluk); font-size: 11px; }
.ilerleme-b { height: 8px; background: #e6e6e6; border-radius: 4px; overflow: hidden; margin: 6px 0; }
.ilerleme-b i { display: block; height: 100%; background: var(--yesil); }
.rozet-durum { font-size: 11px; padding: 1px 6px; border-radius: 2px; background: var(--turuncu-z); color: var(--turuncu); font-weight: bold; }
.saha-pencere { padding: 0; border: 0; width: 100vw; max-width: 760px; height: 100%; max-height: 100%; margin: 0 auto; background: var(--alan-zemin); }
.saha-pencere form { display: flex; flex-direction: column; height: 100%; }
.saha-pencere-ust { flex: none; display: flex; justify-content: space-between; align-items: center; background: var(--bas-zemin); color: #fff; padding: 0 12px; height: 46px; font-weight: bold; }
.saha-kapat { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.saha-pencere-govde { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.saha-pencere-alt { flex: none; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #f7f7f7; border-top: 1px solid var(--izgara); }
.ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.saha-etiket { font-weight: bold; font-size: 13px; margin-top: 4px; }
.etiket-sec.buyuk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.etiket-sec.buyuk button { font-size: 13px; padding: 12px 4px; }
.kusur-liste details { background: var(--panel); border: 1px solid var(--cizgi); margin-bottom: 6px; }
.kusur-liste summary { padding: 10px; font-weight: bold; cursor: pointer; }
.kusur-liste label.satir-ici { padding: 8px 10px; border-top: 1px solid var(--izgara); font-size: 13px; align-items: flex-start; }
.saha-uyari { background: #efe7fd; color: #4a1fa8; border: 1px solid #c9b3f5; padding: 8px; font-size: 13px; }
.saha-mesaj { font-weight: bold; min-height: 18px; }
.saha-mesaj.hata { color: var(--kirmizi); }
.saha-mesaj.tamam { color: var(--yesil); }
.foto-sec { display: flex; flex-direction: column; gap: 6px; }
.bos-kart { text-align: center; color: var(--soluk); padding: 30px 10px; background: var(--panel); border: 1px dashed var(--cizgi); }
@media (max-width: 420px) { .ikili { grid-template-columns: 1fr; } .etiket-sec.buyuk { grid-template-columns: repeat(2, 1fr); } }
.saha label.kalem { flex-direction: row; color: var(--yazi); font-size: 14px; }
.saha-ust { gap: 8px; padding: 0 8px; }
.saha-ust .bc-sag { gap: 6px; min-width: 0; }
.saha-kim { max-width: 26vw; }
@media (max-width: 420px) { .saha-ust .uyg-ad { font-size: 12px; } .saha-ust .rozet { font-size: 9px; padding: 1px 4px; } }
.saha-sekme { grid-template-columns: repeat(5, 1fr); }
.saha-sekme button { font-size: 11px; }
.kucuk-pencere { height: auto; max-height: 60%; margin-top: 30%; }
.kucuk-pencere .saha-pencere-govde { gap: 12px; }
.gorev.onarim { border-left-color: #0f766e; }
.gorev.kontrol { border-left-color: #7b3fe4; background: #faf7ff; }
.kontrol-not { background: var(--turuncu-z); color: var(--turuncu); padding: 6px 8px; font-size: 12.5px; margin-top: 6px; }
.saha-sekme { display: flex; overflow-x: auto; scrollbar-width: none; }
.saha-sekme button { flex: 1 0 auto; padding: 12px 10px; }
.saha-eylem { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-bottom: 8px; }
.saha-eylem .saha-btn { padding: 14px 10px; font-size: 15px; }
.qr-video { width: 100%; max-height: 60vh; background: #000; border-radius: 4px; object-fit: cover; }
.bf-ust { display: flex; justify-content: space-between; align-items: center; }
.bf-sorular label.madde { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--cizgi); padding: 10px; margin-bottom: 6px; color: var(--yazi); font-size: 13px; font-weight: 600; }
.bf-sorular label.madde small { display: block; font-size: 16px; letter-spacing: 3px; font-weight: normal; margin-top: 2px; }
.bf-sorular label.madde input { width: 28px; height: 28px; flex: none; }
.bf-sorular label.madde.secili { background: #e8f5e9; border-color: var(--yesil); }
.malz-ekle { display: grid; grid-template-columns: 1fr 60px auto; gap: 6px; }
.malz-liste .m { display: flex; justify-content: space-between; align-items: center; background: var(--panel); border: 1px solid var(--cizgi); padding: 6px 8px; margin-top: 4px; font-size: 13px; }
.as-bilgi { background: var(--panel); border: 1px solid var(--cizgi); padding: 10px; font-size: 13px; line-height: 1.6; }
.as-bilgi h3 { margin: 0 0 4px; font-size: 16px; }
.as-durum { padding: 8px; font-weight: bold; text-align: center; border-radius: 3px; }
.as-durum.tamam { background: #e8f5e9; color: var(--yesil); } .as-durum.bekliyor { background: var(--turuncu-z); color: var(--turuncu); }
.karekod-rozet { display: inline-block; background: #e8f5e9; color: var(--yesil); font-size: 11px; font-weight: bold; padding: 1px 6px; border-radius: 2px; }

/* ================= SAHA v2 — daha sade, büyük dokunma alanları, alt gezinme ================= */
body.saha { background: #eef0f3; padding-bottom: calc(76px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
.saha-ust { box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.saha-icerik { padding: 0 12px 24px; }
/* 2026-11-19: erp.css "html, body { height: 100% }" gövdeyi ekran boyuna sabitliyordu; taşan liste gövdenin alt boşluğunu
   kullanamadığı için son kartların düğmeleri (ARIZAYI GİDER vb.) alt menünün ve ＋ düğmesinin arkasında kalıyordu. */
body.saha { height: auto; min-height: 100%; }
body.saha .saha-icerik { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.gorunum-ust { position: sticky; top: 44px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 -12px; padding: 10px 14px 8px; background: #eef0f3; }
.gorunum-ust h2 { margin: 0; font-size: 17px; letter-spacing: .3px; color: #222; }
.gorunum-arac { display: flex; align-items: center; gap: 8px; }
.ikon-yuvarlak { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d6d9de; background: #fff; font-size: 18px; cursor: pointer; color: var(--yazi); display: grid; place-items: center; }
.anahtar { flex-direction: row !important; align-items: center; gap: 6px !important; font-size: 12px !important; color: var(--yazi) !important; background: #fff;
  border: 1px solid #d6d9de; border-radius: 19px; padding: 0 10px 0 6px; height: 38px; }
.saha .anahtar input { width: 18px; height: 18px; margin: 0; }
/* segment (İşlerim) */
.segment { display: flex; gap: 4px; background: #dfe2e7; border-radius: 10px; padding: 3px; margin: 0 0 10px; overflow-x: auto; scrollbar-width: none; }
.segment button { flex: 1 0 auto; font: inherit; font-size: 13px; font-weight: 600; border: 0; background: none; border-radius: 8px; padding: 9px 10px; color: #555; cursor: pointer; }
.segment button.aktif { background: #fff; color: var(--vurgu-koyu); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.segment b, .alt-nav b { display: inline-block; min-width: 18px; background: var(--vurgu); color: #fff; border-radius: 9px; font-size: 10.5px; padding: 0 5px; line-height: 17px; text-align: center; }
.segment b:empty, .alt-nav b:empty { display: none; }
/* alt gezinme */
.alt-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  background: #fff; border-top: 1px solid #d9dce1; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0,0,0,.06); }
.alt-nav button { position: relative; font: inherit; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 6px 2px 4px; color: #777; font-size: 10.5px; font-weight: 600; }
.alt-nav button i { font-style: normal; font-size: 21px; line-height: 1.1; filter: grayscale(1); opacity: .75; }
.alt-nav button.aktif { color: var(--vurgu-koyu); } .alt-nav button.aktif i { filter: none; opacity: 1; }
.alt-nav button b { position: absolute; top: 1px; left: calc(50% + 6px); }
.alt-nav .qr-dugme { margin-top: -22px; }
.alt-nav .qr-dugme i { filter: none; opacity: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--vurgu); display: grid; place-items: center; font-size: 26px;
  box-shadow: 0 4px 12px rgba(0,90,180,.4); border: 4px solid #fff; }
.alt-nav .qr-dugme span { color: var(--vurgu-koyu); }
.fab { position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 6; width: 52px; height: 52px; border-radius: 16px; border: 0;
  background: #2f2f2f; color: #fff; font-size: 28px; line-height: 1; box-shadow: 0 4px 12px rgba(0,0,0,.3); cursor: pointer; }
@media (min-width: 761px) { .alt-nav { max-width: 760px; margin: 0 auto; border-radius: 14px 14px 0 0; } }
/* ana sayfa */
.karsilama { display: flex; flex-direction: column; margin: 2px 2px 10px; }
.karsilama small { color: #777; font-size: 12px; } .karsilama b { font-size: 20px; }
.nobet-kart { width: 100%; text-align: left; font: inherit; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 0; border-left: 6px solid var(--renk);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); cursor: pointer; color: var(--yazi); }
.nobet-kart small { font-size: 11px; color: #777; font-weight: 700; letter-spacing: .3px; } .nobet-kart b { font-size: 19px; }
.nobet-kart span { font-size: 12.5px; color: #555; } .nobet-kart.benim { background: #fff8e6; } .nobet-kart.bos { color: #777; border-left-color: #ccc; cursor: default; }
.buyuk-qr { width: 100%; display: flex; align-items: center; gap: 14px; font: inherit; font-size: 30px; border: 0; border-radius: 14px; padding: 16px 18px; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--vurgu), var(--vurgu-koyu)); color: #fff; cursor: pointer; box-shadow: 0 4px 12px rgba(0,90,180,.3); text-align: left; }
.buyuk-qr span { font-size: 15px; font-weight: 700; display: flex; flex-direction: column; } .buyuk-qr small { font-size: 12px; font-weight: normal; opacity: .85; }
.kutular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .kutular { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kutu { font: inherit; text-align: left; border: 0; background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.08); color: var(--yazi); min-height: 92px; }
.kutu i { font-style: normal; font-size: 24px; } .kutu b { font-size: 14px; } .kutu span { font-size: 12px; color: #888; }
.kutu.dolu span { color: var(--vurgu-koyu); font-weight: 700; }
.kutu:active, .buyuk-qr:active, .nobet-kart:active { transform: scale(.98); }
/* kartlar (iş listeleri) */
.gorev { border: 0; border-left: 5px solid var(--vurgu); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 12px 14px; }
.gorev h3 { font-size: 15.5px; }
.gorev .alt { font-size: 13px; line-height: 1.6; }
.gorev .alt a.cip, .cip { display: inline-flex; align-items: center; gap: 4px; margin: 4px 6px 0 0; padding: 5px 10px; border-radius: 16px; background: #eef4fc;
  color: var(--vurgu-koyu); font-size: 12.5px; font-weight: 600; text-decoration: none; border: 1px solid #d3e3f7; }
.gorev .alt .adres { display: block; color: #888; font-size: 12px; }
.gorev .dugmeler .saha-btn { border-radius: 10px; padding: 12px 10px; }
.gorev.ince { border-left-color: #888; } .gorev .tutar { margin-left: auto; font-variant-numeric: tabular-nums; }
.saha-btn { border-radius: 10px; }
.saha-btn.genis-btn { width: 100%; margin-bottom: 10px; padding: 14px; font-size: 15px; }
.rozet-durum { border-radius: 10px; padding: 1px 8px; } .rozet-durum.yesil { background: #e8f5e9; color: var(--yesil); } .rozet-durum.kirmizi { background: var(--kirmizi-z); color: var(--kirmizi); }
.bos-kart { border-radius: 12px; border-style: dashed; background: #fff; }
.saha-etiket { color: #444; }
h4.saha-etiket { margin: 14px 2px 6px; font-size: 12px; letter-spacing: .4px; color: #777; }
.ozet-satir { display: flex; justify-content: space-between; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ozet-satir b { font-size: 17px; }
/* nöbet */
.ay-gez { display: flex; justify-content: space-between; align-items: center; margin: 6px 2px 8px; } .ay-gez b { font-size: 15px; }
.mini-takvim { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 10px; }
.mini-takvim i { font-style: normal; font-size: 10.5px; color: #999; text-align: center; font-weight: 700; }
.mini-takvim span { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--renk) 22%, #fff); }
.mini-takvim span em { font-style: normal; font-size: 12px; font-weight: 700; color: #333; }
.mini-takvim span.benim { background: var(--renk); } .mini-takvim span.benim em { color: #fff; }
.mini-takvim span.bugun { outline: 2px solid #222; }
.mini-takvim span:not([style]) { background: none; }
.nobet-liste { display: flex; flex-direction: column; gap: 6px; }
.nl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: #fff; border-radius: 10px; border-left: 5px solid var(--renk); padding: 9px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.nl > span { min-width: 92px; font-size: 13px; font-weight: 600; } .nl > span small { display: block; color: #888; font-weight: normal; font-size: 11px; }
.nl > b { flex: 1; font-size: 14px; } .nl .cip { margin: 0; } .nl.benim { background: #fff8e6; } .nl.bugun { outline: 2px solid var(--vurgu); }
.nl em.rozet-durum { font-style: normal; }
/* masraf */
.cip-sec { display: flex; flex-wrap: wrap; gap: 8px; }
.cip-sec button { font: inherit; font-size: 14px; padding: 10px 14px; border-radius: 20px; border: 1px solid #ccd2da; background: #fff; cursor: pointer; }
.cip-sec button.secili { background: var(--vurgu); color: #fff; border-color: var(--vurgu-koyu); font-weight: 700; }
/* 2026-11-23: GEÇMİŞ (kendi işlerim) */
.gecmis-donem { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.gecmis-donem button { flex: 0 0 auto; }
#liste > .cip-sec { margin: 10px 0; }
.gecmis-ara { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #ccd2da; border-radius: 10px; margin-bottom: 10px; }
.gecmis-liste .dugmeler a.saha-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.saha input.buyuk-giris { font-size: 26px; font-weight: 700; padding: 10px 12px; }
/* tam ekran pencereler biraz daha yumuşak */
.saha-pencere-ust { height: 52px; font-size: 15px; }
.saha-pencere-alt .saha-btn { padding: 14px 10px; font-size: 15px; }
.saha input, .saha select, .saha textarea { border-radius: 8px; }
.kucuk-pencere { border-radius: 16px 16px 0 0; margin: auto 0 0; max-height: 80%; width: 100%; }
.kucuk-pencere .saha-btn { padding: 14px; font-size: 15px; text-align: left; }
.saha-giris .saha-kart { border-radius: 14px; border: 0; box-shadow: 0 2px 12px rgba(0,0,0,.1); }

/* çevrimdışı kuyruk (saha_kuyruk.js) */
.kuyruk-serit { position: sticky; top: 0; z-index: 30; display: block; width: 100%; border: 0; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: bold;
  background: #fff3cd; color: #6b4e00; border-bottom: 1px solid #e6c65c; text-align: center; cursor: pointer; }
.kuyruk-serit.hata { background: var(--kirmizi-z); color: var(--kirmizi); border-bottom-color: var(--kirmizi); }
.kuyruk-bildirim { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; background: #2f2f2f; color: #fff;
  padding: 12px 14px; border-radius: 6px; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.kuyruk-bildirim[hidden] { display: none; }

/* hızlı işlem düğmeleri + bina seçici */
.hizli { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 12px; }
.hizli button { font: inherit; font-weight: bold; font-size: 14px; padding: 14px 8px; border-radius: 8px; border: 1px solid var(--cizgi); background: var(--panel);
  color: var(--yazi); cursor: pointer; display: flex; align-items: center; gap: 8px; justify-content: center; }
.hizli button i { font-style: normal; font-size: 20px; }
.hizli button.vurgu { background: var(--vurgu); border-color: var(--vurgu-koyu); color: #fff; }
.bs-liste { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.bs-liste button { font: inherit; text-align: left; padding: 10px 12px; border: 1px solid var(--cizgi); border-radius: 6px; background: #fff; cursor: pointer; color: var(--yazi); }
.bs-liste button b { display: block; font-size: 14px; } .bs-liste button small { color: var(--soluk); font-size: 12px; }

/* yazılım imzası (giriş ekranı + ana sayfa altı) */
.imza-alt { text-align: center; font-size: 11px; color: var(--soluk); margin: 14px 0 0; }
.saha-ust .uyg-logo-img { height: 18px; }
/* --- pencereler: telefon tarayıcısının alt çubuğu kaydet düğmesini kapatmasın (görünen ekran yüksekliği: dvh) --- */
.saha-pencere[open] { display: flex; flex-direction: column; inset: 0; height: 100%; max-height: 100%; height: 100dvh; max-height: 100dvh; overflow: hidden; }
.saha-pencere > form { flex: 1; min-height: 0; height: auto; }
.saha-pencere-govde { min-height: 0; overscroll-behavior: contain; }
.kucuk-pencere[open] { height: auto; max-height: 100dvh; }

/* --- yazdıkça daralan arama (malzeme, arıza kodu, bina) --- */
.ara-kutu { position: relative; }
.ara-kutu input { width: 100%; }
/* 2026-11-23: pencere gövdesi dikey esnek kutu; içerik taşınca çocuklar SIKIŞMASIN (parça/malzeme öneri listesi ezilip görünmüyordu) */
.saha-pencere-govde > * { flex-shrink: 0; }
.oneri-liste { display: flex; flex-direction: column; border: 1px solid var(--cizgi); border-radius: 4px; background: #fff; max-height: 42vh; overflow: auto; margin-top: 4px; }
.oneri-liste[hidden] { display: none; }
.oneri-liste button { font: inherit; text-align: left; padding: 11px 12px; border: 0; border-bottom: 1px solid #eee; background: #fff; color: var(--yazi); cursor: pointer; }
.oneri-liste button:active, .oneri-liste button.secili { background: #e8f0fe; }
.oneri-liste button b { font-weight: bold; } .oneri-liste button small { display: block; color: var(--soluk); font-size: 12px; }
.oneri-liste .soluk { padding: 10px 12px; }
.ara-secildi { border-color: #2e7d32 !important; background: #f1f8f1 !important; }

/* --- karekod okuyucu: nişangah + fener / yakınlaştırma --- */
.qr-kutu { position: relative; }
.qr-nisan { position: absolute; inset: 15% 15%; border: 3px solid rgba(255,255,255,.9); border-radius: 10px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); pointer-events: none; }
.qr-araclar { display: flex; gap: 8px; justify-content: center; }
.qr-araclar[hidden] { display: none; }
/* ---- Asansör kartı › CARİ HESAP ---- */
.ch-ozet { display: flex; gap: 10px; padding: 12px; border-radius: 4px; color: #fff; background: var(--yesil); }
.ch-ozet.borclu { background: var(--kirmizi); }
.ch-ozet > div { flex: 1; display: flex; flex-direction: column; }
.ch-ozet small { font-size: 11px; opacity: .85; font-weight: bold; letter-spacing: .3px; }
.ch-ozet b { font-size: 22px; line-height: 1.25; }
.ch-ozet span { font-size: 12px; opacity: .9; }
.ch-kutular { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ch-kutular > div { background: var(--panel); border: 1px solid var(--cizgi); padding: 8px 10px; display: flex; flex-direction: column; }
.ch-kutular small { font-size: 11px; color: var(--soluk); font-weight: bold; }
.ch-kutular b { font-size: 16px; }
.ch-kutular span { font-size: 12px; color: var(--soluk); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-aylar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.ch-aylar > div { background: var(--panel); border: 1px solid var(--cizgi); text-align: center; padding: 4px 0; display: flex; flex-direction: column; }
.ch-aylar small { font-size: 10px; color: var(--soluk); font-weight: bold; }
.ch-aylar b { font-size: 14px; }
.ch-aylar .yapildi { background: var(--yesil-z); border-color: #9cc9a0; color: var(--yesil); }
.ch-aylar .yok { background: var(--kirmizi-z); border-color: #f0b4b4; color: var(--kirmizi); }
.ch-aylar .bu { border: 2px solid var(--turuncu); }
.ch-filtre { flex: none; position: sticky; top: -12px; z-index: 2; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; background: var(--alan-zemin); }
.ch-filtre button { flex: none; font: inherit; font-size: 13px; font-weight: bold; padding: 7px 12px; border-radius: 16px; border: 1px solid var(--cizgi); background: #fff; color: var(--yazi); cursor: pointer; }
.ch-filtre button.aktif { background: var(--vurgu); border-color: var(--vurgu-koyu); color: #fff; }
.ch-filtre b { font-size: 11px; opacity: .75; }
.ch-ay { font-size: 12px; font-weight: bold; color: var(--soluk); margin-top: 6px; letter-spacing: .3px; }
.ch-satir { display: flex; gap: 8px; align-items: flex-start; background: var(--panel); border: 1px solid var(--cizgi); border-left: 4px solid #b8b8b8; padding: 8px 10px; }
.ch-satir.ch-bakim { border-left-color: var(--vurgu); }
.ch-satir.ch-tahsilat { border-left-color: var(--yesil); background: #f6fbf6; }
.ch-satir.ch-is { border-left-color: var(--turuncu); }
.ch-satir.ch-ariza { border-left-color: var(--kirmizi); }
.ch-satir.ch-ariza.acik { background: var(--kirmizi-z); }
.ch-durum-acik { color: var(--kirmizi); font-size: 12px; }
.ch-durum-ok { color: var(--yesil); font-size: 12px; }
.ch-fis { margin-top: 4px; font-size: 12px; font-weight: bold; color: var(--vurgu); text-decoration: none; border: 1px solid var(--vurgu); border-radius: 12px; padding: 2px 8px; white-space: nowrap; }
.saha-kisa-bilgi { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 9999; background: #1f7a35; color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: bold; font-size: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.25); max-width: 90vw; text-align: center; }
/* BİLDİRİM ÇUBUĞU (Web Push) */
.bildirim-cubuk { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 8px; border: 1px solid var(--cizgi); background: var(--panel); font-size: 13px; line-height: 1.35; }
.bildirim-cubuk[hidden] { display: none; }
.bildirim-cubuk > span { flex: 1; }
.bildirim-cubuk button { flex: none; font: inherit; font-weight: bold; padding: 6px 12px; border-radius: 4px; border: 1px solid var(--vurgu-koyu); background: var(--vurgu); color: #fff; cursor: pointer; }
.bildirim-cubuk button[data-b="gizle"] { background: transparent; border: 0; color: var(--soluk); font-size: 18px; padding: 0 4px; }
.bildirim-cubuk button.kucuk { padding: 4px 10px; font-size: 12px; }
.bildirim-cubuk.davet { border-color: var(--vurgu); background: #eef4fd; }
.bildirim-cubuk.tamam { background: var(--yesil-z); border-color: #9cc9a0; }
.bildirim-cubuk.uyari { background: var(--kirmizi-z); border-color: #f0b4b4; }
.bildirim-cubuk .ios-paylas { display: inline-block; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; font-size: 11px; }
.ch-ikon { font-size: 18px; line-height: 1.2; }
.ch-orta { flex: 1; min-width: 0; font-size: 13px; }
.ch-acik { color: var(--yazi); word-break: break-word; }
.ch-ek { color: var(--soluk); font-size: 11.5px; }
.ch-sag { text-align: right; display: flex; flex-direction: column; font-size: 14px; white-space: nowrap; }
.ch-sag small { font-size: 10.5px; color: var(--soluk); }
.ch-arti { color: var(--yesil); }