/* Yönetim · seri, Yapılacaklar, saha görevi pencereleri ve Müşteri bilgileri (30 Ekim 2026).
   Seri çerçevesizdir (kart yok): sayı, 15 nokta + %5, kare hücreli 6 satırlık grafik (Haftalık 7 · Aylık 30 · Yıllık 12 sütun)
   doğrudan sayfa zemininde; etiketler yalnız altta, en sağ sütun bugün / bu ay. Sakin tonlar, %5 hakkı kazanılınca yumuşak nane. */

/* ── Seri (çerçevesiz, A · Noktalar) ─────────────────────────────── */
.fd-streak{--soft:#cfe3f6;--track:#ffffff17;--done:#a8e6d0;--ink-3:#7f9fbe;margin-top:32px}
.fd-count{display:flex;align-items:baseline;gap:8px;margin:0;padding:0 2px;color:#fff}
.fd-count b{font-family:var(--font-display,inherit);font-weight:500;font-size:40px;line-height:1;letter-spacing:-1.2px}
.fd-count span{font-family:var(--font-text,Inter),sans-serif;font-size:14px;font-weight:400;letter-spacing:0;color:#a6c6e2}
.fd-dots{display:flex;align-items:center;gap:7px;margin-top:14px;padding:0 2px}
.fd-dots i{width:9px;height:9px;border-radius:50%;background:var(--track)}
.fd-dots i.on{background:var(--soft)}
.fd-dots i.goal{background:none;box-shadow:inset 0 0 0 1.5px #9fc3e6}
.fd-dots em{margin-left:4px;font-style:normal;font-size:12.5px;font-weight:600;color:#9fc3e6}
.fd-streak.is-on .fd-dots i.on{background:var(--done)}
.fd-streak.is-on .fd-dots em{color:var(--done)}
.fd-goal-t{margin:10px 2px 0;font-size:13px;line-height:1.5;color:#a6c6e2}
.fd-goal-t b{color:#fff;font-weight:600}
.fd-utabs{display:flex;gap:22px;margin:20px 2px 16px;border-bottom:1px solid #ffffff14}
.fd-utabs button{padding:0 0 9px;border:0;background:none;color:var(--ink-3);font-size:13.5px;font-weight:500;text-align:center!important;cursor:pointer;box-shadow:inset 0 -2px 0 transparent;transition:color .25s,box-shadow .25s}
.fd-utabs button[aria-pressed=true]{color:#fff;box-shadow:inset 0 -2px 0 var(--soft)}
/* Grafik: kare hücreler (--cell), sütun aralığı --cgap, satır aralığı --rgap; etiketler yalnız altta (en sağ = bugün) */
.fd-chart{position:relative;overflow:hidden;padding:2px}
.fd-grid{display:block;transform-origin:100% 100%;will-change:transform,opacity}
.fd-grid.leaving{position:absolute;left:2px;right:2px;bottom:2px;pointer-events:none}
.fd-cols,.fd-xaxis{display:flex;justify-content:space-between}
.fd-col{display:grid;grid-template-rows:repeat(6,var(--cell));row-gap:var(--rgap);width:var(--cell);border-radius:calc(var(--cell) * .28)}
.fd-col i{display:block;width:var(--cell);height:var(--cell);border-radius:calc(var(--cell) * .26);background:#ffffff0e}
.fd-col.sun i{background:#ffffff08}
.fd-col i.on.r0,.fd-col i.on.r1{background:#22548f}
.fd-col i.on.r2,.fd-col i.on.r3{background:#3473bf}
.fd-col i.on.r4,.fd-col i.on.r5{background:#6fa5dc}
.fd-col.now{box-shadow:0 0 0 1.5px #e6f2ff59}
.fd-xaxis{margin-top:7px}
.fd-xaxis span{width:var(--cell);height:12px;font-size:10px;line-height:12px;text-align:center;color:var(--ink-3);white-space:nowrap;display:flex;justify-content:center}
.fd-xaxis span.now{color:#fff;font-weight:600}
.fd-xaxis span:first-child{justify-content:flex-start}.fd-xaxis span:last-child{justify-content:flex-end}
.reduce-motion .fd-utabs button{transition:none}
@media(prefers-reduced-motion:reduce){.fd-utabs button{transition:none}}

/* ── Yapılacaklar ─────────────────────────────── */
.fd-work{margin-top:26px}
.fd-row .mk-ag-t small span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fd-draft{flex:none;padding:1px 7px;border-radius:7px;background:#ffffff12;color:#cfe3f6;font-style:normal;font-size:11px;font-weight:600}
.fd-lead{margin:-4px 2px 12px;font-size:13.5px;line-height:1.5;color:#b9d0e6}
.fd-lead b{color:#fff;font-weight:600}
.fd-grp{display:flex;align-items:center;gap:6px;margin:0;padding:12px 14px 4px;border-top:1px solid #ffffff0d;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#9ccbee}
.fd-grp:first-child{border-top:0}
.fd-grp small{font-size:11px;letter-spacing:0;color:#7f9fbe}
.fd-grp.warm{color:#ffb3b3}.fd-grp.today{color:#ffd39a}
.fd-row .mk-ag-t small{display:flex;align-items:center;gap:6px}
.fd-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--c,#5fb0ff)}
.fd-row.task .mk-when small{font-size:13px}
.fd-chev{flex:none;margin-right:14px;color:#5f86ad}
.mk-page .fd-chev svg.icon{width:16px;height:16px}
.fd-all{display:block;width:100%;margin-top:8px;padding:12px;border:0;border-radius:14px;background:none;color:#a9cdef;font-size:13px;font-weight:500;text-align:center!important;cursor:pointer}

/* ── Pencereler: görev, tüm görevler, hamle ekle ─────────────── */
.management-dialog:is(.mg-dialog-task,.mg-dialog-tasks,.mg-dialog-move,.mg-dialog-customers) .mg-dialog-content{padding:16px 16px 32px}
.management-dialog.mg-dialog-task{--sat-mid:color-mix(in srgb,var(--c,#5fb0ff) 50%,#0b2340);--sat-low:color-mix(in srgb,var(--c,#5fb0ff) 24%,#071b36);--sat-pill:color-mix(in srgb,var(--c,#5fb0ff) 80%,#fff)}
.management-dialog.mg-dialog-task .mg-dialog-header{background:linear-gradient(115deg,var(--sat-low),var(--sat-mid) 55%,var(--sat-low));border-bottom-color:#ffffff22}
.management-dialog.mg-dialog-task .mg-dialog-header .mg-eyebrow{display:inline-flex;margin:0 0 6px;padding:3px 9px;border-radius:20px;background:var(--sat-pill);color:#0f2e52;font-size:11px;font-weight:600;letter-spacing:0;text-transform:none}
.management-dialog.mg-dialog-task :is(.mg-close,.mg-nav-back){background:#ffffff2a;border-color:#ffffff33;color:#fff}
.fd-st{display:inline-block;margin-right:8px;padding:3px 9px;border-radius:8px;font-size:12px;font-weight:600;background:#4aa8ff26;color:#bfe0ff;white-space:nowrap}
.fd-st.overdue{background:#ff6b6b2e;color:#ffb3b3}.fd-st.today{background:#f0b56a2e;color:#ffd39a}.fd-st.later{background:#ffffff10;color:#a6c6e2}
.fd-state{margin:0;font-size:13.5px;line-height:1.7;color:#cfe2f3}
.fd-goal-p{margin:-6px 0 0;font-size:14px;line-height:1.55;color:#b9d0e6}
.fd-block{display:flex;flex-direction:column;gap:10px}
.fd-block h4{display:flex;justify-content:space-between;align-items:baseline}
.fd-block h4 small{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink-3,#8fb6d8)}
.fd-checks,.fd-list,.fd-hist{display:flex;flex-direction:column;margin:0;padding:0;list-style:none;border-radius:16px;background:#ffffff08;border:1px solid #ffffff14;overflow:hidden}
.fd-chk{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border:0;border-top:1px solid #ffffff0d;background:none;font-size:14px;text-align:left;cursor:pointer}
.fd-chk:first-child{border-top:0}
.fd-chk i{flex:none;width:24px;height:24px;border-radius:8px;display:grid;place-items:center;border:1.5px solid #ffffff40;color:transparent}
.fd-chk[aria-pressed=true] i{background:#7ce7c4;border-color:#7ce7c4;color:#06223f}
.lc .fd-chk svg.icon{width:15px;height:15px}
.fd-photos{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fd-thumb{position:relative;width:62px;height:62px;border-radius:12px;overflow:hidden;background:#ffffff10}
.fd-thumb img{width:100%;height:100%;object-fit:cover}
.fd-thumb button{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;padding:0;border:0;background:#06223fcc;color:#fff;cursor:pointer}
.lc .fd-thumb svg.icon{width:12px;height:12px}
.fd-photo-add{cursor:pointer}
.fd-go{min-height:48px;font-size:14.5px}
.fd-acts{display:grid;grid-template-columns:1fr 1.5fr;gap:8px;margin-top:-6px}
.fd-acts .lc-btn{min-height:48px}
.fd-acts .lc-btn:disabled{opacity:.45}
.fd-send-hint{margin:0;font-size:12.5px;color:#8fb6d8}
.fd-send-hint.ok{color:#a8e6d0}
.fd-draft-line{display:flex;align-items:center;gap:6px;margin:-6px 0 0;font-size:12.5px;color:#cfe3f6}
.lc .fd-draft-line svg.icon{width:14px;height:14px}
.fd-snz{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:-6px}
.fd-snz .lc-btn{padding:0 6px;font-size:12.5px}
.fd-hist li{display:flex;gap:12px;padding:10px 14px;border-top:1px solid #ffffff0d;font-size:13px;color:#b9d0e6}
.fd-hist li:first-child{border-top:0}
.fd-hist b{flex:none;width:54px;color:#fff;font-weight:600}
.fd-li{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 14px;border:0;border-top:1px solid #ffffff0d;background:none;text-align:left;cursor:pointer}
.fd-li:first-child{border-top:0}
.fd-li.static{cursor:default}
.fd-li span:not(.fd-st):not(.fd-cad){flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.fd-li b{font-size:14px;font-weight:600;color:#fff}
.fd-li b em{margin-left:4px;padding:1px 6px;border-radius:6px;background:#ffd39a22;color:#ffd39a;font-style:normal;font-size:10.5px;font-weight:600}
.fd-li small{font-size:12px;line-height:1.4;color:#a6c6e2}
.fd-cad{flex:none;font-size:12px;color:#8fb0cf;white-space:nowrap}
.fd-chips{display:flex;flex-wrap:wrap;gap:8px}
.fd-chip{min-height:38px;padding:0 12px;border-radius:12px;border:1px solid #b8e8ff33;background:none;font-size:13px;cursor:pointer}
.fd-chip[aria-pressed=true]{background:#e2f0fa;border-color:#e2f0fa;color:#0f2e52;font-weight:600}
.fd-done{align-items:center;padding:18px 4px 8px;text-align:center}
.fd-done-ico{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#7ce7c4;color:#06223f;box-shadow:0 0 0 10px #7ce7c41f}
.lc .fd-done-ico svg.icon{width:30px;height:30px}
.fd-done h3{margin:6px 0 0;font-family:var(--font-display,inherit);font-weight:500;font-size:24px;color:#fff}
.fd-done>p{margin:0;font-size:14px;line-height:1.5;color:#b9d0e6}
.fd-flame{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:#ffffff10;color:#9fc3e6}
.lc .fd-flame svg.icon{width:20px;height:20px}
.fd-done-s{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;background:#ffffff0a;border:1px solid #ffffff14;text-align:left}
.fd-done-s b{display:block;font-size:15px;color:#fff}
.fd-done-s small{font-size:12.5px;color:#a6c6e2}
.fd-done .fd-queue{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#8fb6d8}
.lc .fd-queue svg.icon{width:14px;height:14px}
.fd-done .lc-btn{margin-top:6px}

/* ── Müşteri bilgileri ─────────────────────────────── */
.cu-sum{margin:0 2px;font-size:14px;color:#a6c6e2}
.cu-sum b{color:#fff;font-weight:600}
.cu-list{display:flex;flex-direction:column;gap:10px}
.cu-card{border-radius:18px;background:#ffffff08;border:1px solid #ffffff14;overflow:hidden;transition:background .2s,border-color .2s}
.cu-card.open{background:#0b2a50;border-color:#b8e8ff33}
.cu-head{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 14px;border:0;background:none;text-align:left;cursor:pointer}
.cu-ava{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e2f0fa;color:#0f2e52;font-size:14px;font-weight:700}
.cu-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cu-t b{font-size:15px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cu-t small{font-size:12.5px;color:#a6c6e2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cu-n{flex:none;display:flex;flex-direction:column;align-items:center;min-width:44px;line-height:1}
.cu-n b{font-family:var(--font-display,inherit);font-size:22px;font-weight:500;color:#fff}
.cu-n small{margin-top:3px;font-size:11px;color:#8fb0cf}
.cu-chev{flex:none;color:#6f93b8;transition:transform .25s}
.cu-card.open .cu-chev{transform:rotate(180deg)}
.lc .cu-chev svg.icon{width:16px;height:16px}
.cu-body{display:flex;flex-direction:column;gap:14px;padding:2px 14px 16px;animation:cu-open .3s cubic-bezier(.2,.8,.2,1)}
@keyframes cu-open{from{opacity:0;transform:translateY(-6px)}}
.cu-info{display:grid;grid-template-columns:auto 1fr;gap:9px 16px;margin:0;padding:12px 14px;border-radius:14px;background:#ffffff08}
.cu-info div{display:contents}
.cu-info dt{font-size:12.5px;color:#8fb6d8}
.cu-info dd{margin:0;min-width:0;font-size:14px;color:#eaf4ff;overflow-wrap:anywhere}
.cu-info a{color:#bfe0ff;text-decoration:none;font-weight:600}
.cu-miss{color:#7f9fbe}
.cu-acts{display:flex;flex-wrap:wrap;gap:8px}
.cu-acts .lc-btn{flex:1 1 auto}
.cu-acts .lc-btn.ghost{flex:0 0 auto}
.cu-body h4{display:flex;justify-content:space-between;align-items:baseline;margin-top:4px}
.cu-body h4 small{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:#8fb6d8}
.cu-map{position:relative;height:220px;border-radius:16px;overflow:hidden;background:#ffffff;box-shadow:inset 0 0 0 1px #dde5ee}
.cu-map .maplibregl-canvas{outline:none}
.cu-map-status{position:absolute;inset:auto 10px 10px 10px;z-index:2;margin:0;padding:7px 10px;border-radius:10px;background:#ffffffe6;color:#45627f;font-size:12px;text-align:center}
.cu-map-status[hidden]{display:none}
.cu-map .maplibregl-cooperative-gesture-screen{font-size:13px}
.cu-devs{display:flex;flex-direction:column;border-radius:14px;background:#ffffff08;overflow:hidden}
.cu-dev{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 14px;border:0;border-top:1px solid #ffffff0d;background:none;text-align:left;cursor:pointer}
.cu-dev:first-child{border-top:0}
.cu-dev i{flex:none;width:12px;height:12px;border-radius:50%;background:#0b5fc4;box-shadow:0 0 0 2.5px #fff,0 0 0 7px #2f8ee640}
.cu-dev span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cu-dev b{font-size:14px;font-weight:600;color:#fff}
.cu-dev small{font-size:12px;color:#a6c6e2}
.cu-dev em{flex:none;font-style:normal;font-size:11.5px;color:#8fb0cf}
.cu-pending{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border-radius:12px;background:#ffd39a14;color:#ffd39a;font-size:13px}
.lc .cu-pending svg.icon{width:15px;height:15px}
.cu-form{display:flex;flex-direction:column;gap:12px}
.cu-error{margin:0;font-size:13px;color:#ffb3b3}

.reduce-motion .cu-body{animation:none}
@media(prefers-reduced-motion:reduce){.cu-body{animation:none}}

/* ── Yapılacaklar · Alpha 1.0 (30 Ekim 2026) ───────────────────
   Üst cümle: gecikme kırmızı, bugünkü iş sarı. Satır: başlık + alt satır solda, zaman rozeti sağda (durum rengi), tarih/saat
   rozetin altında soluk; soldaki tarih bloğu kaldırıldı. Üç düzey: 15 px beyaz başlık · 12,5 px soluk alt satır · 11,5 px rozet. */
.fd-lead b.late{color:#ff8f8f}
.fd-lead b.today{color:#ffd39a}
.fd-row .mk-ag-main{gap:12px;padding:13px 8px 13px 16px}
.fd-row .mk-ag-t{flex:1;gap:4px}
.fd-row .mk-ag-t b{font-size:15px;line-height:1.25}
.fd-row .mk-ag-t small{font-size:12.5px;color:#9fbbd6}
.fd-row .mk-ag-t small .fd-dot{width:6px;height:6px}
.fd-due{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.fd-due b{display:inline-block;padding:4px 8px;border-radius:8px;background:#4aa8ff1c;color:#bfe0ff;font-size:11.5px;font-weight:600;line-height:1.15;white-space:nowrap}
.fd-due small{font-size:11px;line-height:1;color:#8fb0cf;white-space:nowrap;font-variant-numeric:tabular-nums}
.fd-due.overdue b{background:#ff6b6b26;color:#ffb3b3}
.fd-due.today b{background:#f0b56a26;color:#ffd39a}
.fd-row .fd-chev{margin-right:12px}
.fd-row.lead .mk-call{width:38px;height:38px;margin-right:12px}
.fd-grp{padding:14px 16px 6px}
