/* Grafik ve istatistik karti duzeltmeleri (motion.css'ten sonra yuklenir). */

/* Tum istatistik kartlari ayni duzende: baslik / sayi / aciklama / en altta gorsel.
   Kartlar ayni yukseklikte, gorseller ayni hizada durur. */
.kpis { align-items: stretch; }
.kpi { grid-template-rows: auto auto auto 1fr; align-content: start; }
.kpi .kv { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.kpi .kv b { text-align: left; }
.kpi .kd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kpi .spark, .kpi .kbars, .kpi .kmeter { align-self: end; }
.kpi .kmeter { margin-bottom: 4px; }

/* Performans grafigi: olcumu suren son gun */
.pchart .ln-part { fill: none; stroke: #a78bfa; stroke-width: 2.2; stroke-dasharray: 4 4; opacity: .7; animation: fadeIn .5s ease 1.6s both; }
.pchart .dt.open { stroke: #a78bfa; stroke-width: 1.8; }
.chart-note { margin: 0; font-size: 11.5px; color: var(--text-3); text-align: center; }

/* Rapor grafigi: olcumu suren son gun soluk ve kesikli */
.chart .cb.part i { opacity: .45; background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(255, 255, 255, .18) 4px 8px); }

@media (max-width: 860px) {
  .kpi .kd { white-space: normal; }
}

/* Kucuk cizgi grafik: cizgi uzunluguna dayali animasyon esneyen SVG'de cizgiyi yarim birakiyordu.
   Onun yerine grafik soldan saga acilan bir perdeyle gosterilir; cizgi her zaman tam cizilir. */
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sp-line { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; }
.sp-area { opacity: 1 !important; animation: none !important; }
.kpi .spark { animation: reveal 1.2s cubic-bezier(.4, 0, .2, 1) .35s both; }
.kbars i.zero { opacity: .25; }
