/* YetBook v2 — sade, Görevler tarzi */
:root {
  --zemin: #ffffff;
  --zemin2: #f6f7f9;
  --kart: #ffffff;
  --yazi: #1b1f24;
  --soluk: #5f6670;
  --soluk2: #8a919a;
  --cizgi: #e6e8eb;
  --ana: #16314f;
  --ana-acik: #2c5a8c;
  --ana-zemin: #eaf0f7;
  --altin: #e7a92f;
  --altin-zemin: #fdf3dc;
  --kritik: #d93025;
  --kritik-zemin: #fdecea;
  --yuksek: #e37400;
  --yuksek-zemin: #fef1e3;
  --basari: #1e8e3e;
  --hover: #f3f5f8;
  --secili: #edf2f8;
  --golge: 0 1px 3px rgba(20, 30, 45, .08), 0 4px 14px rgba(20, 30, 45, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --zemin: #121417; --zemin2: #0d0f12; --kart: #181b1f; --yazi: #e8eaed; --soluk: #a1a8b1; --soluk2: #7c838c;
    --cizgi: #2a2e34; --ana: #9cc0ea; --ana-acik: #b6d2f2; --ana-zemin: #1b2838; --altin: #f2c25e; --altin-zemin: #2f2714;
    --kritik: #f28b82; --kritik-zemin: #3a1f1d; --yuksek: #fbb36a; --yuksek-zemin: #36281a; --basari: #81c995;
    --hover: #1e2227; --secili: #1b2838; --golge: 0 2px 10px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--zemin); color: var(--yazi);
  font: 15px/1.45 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
a { color: var(--ana-acik); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Ust bar ---------- */
.ust { position: sticky; top: 0; z-index: 20; background: var(--zemin); padding-top: env(safe-area-inset-top); }
.ust-ic { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 0 16px; height: 56px; }
.logo { text-decoration: none; font-size: 23px; letter-spacing: -.3px; }
.logo-yet { color: var(--ana); font-weight: 800; }
.logo-book { color: var(--altin); font-weight: 800; }
.ust-nav { display: none; gap: 4px; }
.ust-nav a { color: var(--soluk); text-decoration: none; padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: 14.5px; }
.ust-nav a.aktif { background: var(--ana-zemin); color: var(--ana); font-weight: 600; }
.ust-nav a:hover { background: var(--hover); }

/* ---------- Alt nav (mobil) ---------- */
.alt-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--zemin);
  border-top: 1px solid var(--cizgi); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.alt-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--soluk); font-size: 11.5px; font-weight: 500; }
.alt-nav a .ikon { font-size: 19px; line-height: 1.2; width: 56px; text-align: center; border-radius: 999px; padding: 2px 0; }
.alt-nav a.aktif { color: var(--ana); font-weight: 700; }
.alt-nav a.aktif .ikon { background: var(--ana-zemin); }

.fab {
  position: fixed; z-index: 21; right: 18px; bottom: calc(80px + env(safe-area-inset-bottom));
  height: 56px; min-width: 56px; border-radius: 18px; border: 0; padding: 0 16px;
  background: var(--ana); color: #fff; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 3px 10px rgba(22, 49, 79, .35);
}
.fab span { font-size: 30px; line-height: 1; color: var(--altin); font-weight: 300; margin-top: -3px; }
.fab b { display: none; font-weight: 600; font-size: 15px; }
@media (prefers-color-scheme: dark) { .fab { background: #24456b; } }

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .alt-nav { display: none; }
  .ust-nav { display: flex; }
  .fab { bottom: 28px; right: 28px; }
  .fab b { display: inline; }
}

.ana { max-width: 1240px; margin: 0 auto; padding: 0 0 24px; }
body:not(.liste-modu):not(.takvim-modu) .ana { padding: 8px 16px 24px; }

/* ---------- Liste duzeni ---------- */
.duzen { display: block; }
.liste { padding-bottom: 96px; }
.detay-bolme { display: none; }
@media (min-width: 1000px) {
  .duzen { display: grid; grid-template-columns: minmax(380px, 1fr) minmax(400px, 1fr); gap: 0; align-items: start; padding: 0 16px; }
  .liste-bolme { border-right: 1px solid var(--cizgi); min-height: calc(100vh - 70px); padding-right: 8px; }
  .detay-bolme { display: block; position: sticky; top: 60px; max-height: calc(100vh - 66px); overflow-y: auto; }
}
.detay-bos { color: var(--soluk2); text-align: center; padding: 120px 20px; font-size: 14px; }
.bos-ikon { font-size: 38px; color: var(--cizgi); margin-bottom: 8px; }

.sekme { display: flex; gap: 2px; padding: 0 8px; border-bottom: 1px solid var(--cizgi); overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(56px + env(safe-area-inset-top)); background: var(--zemin); z-index: 5; }
.sekme::-webkit-scrollbar { display: none; }
.sekme button {
  flex: 0 0 auto; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
  padding: 10px 11px 9px; font-size: 14px; font-weight: 500; color: var(--soluk); white-space: nowrap;
}
.sekme button small { font-size: 11.5px; margin-left: 4px; color: var(--soluk2); font-weight: 500; }
.sekme button.on { color: var(--ana); border-bottom-color: var(--ana); font-weight: 600; }
.sekme button.on small { color: var(--ana); }
.sekme button[data-sekme="ONEMLI"] { font-size: 17px; padding-top: 7px; }
.sekme button[data-sekme="ONEMLI"].on { color: var(--altin); border-bottom-color: var(--altin); }

.lbas { display: flex; align-items: center; padding: 16px 16px 2px; gap: 8px; }
.lbas h2 { font-size: 21px; font-weight: 400; margin: 0; flex: 1; letter-spacing: -.2px; }
.ikon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--soluk); font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.ikon-btn:hover, .ikon-btn.on { background: var(--hover); color: var(--ana); }

.ozet { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 0 12px 6px; font-size: 13px; }
.ozet button { background: none; border: 0; padding: 3px 5px; border-radius: 6px; color: var(--soluk); font-weight: 500; }
.ozet button.kirmizi:not(.sifir) { color: var(--kritik); }
.ozet button.sifir { color: var(--soluk2); font-weight: 400; }
.ozet button.on { background: var(--ana-zemin); color: var(--ana); }
.ozet .nokta { color: var(--soluk2); }

.arama { padding: 4px 16px 10px; display: grid; gap: 8px; }
.arama input, .arama select { width: 100%; border: 1px solid var(--cizgi); background: var(--zemin2); border-radius: 10px; padding: 9px 12px; min-height: 40px; outline: none; }
.arama input:focus, .arama select:focus { border-color: var(--ana-acik); background: var(--zemin); }
.temizle { justify-self: start; background: none; border: 0; color: var(--ana-acik); font-weight: 600; font-size: 13px; padding: 2px 0; }
.iki { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* gruplar */
.grup { display: flex; align-items: center; gap: 8px; padding: 18px 16px 7px; margin: 0 12px 4px 16px; padding-left: 0; padding-right: 4px; border-bottom: 1.5px solid var(--cizgi); font-size: 13.5px; font-weight: 600; color: var(--soluk); cursor: pointer; user-select: none; }
.grup .ok { font-size: 11px; transition: transform .15s; width: 12px; }
.grup.kapali .ok { transform: rotate(-90deg); }
.grup .sayi { margin-left: auto; font-weight: 400; color: var(--soluk2); }
.grup.kirmizi { color: var(--kritik); border-bottom-color: #f4c7c3; }
.grup-tarih { font-weight: 400; color: var(--soluk2); margin-left: 2px; }
.grup-tarih::before { content: '·'; margin-right: 6px; }
.grup.kapali { border-bottom-color: transparent; }
.grup[data-grup="kapali"] { margin-top: 10px; }

/* gorev satiri */
.g { display: flex; gap: 14px; padding: 10px 12px 10px 16px; align-items: flex-start; cursor: pointer; border-radius: 0 24px 24px 0; margin-right: 6px; transition: background .12s, opacity .25s; }
@media (hover: hover) { .g:hover { background: var(--hover); } }
.g.secili { background: var(--secili); }
.g.bitiyor { opacity: .25; }
.daire { width: 22px; height: 22px; border: 2px solid var(--soluk); border-radius: 50%; flex: 0 0 auto; margin-top: 1px; background: none; padding: 0; position: relative; transition: background .15s; }
.daire.yuk { border-color: var(--yuksek); }
.daire.krit { border-color: var(--kritik); }
@media (hover: hover) { .daire:hover::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--soluk); } }
 .g.bitiyor .daire::after, .g.tamam .daire::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--soluk); }
.g.bitiyor .daire, .g.tamam .daire { background: var(--ana); border-color: var(--ana); }
.g.bitiyor .daire::after, .g.tamam .daire::after { color: #fff; }
.gm { flex: 1; min-width: 0; }
.gb { font-size: 15.5px; line-height: 1.35; word-break: break-word; }
.g.tamam .gb { text-decoration: line-through; color: var(--soluk2); }
.gk { font-size: 13px; color: var(--soluk); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gd { font-size: 13px; color: var(--soluk2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cipler { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.cip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--cizgi); border-radius: 8px; padding: 2px 9px; font-size: 12.5px; color: var(--soluk); font-weight: 500; }
.cip.bugun { color: var(--ana-acik); border-color: #c9d8ea; }
.cip.gecti { color: var(--kritik); border-color: #f4c7c3; }
.cip.devam { color: var(--ana-acik); background: var(--ana-zemin); border-color: transparent; }
.g.tamam .cip { opacity: .6; }
.kat { font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 5px; background: var(--hover); color: var(--soluk); }
.kat.k-MAIL { background: var(--altin-zemin); color: #8a5a00; }
.kat.k-BM { background: #f1ebfb; color: #5b3aa0; }
.kat.k-YARDIMCI { background: #e6f4f1; color: #176b5c; }
@media (prefers-color-scheme: dark) { .kat.k-MAIL { color: var(--altin); } .kat.k-BM { background: #2a2140; color: #c5a9f5; } .kat.k-YARDIMCI { background: #15312c; color: #7fd8c5; } }
.yildiz { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--soluk2); padding: 2px 4px; border-radius: 50%; }
.yildiz.yuk { color: var(--yuksek); }
.yildiz.krit { color: var(--kritik); }
.yildiz:hover { background: var(--hover); }
.yildiz.buyuk { font-size: 22px; width: 40px; height: 40px; }

.bos { text-align: center; padding: 60px 16px; color: var(--soluk); font-size: 14px; }
.bos b { display: block; color: var(--yazi); font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.kucuk-bos { padding: 30px 16px; }

/* ---------- Panel ---------- */
.perde { position: fixed; inset: 0; background: rgba(15, 20, 28, .38); z-index: 40; }
.panel { position: fixed; z-index: 41; background: var(--zemin); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.panel.sheet { left: 0; right: 0; bottom: 0; max-height: 92vh; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.16); padding-bottom: env(safe-area-inset-bottom); animation: yukari .18s ease-out; }
.panel.tam { inset: 0; padding-top: env(safe-area-inset-top); animation: sagdan .18s ease-out; }
@keyframes yukari { from { transform: translateY(30px); opacity: .4; } }
@keyframes sagdan { from { transform: translateX(24px); opacity: .4; } }
@media (min-width: 860px) {
  .panel.sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 560px; border-radius: 18px; animation: none; }
  .panel.tam { left: auto; width: 520px; box-shadow: var(--golge); border-left: 1px solid var(--cizgi); }
}
.panel-bas { position: sticky; top: 0; z-index: 2; background: var(--zemin); display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--cizgi); }
.panel-bas h2 { margin: 0; font-size: 17px; flex: 1; font-weight: 500; }
.kapat { border: 0; background: var(--hover); width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.panel-ic { padding: 14px 16px 4px; }
.panel-alt { padding: 10px 16px 16px; display: flex; gap: 8px; }
.panel-alt .btn-ana { flex: 1; }

/* ekleme */
.ekle { padding: 14px 18px 14px; }
.kat-sec { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; }
.kat-sec::-webkit-scrollbar { display: none; }
.kat-sec button { flex: 0 0 auto; border: 0; background: var(--hover); color: var(--soluk); padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.kat-sec button.on { background: var(--ana); color: #fff; }
@media (prefers-color-scheme: dark) { .kat-sec button.on { color: #0d1117; } }
.e-baslik { width: 100%; border: 0; border-bottom: 2px solid var(--ana); outline: none; font-size: 19px; padding: 6px 0 8px; background: none; }
.e-detay { width: 100%; border: 0; outline: none; resize: none; font-size: 14.5px; padding: 10px 0 0; min-height: 48px; background: none; color: var(--yazi); }
.sec-satir { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.sec-satir.sifir { margin-top: 0; }
.sec, .sec-kutu {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--cizgi); border-radius: 9px; padding: 0 11px; min-height: 36px;
  font-size: 13.5px; color: var(--yazi); background: var(--zemin); font-weight: 500; white-space: nowrap;
}
.sec.on, .sec-kutu.on { background: var(--ana-zemin); border-color: transparent; color: var(--ana); }
.sec.gecti { background: var(--kritik-zemin); color: var(--kritik); }
.sec input, .sec select, .sec-kutu select, .sec-kutu input { border: 0; background: none; outline: none; font-size: 13.5px; color: inherit; font-weight: 500; min-height: 34px; max-width: 100%; }
.sec input[type=checkbox] { min-height: 0; accent-color: var(--ana); width: 16px; height: 16px; }
.sec-kutu { flex: 1 1 140px; min-width: 0; }
.sec-kutu select, .sec-kutu input { flex: 1; min-width: 0; }
.sec-kutu.genis { flex-basis: 100%; }
.sec-kutu[data-pasif] { opacity: .55; }
.temizle-tarih { color: var(--soluk); }
.e-alt { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
.bosluk { flex: 1; }
.onem-btn { border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--soluk); }
.onem-btn:hover { background: var(--hover); }
.onem-btn.o1 { font-size: 13.5px; }
.onem-btn.o2 { color: var(--yuksek); }
.onem-btn.o3 { color: var(--kritik); }
.metin-btn { white-space: nowrap; background: none; border: 0; color: var(--ana); font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 999px; }
.metin-btn:hover { background: var(--ana-zemin); }
.metin-btn.ikincil { color: var(--soluk); font-weight: 600; }
.dolu-btn { background: var(--ana); color: #fff; border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 14.5px; }
@media (prefers-color-scheme: dark) { .dolu-btn { background: #2c5a8c; } }
.e-not { font-size: 12.5px; color: var(--soluk); margin-top: 8px; }

/* detay */
.detay { display: flex; flex-direction: column; min-height: 100%; }
.panel.tam .detay { min-height: 100vh; }
.d-ust { display: flex; align-items: center; gap: 4px; padding: 8px 10px; position: sticky; top: 0; background: var(--zemin); z-index: 2; }
.d-durum { font-size: 12.5px; color: var(--soluk2); margin-right: 6px; }
.d-govde { padding: 4px 20px 16px; flex: 1; }
.kat-cip { display: inline-flex; border: 1px solid var(--cizgi); border-radius: 8px; padding: 0 4px; }
.kat-cip select { border: 0; background: none; font-size: 13px; padding: 5px 4px; outline: none; color: var(--soluk); font-weight: 500; }
.onem-yazi { font-size: 12.5px; font-weight: 600; margin-left: 8px; color: var(--soluk2); }
.onem-yazi.o2 { color: var(--yuksek); }
.onem-yazi.o3 { color: var(--kritik); }
.d-baslik { display: block; width: 100%; border: 0; outline: none; resize: none; font-size: 23px; line-height: 1.3; padding: 10px 0 6px; background: none; overflow: hidden; color: var(--yazi); }
.d-baslik:focus { border-bottom: 2px solid var(--ana); }
.ustu-cizili { text-decoration: line-through; color: var(--soluk2) !important; }
.d-satir { display: flex; gap: 14px; align-items: center; padding: 9px 0; }
.d-satir > i { font-style: normal; width: 22px; text-align: center; color: var(--soluk); font-size: 16px; flex: 0 0 auto; align-self: flex-start; margin-top: 8px; }
.d-satir > textarea, .d-satir > input { flex: 1; border: 0; outline: none; resize: none; font-size: 14.5px; background: none; padding: 7px 0; overflow: hidden; min-height: 34px; color: var(--yazi); border-bottom: 1px solid transparent; }
.d-satir > textarea:focus, .d-satir > input:focus { border-bottom-color: var(--ana); }
.d-satir .sec-satir { flex: 1; }
.d-satir .sec-kutu > span { display: none; }
.tarih-gizli { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sec-satir.tarihler { position: relative; }
.ayrac { height: 1px; background: var(--cizgi); margin: 10px 0; }
.gecmis h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--soluk); font-weight: 600; margin: 10px 0 6px; }
.g-ekle { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.g-ekle input { flex: 1; border: 0; border-bottom: 1px solid var(--cizgi); outline: none; padding: 9px 0; font-size: 14px; background: none; }
.g-ekle input:focus { border-bottom-color: var(--ana); }
.gs { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; align-items: flex-start; }
.gs .z { color: var(--soluk2); font-size: 12.5px; width: 92px; flex: 0 0 auto; padding-top: 1px; }
.gs .m { flex: 1; white-space: pre-wrap; word-break: break-word; }
.gsil { background: none; border: 0; color: var(--soluk2); font-size: 16px; opacity: 0; padding: 0 4px; }
.gs:hover .gsil { opacity: 1; }
@media (hover: none) { .gsil { opacity: .6; } }
.soluk-gs { color: var(--soluk2); }
.d-alt { position: sticky; bottom: 0; background: var(--zemin); border-top: 1px solid var(--cizgi); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* ---------- Genel (rapor/ayarlar) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--cizgi); background: var(--zemin); color: var(--yazi); border-radius: 999px; padding: 8px 16px; font-weight: 600; text-decoration: none; min-height: 38px; white-space: nowrap; font-size: 14px; }
.btn:hover { background: var(--hover); }
.btn-ana { background: var(--ana); border-color: var(--ana); color: #fff; }
.btn-ana:hover { background: var(--ana-acik); }
@media (prefers-color-scheme: dark) { .btn-ana { background: #2c5a8c; border-color: #2c5a8c; } }
.btn-tehlike { color: var(--kritik); border-color: var(--kritik-zemin); }
.btn-kucuk { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.btn-genis { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.kart { background: var(--kart); border: 1px solid var(--cizgi); border-radius: 14px; }
.bolum { padding: 18px; margin-bottom: 14px; }
.bolum h2 { margin: 0 0 4px; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.bolum p.aciklama { margin: 0 0 12px; color: var(--soluk); font-size: 13.5px; }
.soluk { color: var(--soluk); }
.kucuk { font-size: 12.5px; }
.satir { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
h1.sayfa { font-size: 22px; font-weight: 400; margin: 10px 0 14px; letter-spacing: -.2px; }
label.alan { display: block; margin-bottom: 12px; }
label.alan > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--soluk); margin-bottom: 5px; }
input[type=text], input[type=password], input[type=date], input[type=time], select, textarea { font-size: 15px; }
.bolum input[type=text], .bolum textarea, .panel-ic input[type=text], .panel-ic select, .giris input {
  width: 100%; border: 1px solid var(--cizgi); background: var(--zemin2); border-radius: 10px; padding: 9px 12px; min-height: 42px; outline: none;
}
.bolum textarea { min-height: 90px; resize: vertical; }
.bolum input:focus, .bolum textarea:focus, .panel-ic input:focus, .giris input:focus { border-color: var(--ana-acik); background: var(--zemin); }
.anahtar { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.anahtar input { width: 18px; height: 18px; accent-color: var(--ana); }

.sekmeler { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.sekmeler::-webkit-scrollbar { display: none; }
.sekmeler button { flex: 0 0 auto; border: 1px solid var(--cizgi); background: var(--zemin); border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: 13.5px; color: var(--soluk); }
.sekmeler button.secili { background: var(--ana-zemin); color: var(--ana); border-color: transparent; }

.menu { position: fixed; z-index: 50; background: var(--zemin); border: 1px solid var(--cizgi); border-radius: 12px; box-shadow: var(--golge); padding: 6px; min-width: 170px; }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.menu button:hover { background: var(--hover); }

.toast {
  position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom));
  background: #2b2f35; color: #fff; padding: 12px 8px 12px 18px; border-radius: 10px; font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 14px; min-width: 220px;
}
.toast span { flex: 1; padding-right: 8px; }
.toast button { background: none; border: 0; color: #f2c25e; font-weight: 700; padding: 4px 10px; border-radius: 6px; font-size: 14px; }
.toast.hata { background: #a52a2a; }
@media (min-width: 860px) { .toast { bottom: 28px; left: 28px; transform: none; } }

.giris { max-width: 360px; margin: 12vh auto 0; padding: 28px 22px; text-align: center; border: 0; }
.giris .buyuk-logo { font-size: 36px; display: inline-block; margin-bottom: 4px; }
.giris p { color: var(--soluk); margin: 0 0 22px; }
body.girisde .fab, body.girisde .alt-nav, body.girisde .ust { display: none; }

/* rapor */
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
@media (min-width: 860px) { .kpi { grid-template-columns: repeat(6, 1fr); } }
.kpi div { padding: 14px; }
.kpi b { display: block; font-size: 26px; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--soluk); font-weight: 500; font-size: 12.5px; }
.kpi .kr b { color: var(--kritik); }
.kpi .gc b { color: var(--kritik); }
.kpi .bs b { color: var(--basari); }
.tablo-kap { overflow-x: auto; }
table.tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.tablo th, .tablo td { padding: 10px; border-bottom: 1px solid var(--cizgi); text-align: left; white-space: nowrap; }
.tablo th { font-size: 12px; text-transform: uppercase; color: var(--soluk); letter-spacing: .3px; font-weight: 600; }
.tablo td.s, .tablo th.s { text-align: right; font-variant-numeric: tabular-nums; }
.tablo tbody tr { cursor: pointer; }
.tablo tbody tr:hover { background: var(--hover); }
.tablo .kr, .tablo .gc { color: var(--kritik); font-weight: 700; }
.tablo .sifir { color: var(--soluk2); opacity: .7; }
@media (max-width: 600px) { .tablo .gz { display: none; } }
.cubuk { display: inline-block; height: 6px; border-radius: 3px; background: var(--ana-acik); vertical-align: middle; opacity: .45; }
.rapor-liste { list-style: none; margin: 0; padding: 0; }
.rapor-liste li { padding: 11px 0; border-bottom: 1px solid var(--cizgi); cursor: pointer; }
.rapor-liste li:last-child { border-bottom: 0; }
.rapor-liste .ust-satir { display: flex; gap: 8px; align-items: baseline; }
.rapor-liste .ust-satir b { flex: 1; font-weight: 500; }
.rapor-liste .alt-satir { font-size: 12.5px; color: var(--soluk); margin-top: 3px; }
.etiket { display: inline-flex; padding: 0 6px; border-radius: 5px; background: var(--hover); font-weight: 600; font-size: 11px; color: var(--soluk); }
.etiket.k-MAIL { background: var(--altin-zemin); color: #8a5a00; }
.tarih { font-weight: 600; }
.tarih.gecti { color: var(--kritik); }
.tarih.bugun { color: var(--ana-acik); }
.durum-devam { color: var(--ana-acik); font-weight: 600; }
.ayar-sube { border-top: 1px solid var(--cizgi); padding: 10px 0; }
.ayar-sube summary { cursor: pointer; font-weight: 500; display: flex; gap: 8px; align-items: center; list-style: none; }
.ayar-sube summary::-webkit-details-marker { display: none; }
.ayar-sube .py-satir { display: flex; gap: 8px; align-items: center; padding: 6px 0 6px 14px; }
.durum-nokta { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--soluk2); }
.durum-nokta.yesil { background: var(--basari); }
.durum-nokta.kirmizi { background: var(--kritik); }

.yazdir-baslik { display: none; }
@media print {
  body { background: #fff; color: #000; padding: 0; font-size: 12px; }
  .ust, .alt-nav, .yazdirma, .toast, .perde, .panel, .menu, .fab { display: none !important; }
  .ana { max-width: none; padding: 0; }
  .yazdir-baslik { display: block; margin-bottom: 8px; }
  .rapor-liste li { break-inside: avoid; }
}

/* ---------- Takvim ---------- */
.tk { padding-bottom: 96px; }
.tk-bas { display: flex; align-items: center; gap: 4px; padding: 10px 12px 8px 16px; }
.tk-bas h2 { font-size: 20px; font-weight: 400; margin: 0; flex: 1; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 420px) { .tk-bas .ikon-btn { width: 30px; } .bugun-btn { padding: 5px 9px; } .gecis button { padding: 5px 10px; } }
.gecis { display: inline-flex; border: 1px solid var(--cizgi); border-radius: 999px; overflow: hidden; margin-right: 4px; }
.gecis button { border: 0; background: none; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--soluk); }
.gecis button.on { background: var(--ana-zemin); color: var(--ana); }
.tk-bas .ikon-btn { font-size: 24px; width: 36px; height: 36px; }
.bugun-btn { border: 1px solid var(--cizgi); background: none; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--ana); margin-left: 4px; }

.tk-hafta { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 6px 8px; border-bottom: 1px solid var(--cizgi); }
.tk-gun { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; border: 0; background: none; border-radius: 14px; }
.tk-gun small { font-size: 11.5px; color: var(--soluk2); font-weight: 600; }
.tk-gun b { font-size: 16px; font-weight: 500; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.tk-gun.bugun b { color: var(--ana); box-shadow: inset 0 0 0 2px var(--ana); }
.tk-gun.gecti b { color: var(--kritik); }
.tk-gun.secgun b { background: var(--ana); color: #fff; box-shadow: none; }
@media (prefers-color-scheme: dark) { .tk-gun.secgun b { background: #2c5a8c; } }
.nk { display: flex; gap: 3px; height: 6px; }
.nk i { width: 6px; height: 6px; border-radius: 50%; background: var(--soluk2); }
.nk i.o2 { background: var(--yuksek); }
.nk i.o3 { background: var(--kritik); }

.tk-ay { padding: 0 6px; border-bottom: 1px solid var(--cizgi); }
.tk-gb { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tk-gb span { font-size: 11.5px; color: var(--soluk2); font-weight: 600; text-align: center; padding: 4px 0 6px; }
.tk-izgara { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tk-h { min-height: 58px; border-top: 1px solid var(--cizgi); padding: 4px 2px; font-size: 12px; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; min-width: 0; text-align: center; }
.tk-h .n { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 500; font-size: 12.5px; }
.tk-h.dis { color: var(--soluk2); opacity: .55; }
.tk-h.bugun .n { box-shadow: inset 0 0 0 2px var(--ana); color: var(--ana); }
.tk-h.gecti .n { color: var(--kritik); }
.tk-h.secgun .n { background: var(--ana); color: #fff; box-shadow: none; }
.tk-h .c { display: block; font-size: 10px; border-radius: 4px; padding: 1px 3px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--hover); color: var(--yazi); text-align: left; }
.tk-h .c.o2 { background: var(--yuksek-zemin); color: #a35400; }
.tk-h .c.o3 { background: var(--kritik-zemin); color: var(--kritik); }
@media (prefers-color-scheme: dark) { .tk-h .c.o2 { color: var(--yuksek); } }
.tk-h .f { display: block; font-size: 10px; color: var(--soluk); margin-top: 1px; }
@media (hover: hover) { .tk-h:hover { background: var(--hover); } }

.tk-liste { padding: 4px 0 8px; }
.tk-gbas { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 6px; }
.tk-gbas h3 { font-size: 16.5px; font-weight: 500; margin: 0; flex: 1; }
.tk-gbas span { font-size: 13px; color: var(--soluk); }
.tk-ayrac { font-size: 12px; color: var(--soluk2); font-weight: 600; padding: 10px 16px 2px; letter-spacing: .4px; }
.tk-ayrac.kirmizi { color: var(--kritik); }
.tk-ev-satir { display: flex; gap: 12px; padding: 5px 16px; align-items: flex-start; }
.tk-ev-satir .s { width: 42px; flex: 0 0 auto; font-size: 13px; color: var(--soluk); font-weight: 600; padding-top: 9px; text-align: right; }
.tk-ev { flex: 1; min-width: 0; text-align: left; border: 0; border-left: 4px solid var(--soluk2); background: var(--hover); border-radius: 4px 12px 12px 4px; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.tk-ev b { font-size: 14.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.tk-ev small { font-size: 12.5px; color: var(--soluk); }
.tk-ev.o2 { border-left-color: var(--yuksek); background: var(--yuksek-zemin); }
.tk-ev.o3 { border-left-color: var(--kritik); background: var(--kritik-zemin); }
.tk-ev.tamam { opacity: .55; }
.tk-ev.tamam b { text-decoration: line-through; }
.tk-ev.secili { outline: 2px solid var(--ana); outline-offset: 1px; }
.tk-bos { color: var(--soluk2); padding: 18px 16px 6px 70px; font-size: 14px; }
.tk-ekle { background: none; border: 0; color: var(--ana); font-weight: 600; font-size: 14.5px; padding: 12px 16px 12px 70px; text-align: left; }

@media (min-width: 1000px) {
  .tk-genis { display: grid; grid-template-columns: 1fr 380px; padding: 0 16px; align-items: start; }
  .tk-sol { border-right: 1px solid var(--cizgi); padding-right: 12px; }
  .tk-sag { position: sticky; top: 60px; max-height: calc(100vh - 66px); overflow-y: auto; }
  .tk-genis .tk-ay { border-bottom: 0; }
  .tk-genis .tk-h { min-height: 96px; padding: 4px 4px; text-align: left; }
  .tk-genis .tk-h .c { font-size: 11.5px; padding: 1px 6px; margin-top: 3px; cursor: pointer; }
  .tk-genis .tk-h .c:hover { filter: brightness(.95); }
  .tk-genis .tk-gb span { text-align: left; padding-left: 6px; }
}

/* listeler, mail yonu, ocr */
.sekme-ekle { flex: 0 0 auto; background: none; border: 0; color: var(--soluk); font-size: 18px; padding: 6px 12px; }
.sekme-ekle:hover { color: var(--ana); }
.yon-filtre { display: flex; gap: 6px; padding: 2px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.yon-filtre::-webkit-scrollbar { display: none; }
.yon-filtre button { flex: 0 0 auto; border: 1px solid var(--cizgi); background: var(--zemin); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--soluk); }
.yon-filtre button.on { background: var(--ana-zemin); color: var(--ana); border-color: transparent; }
.yon-filtre small { font-weight: 500; margin-left: 2px; }
.kat-sec .yeni-liste { background: none; color: var(--ana); border: 1px dashed var(--cizgi); }
.yon-sec { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.yon-sec button { border: 1px solid var(--cizgi); background: var(--zemin); border-radius: 9px; padding: 6px 11px; font-size: 13px; font-weight: 600; color: var(--soluk); }
.yon-sec button.on { background: var(--ana-zemin); color: var(--ana); border-color: transparent; }
.yon-sec .ocr-btn { margin-left: auto; color: var(--ana); border-style: dashed; }
.ocr-kutu { background: var(--zemin2); border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; margin: 4px 0 10px; font-size: 13.5px; }
.ocr-not { font-size: 12px; color: var(--soluk); margin-top: 4px; }
.ocr-bas { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--soluk); margin-bottom: 8px; }
.ocr-bas span { flex: 1; }
.ocr-bas button { border: 0; background: none; color: var(--soluk); font-size: 15px; }
.ocr-satirlar { display: flex; flex-wrap: wrap; gap: 6px; max-height: 150px; overflow-y: auto; }
.ocr-satirlar button { border: 1px solid var(--cizgi); background: var(--zemin); border-radius: 8px; padding: 4px 9px; font-size: 13px; text-align: left; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocr-satirlar button:active { background: var(--ana-zemin); }
.donen { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--cizgi); border-top-color: var(--ana); border-radius: 50%; animation: don .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes don { to { transform: rotate(360deg); } }
.kat.k-LISTE { background: var(--ana-zemin); color: var(--ana); }

/* ---------- v5: iPhone tarzi alt menu, ikonlar, arama ---------- */
.ik { width: 1em; height: 1em; display: block; }
body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.alt-nav {
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; padding: 0;
  border: 0; border-radius: 24px; align-items: center;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 8px 30px rgba(15, 25, 40, .16), 0 0 0 .5px rgba(0, 0, 0, .08);
}
.alt-nav a { gap: 3px; font-size: 10.5px; font-weight: 600; color: #8e939a; letter-spacing: .1px; padding: 6px 0; -webkit-tap-highlight-color: transparent; }
.alt-nav a svg { width: 25px; height: 25px; transition: transform .15s; }
.alt-nav a:active svg { transform: scale(.88); }
.alt-nav svg .dolgu { fill: none; stroke: currentColor; stroke-width: 1.9; }
.alt-nav svg .cizgi { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.alt-nav svg .cizgi.kalin { stroke-width: 2.2; }
.alt-nav svg .nokta { fill: currentColor; }
.alt-nav a.aktif { color: var(--ana); font-weight: 700; }
.alt-nav a.aktif svg .dolgu { fill: currentColor; }
.alt-nav a[data-nav="liste"].aktif svg .cizgi { stroke: #fff; stroke-width: 2.2; }
.alt-nav a[data-nav="takvim"].aktif svg .dolgu { fill: none; stroke-width: 2.3; }
.alt-nav a[data-nav="ayarlar"].aktif svg .dolgu { fill: none; stroke-width: 2.4; }
.alt-nav a.aktif svg .cizgi { stroke-width: 2.3; }
@media (prefers-color-scheme: dark) {
  .alt-nav { background: rgba(30, 33, 38, .78); box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 0 .5px rgba(255,255,255,.08); }
  .alt-nav a[data-nav="liste"].aktif svg .cizgi { stroke: #121417; }
}
.fab { bottom: calc(88px + env(safe-area-inset-bottom)); border-radius: 18px; padding: 0; width: 56px; justify-content: center; box-shadow: 0 6px 16px rgba(22, 49, 79, .35); }
.fab-arti { width: 26px; height: 26px; color: var(--altin); flex: 0 0 auto; }
.toast { bottom: calc(160px + env(safe-area-inset-bottom)); }
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .fab { bottom: 28px; width: auto; padding: 0 20px 0 16px; gap: 8px; }
  .toast { bottom: 28px; }
}

/* gruplar: buyuk ok */
.grup .ok { width: 24px; height: 24px; border-radius: 50%; background: var(--hover); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 15px; transition: transform .15s; color: var(--soluk); }
.grup.kirmizi .ok { background: var(--kritik-zemin); color: var(--kritik); }
.grup.kapali .ok { transform: rotate(-90deg); }
.grup { gap: 10px; font-size: 14px; }

/* arama */
.ara-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; border: 0; background: var(--ana-zemin); color: var(--ana); font-size: 14px; font-weight: 600; font-size: 14px; }
.ara-btn .ik { width: 19px; height: 19px; }
.ara-btn:active { filter: brightness(.95); }
.arama-ust { display: flex; align-items: center; gap: 8px; padding: 12px 12px 4px 16px; }
.arama-kutu { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; border-radius: 12px; background: var(--hover); padding: 0 10px 0 12px; color: var(--soluk2); }
.arama-kutu .ik { width: 18px; height: 18px; flex: 0 0 auto; }
.arama-kutu input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; outline: none; font-size: 16px; color: var(--yazi); }
.arama-kutu input::-webkit-search-cancel-button { display: none; }
.temizle-x { width: 20px; height: 20px; border-radius: 50%; border: 0; background: #b8bdc4; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0; }
.vazgec { flex: 0 0 auto; background: none; border: 0; color: var(--ana); font-weight: 600; font-size: 15px; padding: 6px 4px; }
.kapsam { display: flex; gap: 6px; padding: 6px 16px 2px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.kapsam::-webkit-scrollbar { display: none; }
.kapsam button, .kapsam-sec { flex: 0 0 auto; border: 1px solid var(--cizgi); background: var(--zemin); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--soluk); min-height: 30px; display: inline-flex; align-items: center; gap: 4px; }
.kapsam button.on, .kapsam-sec.on { background: var(--ana-zemin); color: var(--ana); border-color: transparent; }
.kapsam-sec select { border: 0; background: none; outline: none; font-size: 13px; font-weight: 600; color: inherit; max-width: 150px; }
.sonuc-say { font-size: 12.5px; color: var(--soluk2); padding: 8px 16px 0; min-height: 8px; }
mark { background: #fdf0c4; color: inherit; border-radius: 3px; padding: 0 1px; }
@media (prefers-color-scheme: dark) { mark { background: #5a4a14; } }
.bos .bos-ikon .ik { width: 36px; height: 36px; margin: 0 auto; color: var(--cizgi); }

/* arti ikonlari */
.arti-yuvarlak { width: 22px; height: 22px; border-radius: 50%; background: var(--ana-zemin); color: var(--ana); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 13px; }
.sekme-ekle { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; width: 40px; }
.kat-sec .yeni-liste { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 4px; }
.kat-sec .yeni-liste .arti-yuvarlak { width: 18px; height: 18px; font-size: 11px; }
.g-ekle { gap: 10px; }
.tk-ekle { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Hizli yaz ---------- */
.ekle-mod { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--hover); margin-bottom: 10px; }
.ekle-mod button { border: 0; background: none; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--soluk); }
.ekle-mod button.on { background: var(--zemin); color: var(--ana); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.h-kutu { position: relative; border: 2px solid var(--ana); border-radius: 14px; background: var(--zemin); }
.h-yansima, .h-kutu textarea {
  font: inherit; font-size: 17px; line-height: 1.5; letter-spacing: normal; padding: 12px 50px 12px 13px; margin: 0;
  white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; min-height: 100px; max-height: 200px; overflow-y: auto; box-sizing: border-box; width: 100%;
}
.h-yansima { color: var(--yazi); pointer-events: none; }
.h-kutu textarea { position: absolute; inset: 0; height: 100%; border: 0; outline: none; resize: none; background: transparent; color: transparent; caret-color: var(--yazi); -webkit-text-fill-color: transparent; }
.h-kutu textarea::placeholder { color: var(--soluk2); -webkit-text-fill-color: var(--soluk2); }
.h-yansima mark { padding: 0; border-radius: 3px; color: inherit; }
.h-yansima mark.h-sube, .h-yansima mark.h-liste { background: #e1ebf8; color: #1e4c82; }
.h-yansima mark.h-py { background: #ddf1ec; color: #136b5c; }
.h-yansima mark.h-tarih, .h-yansima mark.h-saat { background: #fcefd2; color: #8a5a00; }
.h-yansima mark.h-onem { background: #fde3e1; color: var(--kritik); }
.h-yansima mark.h-mail, .h-yansima mark.h-kisi { background: #fcefd2; color: #8a5a00; }
@media (prefers-color-scheme: dark) {
  .h-yansima mark.h-sube, .h-yansima mark.h-liste { background: #1b2c44; color: #9cc3ee; }
  .h-yansima mark.h-py { background: #15312c; color: #7fd8c5; }
  .h-yansima mark.h-tarih, .h-yansima mark.h-saat, .h-yansima mark.h-mail, .h-yansima mark.h-kisi { background: #33270f; color: #f3c27a; }
  .h-yansima mark.h-onem { background: #3a1f1d; }
}
.h-mik { position: absolute; right: 9px; bottom: 9px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ana-zemin); color: var(--ana); display: flex; align-items: center; justify-content: center; z-index: 2; }
.h-mik svg { width: 18px; height: 18px; }
.h-mik.dinliyor { background: var(--kritik); color: #fff; animation: nabiz 1.2s ease-in-out infinite; }
@keyframes nabiz { 50% { box-shadow: 0 0 0 8px rgba(217, 48, 37, .15); } }
.h-etiketler { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.h-et { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 7px 10px; font-size: 13.5px; font-weight: 600; text-align: left; }
.h-et.sube, .h-et.liste { background: #e1ebf8; color: #1e4c82; }
.h-et.py { background: #ddf1ec; color: #136b5c; }
.h-et.tarih, .h-et.mail { background: #fcefd2; color: #8a5a00; }
.h-et.kritik { background: #fde3e1; color: var(--kritik); }
.h-et.yuksek { background: var(--yuksek-zemin); color: #a35400; }
.h-et.bos { background: none; border: 1px dashed var(--cizgi); color: var(--soluk); font-weight: 500; }
.h-et.uyari { border-color: var(--yuksek); color: #a35400; }
.h-x { opacity: .55; font-size: 11px; padding: 2px 0 2px 4px; }
@media (prefers-color-scheme: dark) {
  .h-et.sube, .h-et.liste { background: #1b2c44; color: #9cc3ee; }
  .h-et.py { background: #15312c; color: #7fd8c5; }
  .h-et.tarih, .h-et.mail { background: #33270f; color: #f3c27a; }
}
.h-aday { margin-top: 10px; border: 1px solid var(--cizgi); border-radius: 14px; overflow: hidden; }
.h-aday .b { padding: 9px 12px; font-size: 12.5px; color: var(--soluk); background: var(--hover); font-weight: 600; }
.h-aday button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-top: 1px solid var(--cizgi); background: var(--zemin); font-size: 14.5px; text-align: left; }
.h-aday button .r { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b8bdc4; flex: 0 0 auto; }
.h-aday button.on .r { border: 6px solid var(--ana); }
.h-aday button small { color: var(--soluk); margin-left: auto; font-size: 12.5px; }
.h-konu { margin-top: 12px; padding: 10px 12px; background: var(--hover); border-radius: 12px; }
.h-konu small { display: block; font-size: 11.5px; color: var(--soluk); font-weight: 600; letter-spacing: .3px; margin-bottom: 2px; }
.h-konu b { font-size: 15.5px; font-weight: 500; }
.h-konu.bos b { color: var(--soluk2); font-weight: 400; }
.h-bos { font-size: 13px; color: var(--soluk); margin-top: 10px; line-height: 1.5; }
.h-ipucu { font-size: 12.5px; color: var(--soluk); }

/* v7 Göster + Sırala */
#siralaBtn { margin-right: 6px; background: var(--hv, #f3f5f8); color: var(--soluk); }
#siralaBtn.etkin { background: var(--ana); color: #fff; }
.goruntu-bilgi { padding: 0 17px 6px; font-size: 12.5px; color: var(--soluk2); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.goruntu-bilgi b { color: var(--soluk); font-weight: 600; }
.bilgi-x { border: 0; background: var(--ana-zemin); color: var(--ana); width: 20px; height: 20px; border-radius: 50%; font-size: 11px; line-height: 20px; padding: 0; margin-left: 4px; }
.cip.yeni { background: #e6f4ea; color: #137333; border-color: transparent; font-weight: 600; }
.eklenme { font-size: 12px; color: var(--soluk2); margin-top: 3px; }
.sirala { padding: 12px 18px 22px; }
.sirala .tutamak { width: 38px; height: 5px; border-radius: 3px; background: #d5d8dc; margin: 0 auto 10px; }
.srl-bas { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.srl-bas h3 { font-size: 18px; }
.srl-b { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; color: var(--soluk2); margin: 14px 0 8px; }
.srl-goster { display: flex; flex-wrap: wrap; gap: 7px; }
.srl-goster button { border: 1px solid var(--cizgi); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 14px; font-weight: 500; color: var(--yazi); display: inline-flex; gap: 6px; align-items: center; }
.srl-goster button small { color: var(--soluk2); font-size: 12px; }
.srl-goster button.on { background: var(--ana); border-color: var(--ana); color: #fff; }
.srl-goster button.on small { color: rgba(255,255,255,.75); }
.srl-sec { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; text-align: left; padding: 11px 6px; font-size: 15.5px; color: var(--yazi); border-radius: 10px; }
.srl-sec i { font-style: normal; width: 22px; text-align: center; }
.srl-sec.on { color: var(--ana); font-weight: 600; background: var(--ana-zemin); }
.srl-sec .tik { margin-left: auto; font-weight: 700; }
.srl-yon { display: flex; background: var(--hv, #f3f5f8); border-radius: 12px; padding: 3px; }
.srl-yon button { flex: 1; border: 0; background: none; padding: 9px 6px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--soluk); }
.srl-yon button.on { background: #fff; color: var(--ana); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.srl-anahtar { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 15px; cursor: pointer; }
.srl-anahtar input { display: none; }
.srl-anahtar .sw { width: 44px; height: 26px; border-radius: 13px; background: #cfd4da; position: relative; transition: .15s; flex: 0 0 auto; }
.srl-anahtar .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.srl-anahtar input:checked + .sw { background: var(--ana); }
.srl-anahtar input:checked + .sw::after { left: 21px; }
@media (max-width: 380px) { #siralaBtn span { display: none; } #siralaBtn { padding: 0 9px; } }

/* v9 kompakt satır (C) */
.g.s-c { align-items: center; gap: 11px; padding: 9px 14px 9px 16px; min-height: 50px; }
.g.s-c .gb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
.g.s-c .gd { font-size: 12.5px; margin-top: 1px; }
.g.s-c .daire { margin-top: 0; }
.s-yeni { width: 7px; height: 7px; border-radius: 50%; background: #1e8e3e; flex: 0 0 auto; margin-left: -4px; }
.s-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; max-width: 42%; text-align: right; }
.s-et { font-size: 12.5px; font-weight: 700; color: var(--ana); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.s-tr { font-size: 12px; color: var(--soluk); white-space: nowrap; }
.s-tr.gecti { color: var(--kritik); font-weight: 600; }
.s-tr.bugun { color: var(--ana-acik); font-weight: 600; }
.g.tamam .s-sag { opacity: .6; }
@media (min-width: 900px) { .s-sag { max-width: 34%; } }

/* v10 liste düzeni */
.sekme-duzen { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--soluk2); min-width: 36px; padding: 6px 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sekme-duzen .ik { width: 18px; height: 18px; }
.sekme-duzen.var { color: var(--ana); background: var(--ana-zemin); border-radius: 999px; padding: 4px 10px; margin: auto 4px; }
.sekme button[data-sekme] { -webkit-touch-callout: none; user-select: none; }
.sdz-ip { font-size: 12.5px; color: var(--soluk2); margin: 2px 0 12px; }
.sdz-sabit { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--hv, #f3f5f8); font-size: 14px; color: var(--soluk); margin-bottom: 6px; }
.sdz-sabit span { font-weight: 600; } .sdz-sabit small { margin-left: auto; font-size: 11.5px; }
.sdz-liste { display: flex; flex-direction: column; }
.sdz-sat { display: flex; align-items: center; gap: 6px; padding: 4px 4px; border-bottom: 1px solid var(--cizgi); background: #fff; position: relative; }
.sdz-sat.tasiniyor { z-index: 2; box-shadow: 0 6px 18px rgba(0,0,0,.18); border-radius: 10px; border-color: transparent; }
.sdz-tut { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--soluk2); cursor: grab; touch-action: none; user-select: none; }
.sdz-kutu { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; cursor: pointer; padding: 8px 0; }
.sdz-kutu input { width: 20px; height: 20px; accent-color: var(--ana); flex: 0 0 auto; }
.sdz-ad { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdz-sat.gizli .sdz-ad { color: var(--soluk2); text-decoration: line-through; }
.sdz-sat small { color: var(--soluk2); font-size: 12.5px; padding-right: 6px; }
.sdz-not { font-size: 12px; color: var(--soluk2); margin-top: 12px; line-height: 1.45; }

/* v10 masaüstü sol menü + boyutlandırma */
.yan-menu, .b-ayrac { display: none; }
.d-genis { display: none; }
@media (min-width: 1000px) {
  body.liste-modu .ana { max-width: 1680px; }
  .duzen { display: flex !important; align-items: flex-start; }
  .liste-bolme { flex: 0 0 var(--liste-g, 50%); min-width: 360px; border-right: 0 !important; }
  .detay-bolme { flex: 1 1 0; min-width: 380px; }
  .b-ayrac { display: block; flex: 0 0 9px; position: sticky; top: 56px; height: calc(100vh - 56px); cursor: col-resize; touch-action: none; }
  .b-ayrac::before { content: ''; position: absolute; top: 0; bottom: 0; left: 4px; width: 1px; background: var(--cizgi); transition: background .12s, width .12s, left .12s; }
  .b-ayrac:hover::before, .b-ayrac.aktif::before { background: var(--ana-acik); width: 3px; left: 3px; }
  .b-ayrac[data-ayrac="yan"] { display: none; }
  .d-genis { display: inline-flex; }
  .duzen.detay-genis .liste-bolme, .duzen.detay-genis .yan-menu, .duzen.detay-genis .b-ayrac { display: none !important; }
  .duzen.detay-genis .detay-bolme { max-width: 980px; margin: 0 auto; }
  body.boyutlaniyor { cursor: col-resize; user-select: none; }
}
@media (min-width: 1100px) {
  .yan-menu { display: flex; flex-direction: column; gap: 1px; flex: 0 0 var(--yan-g, 232px); min-width: 64px; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; padding: 14px 4px 14px 0; }
  .b-ayrac[data-ayrac="yan"] { display: block; }
  .liste-bolme .sekme { display: none; }
  .fab { display: none !important; }
}
.ym-yeni { display: flex; align-items: center; gap: 10px; background: var(--ana); color: #fff; border: 0; border-radius: 16px; padding: 12px 16px; font-weight: 600; font-size: 14.5px; margin: 0 6px 14px 4px; box-shadow: 0 2px 6px rgba(22,49,79,.25); white-space: nowrap; overflow: hidden; }
.ym-yeni span { display: inline-flex; color: var(--altin); } .ym-yeni .ik { width: 22px; height: 22px; }
.ym-it { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; border-radius: 0 999px 999px 0; font-size: 14px; color: var(--yazi); cursor: pointer; position: relative; user-select: none; background: var(--zemin); }
.ym-it:hover { background: var(--hover); }
.ym-it.on { background: var(--ana-zemin); color: var(--ana); font-weight: 700; }
.ym-it i { font-style: normal; width: 20px; text-align: center; color: var(--soluk); flex: 0 0 auto; }
.ym-it.on i { color: var(--ana); }
.ym-harf { display: inline-flex; width: 20px; height: 20px; border-radius: 6px; background: var(--hover); font-size: 11px; font-weight: 700; align-items: center; justify-content: center; color: var(--soluk); }
.ym-ad { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ym-it small { color: var(--soluk2); font-size: 12.5px; font-weight: 500; }
.ym-tut { position: absolute; left: 2px; color: var(--soluk2); font-size: 12px; letter-spacing: -2px; opacity: 0; cursor: grab; touch-action: none; padding: 4px 2px; }
.ym-men { background: none; border: 0; color: var(--soluk2); padding: 0 4px; font-size: 16px; line-height: 1; opacity: 0; border-radius: 6px; }
.ym-it:hover .ym-tut, .ym-it:hover .ym-men { opacity: 1; }
.ym-men:hover { background: var(--cizgi); }
.ym-it.tasiniyor { z-index: 3; box-shadow: 0 6px 18px rgba(0,0,0,.18); background: var(--zemin); }
.ym-bol { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 6px 16px; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--soluk2); background: none; border: 0; width: 100%; }
.ym-bol button { background: none; border: 0; color: var(--ana); font-size: 16px; font-weight: 600; padding: 0 4px; }
.ym-gizli { margin-top: auto; border-top: 1px solid var(--cizgi); padding-top: 4px; }
.ym-gizli-bas { cursor: pointer; }
.ym-it.gizli { color: var(--soluk2); } .ym-it.gizli .ym-ad { text-decoration: line-through; }
.ym-it.gizli small { opacity: 0; } .ym-it.gizli:hover small { opacity: 1; color: var(--ana); }
.yan-menu.dar .ym-ad, .yan-menu.dar .ym-yeni b, .yan-menu.dar .ym-bol span, .yan-menu.dar .ym-men, .yan-menu.dar .ym-tut { display: none; }
.yan-menu.dar .ym-it { padding: 8px 6px 8px 14px; gap: 4px; }
.yan-menu.dar .ym-yeni { padding: 12px; justify-content: center; margin-right: 4px; }
.yan-menu.dar .ym-bol { justify-content: center; padding: 10px 0 4px; }

/* v12 Notlar */
.r-sari { --n-zemin: #fff4c2; } .r-mavi { --n-zemin: #dcecff; } .r-yesil { --n-zemin: #dff3e4; }
.r-pembe { --n-zemin: #fde2e4; } .r-mor { --n-zemin: #ece3fb; } .r-gri { --n-zemin: #eceff1; }
@media (prefers-color-scheme: dark) {
  .r-sari { --n-zemin: #4a3f12; } .r-mavi { --n-zemin: #1d3557; } .r-yesil { --n-zemin: #1d3b29; }
  .r-pembe { --n-zemin: #4a2128; } .r-mor { --n-zemin: #34264f; } .r-gri { --n-zemin: #2b2f34; }
}
.notlar { padding: 4px 0 110px; }
.n-bas { display: flex; align-items: center; gap: 12px; margin: 4px 0 10px; }
.n-bas h2 { font-size: 22px; font-weight: 500; flex: 1; }
.n-ara { display: flex; align-items: center; gap: 6px; background: var(--ana-zemin); color: var(--ana); border-radius: 999px; padding: 0 12px; height: 38px; max-width: 260px; flex: 0 1 260px; }
.n-ara .ik { width: 17px; height: 17px; flex: 0 0 auto; }
.n-ara input { border: 0; background: none; outline: none; font-size: 14px; width: 100%; color: var(--yazi); }
.n-filtre { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.n-filtre button { flex: 0 0 auto; border: 1px solid var(--cizgi); background: var(--zemin); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--yazi); }
.n-filtre button small { color: var(--soluk2); margin-left: 3px; }
.n-filtre button.on { background: var(--ana); border-color: var(--ana); color: #fff; } .n-filtre button.on small { color: rgba(255,255,255,.75); }
.n-al { display: flex; align-items: center; border: 1px solid var(--cizgi); border-radius: 14px; padding: 4px 6px 4px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.07); cursor: text; max-width: 600px; margin: 2px auto 16px; color: var(--soluk2); font-size: 15px; min-height: 48px; background: var(--zemin); }
.n-al span { flex: 1; }
.n-al button { background: none; border: 0; font-size: 19px; color: var(--soluk); width: 40px; height: 40px; border-radius: 50%; }
.n-al button:hover { background: var(--hover); }
.n-bol { font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--soluk2); margin: 6px 4px 8px; }
.n-izgara { columns: 2 160px; column-gap: 10px; margin-bottom: 14px; }
@media (min-width: 700px) { .n-izgara { columns: 3 200px; } }
@media (min-width: 1100px) { .n-izgara { columns: 4 220px; } }
.not-kart { break-inside: avoid; display: block; background: var(--n-zemin, var(--zemin)); border: 1px solid var(--cizgi); border-radius: 12px; padding: 11px 12px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.45; position: relative; cursor: pointer; transition: box-shadow .12s; overflow: hidden; }
.not-kart[class*="r-"]:not(.r-) { border-color: transparent; }
.not-kart:hover { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.not-kart h4 { font-size: 14.5px; font-weight: 600; margin: 0 18px 4px 0; }
.nk-pin { position: absolute; top: 8px; right: 9px; font-size: 12px; }
.nk-metin { white-space: pre-wrap; word-break: break-word; color: var(--yazi); }
.nk-md { margin-top: 2px; } .nk-md div { display: flex; gap: 6px; } .nk-md i { font-style: normal; color: var(--soluk); }
.nk-md div.ok { color: var(--soluk2); text-decoration: line-through; } .nk-md small { color: var(--soluk2); }
.nk-et { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--ana); background: rgba(255,255,255,.6); border: 1px solid rgba(0,0,0,.06); border-radius: 999px; padding: 1px 8px; }
/* düzenleyici */
.panel.not-panel { background: var(--n-zemin, var(--zemin)); }
.panel.not-panel:has(.not-duz.r-sari) { --n-zemin: #fff4c2; } .panel.not-panel:has(.not-duz.r-mavi) { --n-zemin: #dcecff; } .panel.not-panel:has(.not-duz.r-yesil) { --n-zemin: #dff3e4; }
.panel.not-panel:has(.not-duz.r-pembe) { --n-zemin: #fde2e4; } .panel.not-panel:has(.not-duz.r-mor) { --n-zemin: #ece3fb; } .panel.not-panel:has(.not-duz.r-gri) { --n-zemin: #eceff1; }
.not-duz { background: var(--n-zemin, var(--zemin)); padding: 8px 16px 16px; min-height: 300px; }
.nd-ust { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.nd-ust .ikon-btn.on { background: rgba(0,0,0,.08); border-radius: 50%; }
.nd-baslik { width: 100%; border: 0; background: none; outline: none; font-size: 20px; font-weight: 600; padding: 6px 2px; color: var(--yazi); }
.nd-metin { width: 100%; border: 0; background: none; outline: none; resize: none; font: inherit; font-size: 15.5px; line-height: 1.5; padding: 4px 2px; color: var(--yazi); min-height: 30px; }
.n-md { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; }
.n-md input { width: 19px; height: 19px; margin-top: 4px; accent-color: var(--ana); flex: 0 0 auto; }
.n-md textarea { flex: 1; border: 0; background: none; outline: none; resize: none; font: inherit; font-size: 15px; line-height: 1.45; padding: 2px 0; color: var(--yazi); min-width: 0; overflow: hidden; }
.n-md.ok textarea { color: var(--soluk2); text-decoration: line-through; }
.n-gorev { flex: 0 0 auto; border: 0; background: rgba(255,255,255,.75); color: var(--ana); font-weight: 700; font-size: 12px; border-radius: 999px; padding: 4px 10px; white-space: nowrap; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.n-msil { flex: 0 0 auto; border: 0; background: none; color: var(--soluk2); font-size: 18px; width: 26px; height: 26px; border-radius: 50%; opacity: .6; }
.n-msil:hover { background: rgba(0,0,0,.07); opacity: 1; }
.nd-ekle { border: 0; background: none; color: var(--soluk); font-size: 14.5px; padding: 8px 0 8px 27px; }
.nd-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; border-top: 1px solid rgba(0,0,0,.08); margin-top: 10px; padding-top: 12px; }
.nd-etiket { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.6); border-radius: 999px; padding: 4px 12px; flex: 1 1 200px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.nd-etiket input { border: 0; background: none; outline: none; font-size: 13.5px; width: 100%; color: var(--yazi); padding: 4px 0; }
.nd-renk { display: flex; gap: 8px; }
.nd-renk button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: var(--n-zemin, #fff); padding: 0; }
.nd-renk button.r- { background: #fff; }
.nd-renk button.on { outline: 2px solid var(--ana); outline-offset: 2px; }
.nd-tumu { margin-top: 14px; display: flex; justify-content: flex-end; }
.not-nokta { width: 12px; height: 12px; border-radius: 4px; background: var(--n-zemin, var(--hover)); border: 1px solid var(--cizgi); flex: 0 0 auto; }
@media (max-width: 420px) { .alt-nav a { font-size: 10.5px; } }
.n-md.bos .n-gorev, .n-md.ok .n-gorev { display: none; }
.nd-tumu[hidden] { display: none; }
.alt-nav { grid-template-columns: repeat(5, 1fr); }
.alt-nav a[data-nav="notlar"].aktif svg .cizgi { stroke: #fff; stroke-width: 2.2; }
@media (prefers-color-scheme: dark) { .alt-nav a[data-nav="notlar"].aktif svg .cizgi { stroke: #121417; } }

/* v14 tablo grupları */
.tg { border: 2px solid #9aa3ad; border-radius: 12px; overflow: hidden; margin: 0 12px 14px 12px; background: var(--zemin); }
.tg .grup { margin: 0; padding: 9px 14px; background: #eef1f5; border-bottom: 2px solid #9aa3ad; color: #3c4043; font-weight: 700; }
.tg .grup::after { display: none; }
.tg.kapali .grup { border-bottom: 0; }
.tg .grup .sayi { background: var(--zemin); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; color: var(--soluk); }
.tg.kirmizi { border-color: #e8a29b; }
.tg.kirmizi .grup { background: #fdecea; color: #b3261e; border-bottom-color: #e8a29b; }
.tg .grup-ic .g { margin-right: 0; border-radius: 0; border-top: 1px solid #d3d8de; padding-left: 14px; }
.tg .grup-ic .g:first-child { border-top: 0; }
.tg .grup-ic .g.secili { background: var(--secili); }
@media (prefers-color-scheme: dark) {
  .tg { border-color: #4a525c; } .tg .grup { background: #1e2329; color: var(--yazi); border-bottom-color: #4a525c; }
  .tg .grup-ic .g { border-top-color: #333a42; }
  .tg.kirmizi { border-color: #7a2e2a; } .tg.kirmizi .grup { background: #3a1d1b; color: #f2a9a2; border-bottom-color: #7a2e2a; }
}
/* v14 not listesi */
.not-liste { border: 1.5px solid #b9bfc7; border-radius: 12px; overflow: hidden; max-width: 860px; margin: 0 auto 20px; background: var(--zemin); }
.not-sat { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-top: 1.5px solid #b9bfc7; cursor: pointer; }
.not-sat:first-child { border-top: 0; }
.not-sat:hover { background: var(--hover); }
.ns-serit { width: 5px; align-self: stretch; border-radius: 3px; background: var(--n-zemin, var(--cizgi)); flex: 0 0 auto; }
.r-sari.ns-serit { background: #f2c94c; } .r-mavi.ns-serit { background: #7fb2f0; } .r-yesil.ns-serit { background: #7cc79a; }
.r-pembe.ns-serit { background: #f4a9b0; } .r-mor.ns-serit { background: #b89be8; } .r-gri.ns-serit { background: #b0b6bd; }
.ns-ic { flex: 1; min-width: 0; }
.ns-bas { font-size: 15px; font-weight: 600; }
.ns-metin, .ns-md { font-size: 13px; color: var(--soluk); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-sag { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 2px; max-width: 38%; }
.ns-sag b { font-size: 12.5px; color: var(--ana); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-sag span { font-size: 11.5px; color: var(--soluk2); }
.n-al { max-width: 860px; }
@media (prefers-color-scheme: dark) { .not-liste, .not-sat { border-color: #4a525c; } }
/* v14 sade ekleme formu */
.e-zaman-bas { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--soluk2); margin: 4px 2px 6px; }
.e-zaman { display: flex; gap: 10px; }
.e-zk { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--hover); border-radius: 10px; padding: 8px 12px; min-height: 44px; font-size: 15px; }
.e-zk input { flex: 1; border: 0; background: none; font: inherit; color: var(--yazi); outline: none; min-width: 0; }
.e-zk.on { background: var(--ana-zemin); }
.e-zk.pasif { opacity: .5; }
.e-zx { border: 0; background: none; color: var(--soluk2); font-size: 14px; padding: 2px 4px; }
.e-zaman-ip { font-size: 12px; color: var(--soluk2); margin: 6px 2px 4px; }
.notlar { max-width: 900px; margin: 0 auto; }

/* v15 SADE ANA EKRAN */
.alt-nav { grid-template-columns: repeat(4, 1fr); }
.sade { max-width: 1180px; margin: 0 auto; padding: 8px 0 110px; }
.s-ust { position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 6; background: var(--zemin2, #f6f7f9); padding: 8px 12px 6px; }
body.liste-modu { background: var(--zemin2, #f6f7f9); }
.s-kutu { display: flex; align-items: center; gap: 8px; background: var(--zemin); border: 2px solid #c9ced4; border-radius: 14px; padding: 4px 6px 4px 14px; min-height: 52px; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: border-color .12s; }
.s-kutu:focus-within { border-color: var(--ana); }
.s-ik { color: var(--soluk); font-size: 18px; }
.s-kutu input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 16px; color: var(--yazi); padding: 10px 0; }
.s-temizle, .s-mik { flex: 0 0 auto; border: 0; background: var(--ana-zemin); color: var(--ana); width: 38px; height: 38px; border-radius: 50%; font-size: 15px; }
.s-temizle { background: none; color: var(--soluk2); }
.s-mik.dinliyor { background: var(--kritik); color: #fff; }
.s-cipler { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.s-cipler:empty { display: none; }
.sc { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 600; background: var(--hover); color: var(--soluk); }
.sc i { font-style: normal; opacity: .55; font-size: 11px; }
.sc.s { background: #e6eefa; color: #1e4c82; } .sc.p { background: #e4f4f1; color: #136b5c; } .sc.l { background: #eef1f5; color: #3c4043; }
.sc.t { background: #fdf3dc; color: #8a5a00; } .sc.y { background: #fef1e3; color: #a35400; } .sc.k { background: #fdecea; color: var(--kritik); }
.sc.not { background: #ece3fb; color: #5b3fb5; }
.sc.kaydet { background: var(--ana); color: #fff; padding: 7px 14px; }
.s-aday { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--soluk); }
.s-aday button { border: 1.5px solid var(--cizgi); background: var(--zemin); border-radius: 999px; padding: 5px 11px; font-size: 13px; color: var(--yazi); }
.s-aday button small { color: var(--soluk2); }
.s-govde { padding: 8px 0 0; }
.s-govde .tg { margin: 0 12px 12px; }
.s-ara-bas { font-size: 13px; color: var(--soluk); padding: 2px 16px 10px; }
.s-ara-bas b { color: var(--ana); }
.s-ipucu, .s-bos { text-align: center; color: var(--soluk2); font-size: 14px; padding: 26px 16px; }
.s-ipucu b { color: var(--ana); }
.s-not-ik { width: 22px; text-align: center; font-size: 15px; flex: 0 0 auto; }
.g.s-not .gd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1000px) {
  .s-govde:not(.s-arama) { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 4px; align-items: start; }
  .s-govde.s-arama { max-width: 860px; margin: 0 auto; }
  .s-ust { padding: 12px 12px 8px; }
}
@media (prefers-color-scheme: dark) {
  .s-ust, body.liste-modu { background: var(--zemin2); }
  .s-kutu { border-color: #4a525c; }
  .sc.s { background: #1d2f45; color: #9cc2ef; } .sc.p { background: #15312c; color: #7fd8c5; } .sc.l { background: #2b2f34; color: var(--yazi); }
  .sc.t { background: #3d3216; color: #f2cf7a; }
}

/* v16 ANA: kutucuklar + şubeler + haftalık pano */
body.liste-modu { background: #f2f3f7; }
body.liste-modu .ana { max-width: none; padding: 0; }
.anak { display: block; }
.anak .as { display: none; }
.anak.ev .as { display: block; }
.anak.ev .ag { display: none; }
.as { padding: 10px 16px 110px; }
.as-ara { display: flex; align-items: center; gap: 8px; background: #e3e5ea; border-radius: 12px; padding: 0 12px; height: 40px; color: #8a8f98; margin-bottom: 14px; }
.as-ara input { flex: 1; border: 0; background: none; outline: none; font-size: 15.5px; color: var(--yazi); min-width: 0; }
.ak-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ak { background: var(--zemin); border: 0; border-radius: 14px; padding: 11px 12px; display: flex; flex-direction: column; gap: 10px; text-align: left; box-shadow: 0 1px 2px rgba(0,0,0,.05); cursor: pointer; }
.ak.on { box-shadow: 0 0 0 2.5px var(--r); }
.ak-ust { display: flex; justify-content: space-between; align-items: flex-start; }
.ak-ik { width: 30px; height: 30px; border-radius: 50%; background: var(--r); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.ak-ust b { font-size: 26px; font-weight: 700; color: var(--yazi); }
.ak-ad { font-size: 14.5px; font-weight: 600; color: #6b7280; }
.as-bas { font-size: 20px; font-weight: 700; padding: 20px 4px 8px; }
.as-lst { background: var(--zemin); border-radius: 14px; overflow: hidden; }
.al { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 10px 14px; border-top: 1px solid #eceef1; font-size: 15.5px; color: var(--yazi); text-align: left; cursor: pointer; }
.al:first-child { border-top: 0; }
.al:hover { background: var(--hover); }
.al.on { background: var(--ana-zemin); font-weight: 600; }
.av { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; letter-spacing: -.3px; }
.al-ad { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-gc { background: #fde8e8; color: var(--kritik); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.al-n { color: #8a8f98; min-width: 18px; text-align: right; }
.al-daha { color: #3b82f6; justify-content: center; font-size: 14px; }
.as-bos { padding: 12px 14px; color: var(--soluk2); font-size: 14px; }
.as-alt { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px 0; }
.as-yeni { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: #3b82f6; font-weight: 700; font-size: 16px; padding: 0; }
.as-yeni i { width: 24px; height: 24px; border-radius: 50%; background: #3b82f6; color: #fff; font-style: normal; display: flex; align-items: center; justify-content: center; }
.as-lekle { border: 0; background: none; color: #3b82f6; font-size: 15px; }
.ag { padding: 6px 0 110px; min-width: 0; }
.sy-bas { padding: 4px 16px 10px; }
.sy-geri { border: 0; background: none; color: #3b82f6; font-size: 16px; padding: 4px 0; }
.sy-satir { display: flex; align-items: center; gap: 10px; }
.sy-satir h1 { font-size: 30px; font-weight: 800; flex: 1; }
.sy-alt { font-size: 13.5px; color: var(--soluk); margin-top: 2px; }
.sy-alt .kr, .kr { color: var(--kritik); font-weight: 600; }
.sy-btn { border: 0; background: var(--ana-zemin); color: var(--ana); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.sy-btn.ikon { padding: 4px 12px; font-size: 18px; }
.sy-ekle { display: block; margin: 8px 12px; border: 0; background: none; color: #3b82f6; font-weight: 700; font-size: 15.5px; padding: 10px 6px; text-align: left; }
.ag .tg { margin: 0 12px 12px; }
/* hafta */
.hf-ust { display: flex; align-items: center; gap: 8px; padding: 0 16px 8px; flex-wrap: wrap; }
.hf-ust h2 { font-size: 17px; font-weight: 800; }
.hf-ust > button { border: 0; background: none; font-size: 20px; color: var(--soluk); padding: 0 6px; }
.hf-ust .hf-bugun { font-size: 13px; border: 1px solid var(--cizgi); border-radius: 8px; padding: 3px 10px; background: var(--zemin); }
.hf-gr { margin-left: auto; display: flex; background: #e6e8ec; border-radius: 9px; padding: 3px; }
.hf-gr button { border: 0; background: none; font-size: 12.5px; padding: 4px 12px; border-radius: 7px; color: var(--soluk); }
.hf-gr button.on { background: var(--zemin); color: var(--ana); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.hf-serit { display: flex; background: var(--zemin); border-top: 1px solid #e6e8ec; border-bottom: 1px solid #e6e8ec; padding: 4px 6px; margin-bottom: 8px; position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 5; }
.hs-g { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0; color: var(--soluk); font-size: 11px; }
.hs-g b { font-size: 17px; color: var(--yazi); width: 32px; height: 32px; line-height: 32px; border-radius: 50%; }
.hs-g.on b { background: var(--ana); color: #fff; }
.hs-g i { font-style: normal; font-size: 7px; color: var(--altin); height: 9px; letter-spacing: 1px; }
.pano { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; }
.ps { border-radius: 12px; padding: 6px 2px 8px; scroll-margin-top: 130px; transition: background .12s, box-shadow .12s; }
.ps-bas { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 6px 6px; }
.ps-bas b { font-size: 15px; font-weight: 800; }
.ps-bas span { font-size: 12px; color: var(--soluk2); }
.ps.gec .ps-bas b { color: var(--kritik); }
.ps.on .ps-bas b { color: var(--ana); }
.ps.bir .ps-bas b { color: var(--soluk); }
.ps-ic { display: flex; flex-direction: column; gap: 6px; }
.ps.hedef { background: #eaf2ff; box-shadow: inset 0 0 0 2px #3b82f6; }
.pk { display: flex; align-items: flex-start; gap: 9px; background: var(--zemin); border: 1px solid #e6e8ec; border-radius: 12px; padding: 9px 10px; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.pk.o3 { border-left: 4px solid var(--kritik); } .pk.o2 { border-left: 4px solid var(--yuksek); }
.pk.bitti { opacity: .5; } .pk.bitti .pk-t { text-decoration: line-through; }
.pk.kalkti { opacity: .35; }
.pk .daire { width: 18px; height: 18px; margin-top: 1px; }
.pk-m { flex: 1; min-width: 0; }
.pk-t { font-size: 14.5px; line-height: 1.3; }
.pk-a { font-size: 12px; color: var(--soluk); margin-top: 3px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.rz { display: inline-block; font-size: 9.5px; font-weight: 800; color: #fff; border-radius: 4px; padding: 0 4px; line-height: 15px; }
.pk-s { font-size: 12px; font-weight: 700; color: var(--ana); background: var(--ana-zemin); border-radius: 6px; padding: 2px 6px; flex: 0 0 auto; }
.pk-hayalet { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; box-shadow: 0 12px 28px rgba(0,0,0,.22); opacity: .97; }
body.surukleniyor, body.surukleniyor * { cursor: grabbing !important; }
.ps-ekle { border: 1.5px dashed #d6d9de; background: none; border-radius: 10px; color: var(--soluk2); font-size: 13px; padding: 7px 10px; text-align: left; }
.ps-ekle:hover { color: #3b82f6; border-color: #3b82f6; }
/* hızlı ekleme */
.hz { padding: 14px 16px 22px; }
.hz-bas { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 16px; }
.hz .s-kutu { padding-left: 12px; }
.hz-ip { font-size: 12.5px; color: var(--soluk2); margin-top: 10px; line-height: 1.5; }
.hz-ip b { color: var(--ana); }
@media (min-width: 1000px) {
  .anak { display: grid; grid-template-columns: 290px 1fr; min-height: calc(100vh - 56px); }
  .anak .as, .anak.ev .as { display: block; background: #eceef2; border-right: 1px solid #dcdfe4; padding: 16px 12px 30px; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; }
  .anak .ag, .anak.ev .ag { display: block; padding: 18px 10px 40px; }
  .anak .ak { padding: 9px 10px; gap: 6px; } .anak .ak-ust b { font-size: 21px; } .anak .ak-ik { width: 26px; height: 26px; font-size: 13px; } .anak .ak-ad { font-size: 13px; }
  .anak .as-bas { font-size: 12px; color: var(--soluk2); padding: 16px 6px 4px; letter-spacing: .4px; text-transform: uppercase; }
  .anak .as-lst { background: transparent; } .anak .al { border: 0; padding: 6px 8px; font-size: 14px; border-radius: 8px; } .anak .av { width: 24px; height: 24px; font-size: 10.5px; }
  .anak .as-ara { background: #dfe2e7; }
  .sy-geri { display: none; }
  .hf-serit { display: none; }
  .pano { flex-direction: row; gap: 0; padding: 0; border-top: 1px solid #e6e8ec; margin: 0 6px; }
  .ps { flex: 1 1 0; min-width: 0; border-radius: 0; border-right: 1px solid #e6e8ec; padding: 8px 6px; min-height: calc(100vh - 200px); }
  .ps.gec { background: #fdf3f2; } .ps.on { background: #eef4fb; } .ps.bir { background: #f0f1f4; }
  .ps.hedef { background: #e3eeff; }
  .pk { padding: 7px 8px; gap: 7px; } .pk-t { font-size: 13px; } .pk-a { font-size: 11px; }
  .ag .tg, .ag .sy-ekle { max-width: 900px; }
  .ag .sy-bas { padding-left: 16px; }
}
@media (prefers-color-scheme: dark) {
  body.liste-modu { background: var(--zemin2); }
  .as-ara { background: #23272d; } .ak, .as-lst, .pk, .hf-serit { background: var(--kart); } .al { border-top-color: #2b3036; }
  .pk { border-color: #2b3036; }
  @media (min-width: 1000px) { .anak .as { background: #16191d; border-right-color: #2b3036; } .ps.gec { background: #2a1a19; } .ps.on { background: #172334; } .ps.bir { background: #1b1e22; } }
}

/* v16 kart düzeltme */
.pk-a { flex-wrap: wrap; row-gap: 3px; }
.pk-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 48px; }
.pk-s { margin-left: auto; font-size: 11px; padding: 1px 5px; white-space: nowrap; }
.pk-s.kr { color: var(--kritik); background: #fdecec; }

/* ============ v17: takvim ana sayfada + kırmızı ＋ + Tamamlandı/Kaydet ============ */
.rz2 { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; border-radius: 5px; padding: 1px 6px; line-height: 17px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; letter-spacing: .1px; }
.rz2.s { background: #e5484d; } .rz2.l { background: #0f766e; }
.s-sag .rz2 { max-width: 100%; }
.al .rz2 { font-size: 12px; padding: 2px 8px; line-height: 18px; max-width: 70%; }
.al .al-ad { flex: 1; }

/* sol alttaki kırmızı ＋ */
.fab2 { position: fixed; z-index: 30; left: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; border: 0; background: #e5484d; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(229, 72, 77, .42); cursor: pointer; transition: transform .12s; }
.fab2:active { transform: scale(.94); }
.fab2 svg { width: 28px; height: 28px; }
@media (min-width: 860px) { .fab2 { left: 24px; bottom: 24px; width: 60px; height: 60px; } }
body.girisde .fab2 { display: none; }
@media print { .fab2 { display: none !important; } }
.anak .as { padding-bottom: 100px !important; }
.fab { display: none !important; }

/* masaüstünde üstte Takvim sekmesi yok (takvim ana sayfada) */
@media (min-width: 1000px) { .ust-nav a[data-nav="takvim"] { display: none; } }

/* Yeni penceresi */
.yn-sec { display: flex; background: #eef0f3; border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.yn-sec button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--soluk); cursor: pointer; }
.yn-sec button.on { background: var(--zemin); color: var(--ana); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.yn-sec button.on.n { color: #8a6a00; }
.yn-lbl { font-size: 12px; font-weight: 700; color: var(--soluk); margin: 0 0 6px; letter-spacing: .3px; text-transform: uppercase; }
.yn-lbl span { text-transform: none; font-weight: 500; letter-spacing: 0; }
.yn-sube { width: 100%; border: 1.5px solid var(--cizgi); border-radius: 10px; padding: 10px 12px; font-size: 15px; background: var(--zemin); color: var(--yazi); margin-bottom: 10px; }
.yn-not { width: 100%; border: 1.5px solid var(--cizgi); border-radius: 12px; padding: 12px; font-size: 15px; line-height: 1.45; resize: vertical; background: var(--zemin); color: var(--yazi); font-family: inherit; }
.yn-not:focus, .yn-sube:focus { outline: none; border-color: var(--ana); }
.yn-alt { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.yn-alt span { font-size: 12.5px; color: var(--soluk2); }
.yn .sc.kaydet { background: var(--ana); color: #fff; }

/* Tamamlandı (sol) / Kaydet (sağ) */
.d-alt2 { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--zemin); border-top: 1px solid var(--cizgi); margin-top: 12px; }
.not-duz .d-alt2 { background: inherit; margin: 12px -16px 0; }
.tmm-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #16a34a; color: #15803d; background: none; border-radius: 20px; padding: 8px 15px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.tmm-btn i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #16a34a; display: inline-block; }
.tmm-btn:hover { background: #ecfdf3; }
.d-alt2 .dolu-btn { border-radius: 20px; padding: 9px 22px; font-size: 14.5px; font-weight: 700; margin-left: auto; }
.panel.detay-panel .detay { min-height: 0; }
.panel.detay-panel .d-alt { display: none; }
.nd-etiket select { border: 0; background: none; font-size: 14px; color: var(--yazi); max-width: 200px; padding: 4px 2px; }
[data-pk] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ---- Takvim ---- */
.tk2-kok { padding: 6px 12px 150px; }
.tk2-ust { display: flex; align-items: center; gap: 10px; padding: 10px 2px 10px; flex-wrap: wrap; }
.tk2-bas { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tk2-ust h2 { margin: 0; font-size: 20px; font-weight: 600; white-space: nowrap; }
.tk2-ok { width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--soluk); cursor: pointer; }
.tk2-ok:hover { background: var(--hover); }
.tk2-seg { margin-left: auto; display: flex; background: #e9ebef; border-radius: 10px; padding: 3px; }
.tk2-seg button { border: 0; background: none; padding: 6px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--soluk); white-space: nowrap; cursor: pointer; }
.tk2-seg button.on { background: var(--zemin); color: var(--ana); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tk2-gb { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 11.5px; color: var(--soluk); font-weight: 600; padding: 0 0 6px; border-bottom: 1px solid var(--cizgi); }
.tk2-gb span { padding-left: 6px; }
.tk2-iz { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tg2 { border: 0; border-bottom: 1px solid #eceef1; padding: 5px 4px; min-height: 112px; font: inherit; font-size: 13px; cursor: pointer; min-width: 0; background: none; text-align: left; color: inherit; }
.tg2 .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-bottom: 3px; font-size: 13px; }
.tg2.dis .n { color: #c0c4cc; }
.tg2.bugun .n { background: var(--ana); color: #fff; font-weight: 700; }
.tg2.secg { background: #f2f4f8; }
.tg2.secg:not(.bugun) .n { box-shadow: inset 0 0 0 2px var(--ana); font-weight: 700; }
.tg2.hedef, .ts.hedef { background: #e3eeff !important; outline: 2px dashed #3b82f6; outline-offset: -3px; }
.tg2.uzun { min-height: calc(100vh - 220px); border-right: 1px solid #f0f1f4; }
.tc { display: flex; align-items: center; gap: 4px; background: #f1f2f5; border-radius: 5px; padding: 2px 4px; font-size: 11.5px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; cursor: grab; }
.tc:hover { background: #e7e9ee; }
.tc .rz2 { font-size: 9.5px; padding: 0 4px; line-height: 14px; flex: 0 0 auto; max-width: none; }
.tc-t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tc.gec { background: #fdeaea; color: #c62828; }
.tc.o3 { box-shadow: inset 3px 0 0 #e5484d; }
.tc-f { display: block; font-size: 10.5px; color: var(--soluk); padding-left: 4px; }
.tk2-hf .tc { white-space: normal; flex-wrap: wrap; padding: 5px 6px; font-size: 12.5px; line-height: 1.3; margin-bottom: 5px; }
.tk2-hf .tc .rz2 { max-width: 100%; }
/* mobil ay */
.tk2-ay.kucuk { background: var(--zemin); border-radius: 14px; padding: 6px 4px 2px; }
.tk2-ay.kucuk .tk2-gb { border: 0; text-align: center; }
.tk2-ay.kucuk .tk2-gb span { padding: 0; }
.tk2-ay.kucuk .tg2 { min-height: 0; border: 0; padding: 3px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tk2-ay.kucuk .tg2 .n { width: 34px; height: 34px; margin: 0; font-size: 14.5px; }
.tk2-ay.kucuk .tg2.secg { background: none; }
.tg2 i { width: 5px; height: 5px; border-radius: 50%; margin-top: 2px; }
.tg2 i.ok { background: #e0a526; } .tg2 i.kr { background: #e5484d; }
.tk2-serit { display: flex; background: var(--zemin); border-radius: 14px; padding: 8px 2px; }
.ts { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; color: inherit; font: inherit; border-radius: 12px; padding: 2px 0; cursor: pointer; }
.ts small { font-size: 11px; color: var(--soluk); }
.ts b { width: 36px; height: 36px; line-height: 36px; border-radius: 50%; text-align: center; font-size: 15.5px; }
.ts.bugun b { background: var(--ana); color: #fff; }
.ts.secg:not(.bugun) b { box-shadow: inset 0 0 0 2px var(--ana); }
.ts i { font-style: normal; font-size: 8px; color: #e0a526; height: 10px; letter-spacing: 1px; }
.ts.kr i { color: #e5484d; }
/* gün paneli */
.tk2-gun { padding: 4px 0 20px; }
.tk2-gbas { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 14px 4px 10px; }
.tk2-gbas h3 { margin: 0; font-size: 17px; font-weight: 600; }
.tk2-gbas span { font-size: 13px; color: var(--soluk); white-space: nowrap; }
.tk2 .tg { max-width: none !important; }
.tk2 .tg.notg .grup { background: #fff9e3; }
.tk2-bos { color: var(--soluk); font-size: 14px; padding: 10px 4px; }
.tk2-ekle { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ana); font-weight: 600; font-size: 14px; padding: 10px 4px; cursor: pointer; }
.tk2-ekle span { width: 22px; height: 22px; border-radius: 50%; background: var(--hover); display: grid; place-items: center; }
/* masaüstü yerleşim */
.anak.tkm .ag { padding: 0 !important; }
.tk2.genis { display: grid; grid-template-columns: minmax(0, 1fr) 370px; min-height: calc(100vh - 56px); background: var(--zemin); }
.tk2.genis .tk2-orta { padding: 8px 20px 40px; min-width: 0; }
.tk2.genis .tk2-sag { border-left: 1px solid var(--cizgi); padding: 6px 16px 100px; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; }
.tk2.genis.tek { display: block; }
.tk2.genis.tek .tk2-gun { max-width: 760px; }
@media (max-width: 999px) { .tk2-seg { margin-left: 0; width: 100%; } .tk2-seg button { flex: 1; } .tk2-ust { padding-top: 4px; } }
@media (prefers-color-scheme: dark) {
  .tk2-seg, .yn-sec { background: #23272d; }
  .tg2 { border-bottom-color: #2b3036; } .tg2.secg { background: #1d2127; } .tc { background: #262a30; } .tc:hover { background: #2d3239; } .tc.gec { background: #3a1f1f; color: #ff8a8a; }
  .tk2 .tg.notg .grup { background: #2e2a1a; } .tg2.hedef, .ts.hedef { background: #172334 !important; }
}

.tk2.genis.tek .tk2-orta { max-width: 900px; }
.tg2 { display: block; } .tk2-ay.kucuk .tg2 { display: flex; }

.s-sag .rz2 { max-width: none; }
.tk2-sag .s-sag { max-width: 58%; }

/* ============ v18: sade görev / not ekranı ============ */
.ds-ust { display: flex; align-items: center; gap: 10px; padding: 14px 16px 4px; position: sticky; top: 0; background: inherit; z-index: 3; }
.ds-ust b { font-size: 17px; }
.sil2 { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #f3b4b4; color: #d42b2b; background: none; border-radius: 20px; padding: 5px 12px 5px 6px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.sil2 i { width: 22px; height: 22px; border-radius: 50%; background: #fdecec; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.sil2:hover { background: #fff5f5; }
.ds-ic { padding: 2px 16px 0; }
.ds-lbl { font-size: 11.5px; font-weight: 700; color: var(--soluk); letter-spacing: .4px; margin: 14px 0 6px; }
.ds-baslik { width: 100%; border: 1.5px solid var(--ana); border-radius: 12px; padding: 11px 12px; font-size: 17px; font-weight: 600; line-height: 1.35; resize: none; background: var(--zemin); color: var(--yazi); font-family: inherit; overflow: hidden; }
.ds-baslik:focus { outline: none; box-shadow: 0 0 0 3px rgba(22,40,74,.12); }
.ds-zr { display: flex; gap: 8px; }
.ds-zr input { flex: 1; min-width: 0; border: 1.5px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; font-size: 15px; background: var(--zemin); color: var(--yazi); font-family: inherit; }
.ds-zr input[name=saat] { flex: 0 0 110px; text-align: center; letter-spacing: .5px; }
.ds-zr input.gecti { background: var(--kritik-zemin); color: var(--kritik); border-color: transparent; }
.ds-zr input:focus { outline: none; border-color: var(--ana); }
.ds-onem { display: flex; gap: 8px; }
.ds-onem button { border: 0; border-radius: 16px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; background: #eef0f3; color: var(--soluk); cursor: pointer; }
.ds-onem button.o2.on { background: #fff1d6; color: #b45309; box-shadow: inset 0 0 0 2px #f0a32c; }
.ds-onem button.o3.on { background: #fde3e3; color: #c62828; box-shadow: inset 0 0 0 2px #e5484d; }
.ds-onem button.o1.on { background: #e8ebf1; color: var(--ana); box-shadow: inset 0 0 0 2px var(--ana); }
.ds-ls { padding: 16px 16px 0; }
.lsb { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--cizgi); border-radius: 12px; padding: 7px 11px; font-size: 14px; font-weight: 600; background: var(--zemin); color: var(--yazi); cursor: pointer; max-width: 100%; }
.lsb .rz2 { font-size: 12px; padding: 2px 8px; }
.lsb .ok2 { color: var(--soluk); font-size: 12px; }
.lsb:hover { border-color: var(--ana); }
.panel.detay-panel .dsade { min-height: 0; }
.nsade { padding: 0; }
.nsade .ns-metin { display: block; width: calc(100% - 32px); margin: 8px 16px 0; min-height: 200px; border: 1.5px solid var(--ana); border-radius: 12px; padding: 12px; font-size: 15.5px; line-height: 1.5; resize: vertical; background: var(--zemin); color: var(--yazi); font-family: inherit; }
.nsade .ns-metin:focus { outline: none; box-shadow: 0 0 0 3px rgba(22,40,74,.12); }
.nsade .d-alt2 { margin: 14px 0 0; }
.yn-alt .lsb { margin-right: auto; }
/* şube sor */
.sb-sor { position: fixed; inset: 0; z-index: 60; background: rgba(15,20,30,.35); display: flex; align-items: flex-end; justify-content: center; }
.sb-kart { background: var(--zemin); width: 100%; max-height: 80vh; border-radius: 22px 22px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.sb-ara { border: 1.5px solid var(--cizgi); border-radius: 10px; padding: 10px 12px; font-size: 15px; margin-bottom: 8px; background: var(--zemin); color: var(--yazi); }
.sb-ara:focus { outline: none; border-color: var(--ana); }
.sb-lst { overflow-y: auto; }
.sb-lst button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--cizgi); background: none; padding: 12px; font-size: 15px; color: var(--yazi); cursor: pointer; }
.sb-lst button:hover { background: #fde8e8; color: #c62828; font-weight: 700; }
@media (min-width: 860px) { .sb-sor { align-items: center; } .sb-kart { width: 400px; border-radius: 18px; max-height: 70vh; } }
.dsade .ds-ust, .nsade .ds-ust { background: var(--zemin); }

/* v19: yeni görev formu (otomatik tanıma yok) + mobil arama */
.yn .ds-baslik { margin-bottom: 2px; }
.yn .ds-lbl:first-of-type { margin-top: 12px; }
.yn .yn-alt { margin-top: 16px; }
.as-gov[hidden] { display: none !important; }
.as-sonuc:empty { display: none; }
.as-sonuc { margin: 10px 0 20px; }
.as-sonuc .s-ara-bas { font-size: 13.5px; color: var(--soluk); margin: 4px 4px 10px; }
.as-sonuc .tg { margin-bottom: 10px; }

/* ============ v20: raporlar + çevrimdışı + takvim noktası ============ */
.cd-band { position: sticky; top: 56px; z-index: 15; display: flex; gap: 8px; align-items: flex-start; margin: 8px 12px; background: #fff4dc; border: 1px solid #f0c36a; color: #7a4b00; border-radius: 12px; padding: 9px 12px; font-size: 13px; line-height: 1.45; }
.cd-band[hidden] { display: none; }
@media (min-width: 1000px) { .cd-band { margin: 8px auto; max-width: 900px; } }
.s-tr.bek { color: #b45309; font-weight: 700; }
.tc .tc-n { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.tc .tc-n.s { background: #e5484d; } .tc .tc-n.l { background: #0f766e; }
.uyari-kutu { background: #fff4dc; border: 1px solid #f0c36a; color: #7a4b00; border-radius: 10px; padding: 9px 12px; font-size: 13px; line-height: 1.5; }
/* raporlar */
.rp { max-width: 1100px; margin: 0 auto; padding: 8px 0 120px; }
.rp-bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.rp-bas h2 { margin: 0; font-size: 21px; }
.rp-seg { margin-left: auto; }
.rp-xl { border: 1.5px solid #16a34a; color: #15803d; background: none; border-radius: 18px; padding: 6px 13px; font-size: 13px; font-weight: 700; cursor: pointer; }
.rp-kp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.rp-k { background: var(--zemin); border: 1px solid var(--cizgi); border-radius: 12px; padding: 12px 13px; display: flex; flex-direction: column; gap: 2px; }
.rp-k span { font-size: 12.5px; color: var(--soluk); font-weight: 600; }
.rp-k b { font-size: 27px; line-height: 1.15; } .rp-k b em { font-size: 13px; font-style: normal; font-weight: 600; color: var(--soluk); }
.rp-k small { font-size: 11.5px; font-weight: 700; color: var(--soluk); }
.rp-k small.ar { color: #16a34a; } .rp-k small.az { color: #d42b2b; }
.rp-k.kr { border-color: #f3b4b4; background: #fff7f7; } .rp-k.kr b, .rp-k.kr small { color: #d42b2b; }
.rp-g2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: start; }
.rp-kt { background: var(--zemin); border: 1px solid var(--cizgi); border-radius: 12px; padding: 12px 14px; }
.rp-kt h3 { font-size: 12.5px; color: var(--soluk); letter-spacing: .4px; margin: 0 0 8px; }
.rp-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rp-t th { text-align: left; font-size: 11.5px; color: var(--soluk2); font-weight: 700; padding: 4px 4px; }
.rp-t td { padding: 8px 4px; border-top: 1px solid var(--cizgi); }
.rp-t tbody tr { cursor: pointer; } .rp-t tbody tr:hover { background: var(--hover); }
.rp-t td.kr { color: #d42b2b; font-weight: 700; } .rp-t td.sf { color: var(--soluk2); }
.rp-bar { display: flex; height: 8px; width: 120px; background: #e9ebef; border-radius: 4px; overflow: hidden; }
.rp-bar i { background: var(--ana); } .rp-bar u { background: #9fd3b5; }
.rp-tum { border: 0; background: none; color: #3b82f6; font-size: 13px; padding: 10px 4px 2px; cursor: pointer; }
.rp-ch { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 18px 2px 0; border-bottom: 1px solid var(--cizgi); }
.rp-ch div { flex: 1; background: var(--ana); border-radius: 4px 4px 0 0; position: relative; min-height: 3px; }
.rp-ch div.son { background: #e0a526; }
.rp-ch div span { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--soluk); font-weight: 700; }
.rp-chx { display: flex; gap: 8px; font-size: 10.5px; color: var(--soluk2); padding: 4px 2px 0; }
.rp-chx span { flex: 1; text-align: center; white-space: nowrap; }
.rp-ip { font-size: 12px; color: var(--soluk); margin: 10px 0 0; }
@media (max-width: 860px) {
  .rp { padding: 4px 12px 150px; }
  .rp-kp { grid-template-columns: 1fr 1fr; }
  .rp-g2 { grid-template-columns: 1fr; }
  .rp-bc { display: none; }
  .rp-seg { margin-left: 0; order: 3; width: 100%; } .rp-seg button { flex: 1; }
  .rp-chx span:nth-child(even) { visibility: hidden; }
}
@media (prefers-color-scheme: dark) { .cd-band, .uyari-kutu { background: #3a2e14; border-color: #6b5320; color: #f3d69a; } .rp-k.kr { background: #2a1a19; border-color: #5a2a2a; } .rp-bar { background: #2b3036; } }

/* ============ v22: sakin etiketler + hızlı not + ＋ sağ altta ============ */
.rz2 { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; letter-spacing: .1px; border-radius: 999px; padding: 2px 9px 2px 7px; line-height: 17px; }
.rz2::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.rz2.s { background: #f7eeee; color: #7a2e2e; box-shadow: inset 0 0 0 1px #ecdada; } .rz2.s::before { background: #c2413b; }
.rz2.l { background: #edf3f1; color: #245a52; box-shadow: inset 0 0 0 1px #d6e5e1; } .rz2.l::before { background: #2f7d70; }
.al .rz2 { font-size: 13px; padding: 3px 10px 3px 8px; line-height: 18px; }
.s-sag .rz2, .lsb .rz2 { font-size: 11.5px; padding: 1px 8px 1px 6px; }
.tc .rz2 { padding: 0 5px 0 4px; line-height: 14px; gap: 3px; } .tc .rz2::before { width: 5px; height: 5px; }
.tc .tc-n.s { background: #c2413b; } .tc .tc-n.l { background: #2f7d70; }
@media (prefers-color-scheme: dark) {
  .rz2.s { background: #3a2424; color: #f2b8b5; box-shadow: inset 0 0 0 1px #57302f; }
  .rz2.l { background: #1d3530; color: #a8d8cc; box-shadow: inset 0 0 0 1px #2c4d46; }
}
/* hızlı not */
.hn { display: flex; align-items: center; gap: 8px; background: var(--zemin); border: 1.5px solid var(--cizgi); border-radius: 14px; padding: 6px 6px 6px 14px; margin: 4px 0 12px; max-width: 900px; transition: border-color .12s, box-shadow .12s; }
.hn:focus-within { border-color: var(--ana); box-shadow: 0 2px 10px rgba(22,40,74,.1); }
.hn input { flex: 1; min-width: 0; border: 0; background: none; font-size: 15px; padding: 7px 0; color: var(--yazi); outline: none; }
.hn-k { border: 0; background: var(--ana); color: #fff; border-radius: 18px; padding: 8px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
.hn-k[hidden] { display: none; }
@media (max-width: 999px) { .hn { margin: 4px 12px 12px; } }
/* not → görev */
.gor-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ana); color: var(--ana); background: #f3f5f9; border-radius: 20px; padding: 8px 13px; font-size: 14px; font-weight: 700; cursor: pointer; }
.gor-btn:hover { background: #e8ebf1; }
.nsade .d-alt2 { gap: 8px; }
.nsade .d-alt2 .dolu-btn { margin-left: auto; }
@media (max-width: 420px) { .nsade .d-alt2 .tmm-btn, .nsade .d-alt2 .gor-btn { padding: 7px 10px; font-size: 13px; } .nsade .d-alt2 .dolu-btn { padding: 8px 16px; } }
.yn-cb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soluk); margin-top: 14px; cursor: pointer; }
.yn-cb input { width: 17px; height: 17px; accent-color: var(--ana); }
/* ＋ sağ altta */
.fab2 { left: auto; right: 16px; }
@media (min-width: 860px) { .fab2 { left: auto; right: 24px; } }
.anak .ag { padding-bottom: 110px !important; }
.anak.tkm .ag { padding-bottom: 0 !important; }
.tk2.genis .tk2-sag { padding-bottom: 110px; }
.tk2.genis .tk2-orta { padding-bottom: 100px; }
.anak .as { padding-bottom: 30px !important; }
.rp { padding-bottom: 130px; }
@media (min-width: 1000px) { .ag .hn { margin-left: 12px; margin-right: 12px; } }

/* v23: üst çubuk sade — logo = ana sayfa, sağda simgeler */
.ust-nav { margin-left: auto; gap: 6px; }
.ust-nav a { width: 42px; height: 42px; padding: 0; border-radius: 12px; display: grid; place-items: center; color: var(--soluk); }
.ust-nav a svg { width: 24px; height: 24px; }
.ust-nav a svg .cizgi { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ust-nav a svg .kalin { stroke-width: 2.4; }
.ust-nav a svg .dolgu { fill: none; stroke: currentColor; stroke-width: 2; }
.ust-nav a svg .nokta { fill: currentColor; }
.ust-nav a.aktif { background: var(--ana-zemin); color: var(--ana); }
.ust-nav a:hover { background: var(--hover); color: var(--ana); }
.ust-nav a[data-nav="liste"] { display: none; }
.logo { cursor: pointer; }

/* v24: hızlı açılış — arkada güncelleme göstergesi */
.gun-pil { position: fixed; z-index: 45; top: calc(64px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; background: var(--zemin); color: var(--soluk); border: 1px solid var(--cizgi); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.08); pointer-events: none; }
.gun-pil[hidden] { display: none; }
.gun-pil i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cizgi); border-top-color: var(--ana); animation: gunDon .8s linear infinite; }
@keyframes gunDon { to { transform: rotate(360deg); } }

/* v25: liste/şube sayfası düzeni */
.hn { background: #fffbea; border-color: #f3e3a3; }
.hn:focus-within { border-color: #e0b84a; box-shadow: 0 2px 10px rgba(224,184,74,.18); }
.hn input::placeholder { color: #9a8a4a; }
.tg.notg .grup { background: #fff7d6; }
.tg.notg { border-color: #efdc9a; }
.tg.soluk-g { opacity: .8; }
.tg.soluk-g .grup { background: #f4f5f7; color: var(--soluk); }
.tg.soluk-g .g .s-baslik, .tg.soluk-g .g { color: var(--soluk2); }
.sy-ekle { display: none !important; }
@media (prefers-color-scheme: dark) { .hn { background: #2e2a1a; border-color: #5a4d22; } .tg.notg .grup { background: #2e2a1a; } .tg.notg { border-color: #5a4d22; } }

/* v26: bugün eklenenler + açılır başlıklar + hata göstergesi */
.ak-ek { display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0 4px; border: 0; background: var(--zemin); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 700; color: var(--ana); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); text-align: left; }
.ak-ek i { width: 26px; height: 26px; border-radius: 50%; background: #e8f0fe; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.ak-ek b { margin-left: auto; font-size: 18px; color: var(--yazi); }
.ak-ek.on { outline: 2px solid #3b82f6; }
.as-bas-b { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; }
.as-bas-b .as-ok { font-size: 10px; width: 12px; color: var(--soluk2); }
.as-bas-b .as-bn { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--soluk2); letter-spacing: 0; text-transform: none; }
.as-lst[hidden] { display: none; }
.ek-seg { margin: 0 0 12px; display: inline-flex; }
@media (max-width: 999px) { .ek-seg { margin: 0 12px 12px; } }
.ek-lst .ek-bas { cursor: default; }
.ek-sat { display: flex; align-items: stretch; border-top: 1px solid var(--cizgi); }
.ek-sat:first-child { border-top: 0; }
.ek-sat > :not(.ek-z) { flex: 1; min-width: 0; border-top: 0 !important; }
.ek-z { flex: 0 0 auto; min-width: 54px; padding: 14px 0 0 14px; font-size: 12px; font-weight: 600; color: var(--soluk); white-space: nowrap; }
.ek-not { background: #fffdf3; }
.hata-pil { pointer-events: auto; cursor: pointer; color: #b45309; border-color: #f0c36a; background: #fff8e6; font: inherit; font-size: 12.5px; font-weight: 600; }
.hata-pil u { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .ek-not { background: #26241a; } .ak-ek i { background: #1e2a44; } .hata-pil { background: #3a2e14; color: #f3d69a; border-color: #6b5320; } }

/* v28 — Seç ve taşı */
.sec-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 55; display: flex; align-items: center; gap: 6px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; background: #1f2937; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.sec-bar b { font-size: 15px; padding: 0 6px; white-space: nowrap; }
.sec-bar .sb-bos { flex: 1; }
.sec-bar button { border: 0; background: none; color: #cfd6e0; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.sec-bar button:hover { background: rgba(255,255,255,.08); color: #fff; }
.sec-bar .sb-tasi { background: #e5484d; color: #fff; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.sec-bar .sb-tasi:hover { background: #d63c41; }
body.secim .fab2, body.secim .sy-ekle, body.secim .tk2-ekle, body.secim .hn { display: none !important; }
body.secim #ana .s-c .daire, body.secim #ana .s-c .s-not-ik, body.secim #ana .s-c .s-yeni { display: none; }
body.secim #ana .s-c { cursor: pointer; -webkit-user-select: none; user-select: none; }
#ana .s-c { -webkit-touch-callout: none; }
.sc-k, .sc-gk { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #b6bec9; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; cursor: pointer; }
.sc-gk { width: 18px; height: 18px; }
.s-c.sc-on { background: #e8f0fe !important; }
.s-c.sc-on .sc-k, .sc-gk.on { background: #2563eb; border-color: #2563eb; }
.s-c.sc-on .sc-k::after, .sc-gk.on::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: translate(0,-1px) rotate(45deg); }
.sc-gk.yari { background: #93b4f5; border-color: #93b4f5; }
.sc-gk.yari::after { content: ''; width: 9px; height: 2.4px; background: #fff; border-radius: 2px; }
.ts-alt { color: var(--soluk); font-size: 14px; margin: -2px 0 10px; }
.ts-ip { color: var(--soluk); font-size: 12.5px; padding: 10px 2px 0; }
.tk2-gbas > span { margin-left: auto; }
.tk2-sec { padding: 4px 12px; font-size: 13px; }

/* v29 — kaydırma, Bugün sayıları */
#ana .s-c[data-id]:not([data-pk]) { touch-action: pan-y; }
.s-c.sw-on { position: relative; overflow: hidden; padding: 0 !important; display: block !important; background: #16a34a !important; }
.s-c.sw-on.sw-sol { background: #f08c2e !important; }
.sw-ic { position: absolute; inset: 0; display: flex; align-items: center; gap: 11px; padding: 9px 14px 9px 16px; background: var(--kart); z-index: 1; will-change: transform; }
.sw-e { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; color: #fff; font-weight: 800; font-size: 14px; padding: 0 18px; opacity: .55; transition: opacity .12s, transform .12s; }
.sw-l { left: 0; } .sw-r { right: 0; }
.sw-sag .sw-r, .sw-sol .sw-l { display: none; }
.sw-hazir .sw-e { opacity: 1; transform: scale(1.08); }
.bg-say { display: flex; gap: 8px; margin: 2px 16px 14px; }
.bg-say button { flex: 1; border: 0; background: var(--kart); border-radius: 14px; padding: 8px 10px; text-align: left; font-size: 11.5px; font-weight: 600; color: var(--soluk); box-shadow: var(--golge); cursor: pointer; }
.bg-say b { display: block; font-size: 19px; line-height: 1.25; color: var(--yazi); }
.bg-say .kr b { color: var(--kritik); }
@media (min-width: 1000px) { .bg-say { display: none; } }
@media (prefers-color-scheme: dark) {
  .anak .as-ara { background: #23272d; }
  .al-gc { background: #3a1f1d; color: #f5a3a6; }
  .sc-k, .sc-gk { background: transparent; border-color: #5b6470; }
  .s-c.sc-on { background: #1b2838 !important; }
  .sb-lst button:hover { background: #3a1f1d; color: #f5a3a6; }
}

/* v30 — not kaydırma, hızlı not */
.s-c.sw-on.sw-not { background: #2563eb !important; }
.hzn { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); min-height: 100%; }
.hzn-bas { display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.hzn textarea { width: 100%; min-height: 34vh; resize: none; border: 1.5px solid #ecd98a; background: #fff8d6; color: #3b3a2e; border-radius: 16px; padding: 14px; font-size: 17px; line-height: 1.45; outline: none; }
.hzn textarea:focus { border-color: #e7a92f; box-shadow: 0 0 0 3px rgba(231,169,47,.18); }
.hzn-kaydet { border: 0; background: #e5484d; color: #fff; font-size: 18px; font-weight: 800; padding: 16px; border-radius: 16px; cursor: pointer; }
.hzn-kaydet:active { transform: scale(.98); }
.hzn-ip { color: var(--soluk); font-size: 12.5px; text-align: center; }
@media (prefers-color-scheme: dark) { .hzn textarea { background: #2f2714; border-color: #5a4a1f; color: #f1e6c4; } }

/* v31 — mail hatırlatması */
.mail-form { display: flex; flex-direction: column; gap: 12px; }
.mf-sat { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.mf-sat input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ana); flex: 0 0 auto; }
.mf-sat span { flex: 1; }
.mf-sat small, .mf-alan small { color: var(--soluk); font-weight: 400; }
.mf-sat input[type=time] { width: auto; padding: 6px 8px; }
.mf-alan { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; }
.mf-alan input { font-weight: 400; }
