/* Canli PTF grafigi: ana sayfa ve panel ayni bileseni kullanir. */
.ptf {
    --ptf-yuzey: #0F1B2D;
    --ptf-cizgi: #24344C;
    --ptf-seri: #00C2A8;
    --ptf-yazi: #F2F5FA;
    --ptf-soluk: #A9B4C7;
    --ptf-iyi: #6EE7B7;
    --ptf-uyari: #FBBF24;
    background: var(--ptf-yuzey);
    color: var(--ptf-yazi);
    border-radius: 16px;
    padding: 24px;
    min-height: 508px;
    font-family: 'General Sans', system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 30px 60px -24px rgba(15,27,45,.55);
    position: relative;
    overflow: hidden;
}
.ptf-ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ptf-baslik { font-size: 12px; letter-spacing: .06em; color: var(--ptf-soluk); font-weight: 600; }
.ptf-durum { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ptf-iyi); }
.ptf-durum::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ptf-durum.uyari { color: var(--ptf-uyari); }

.ptf-sekmeler { display: inline-flex; gap: 2px; padding: 3px; margin: 16px 0 14px; border-radius: 9px; background: rgba(255,255,255,.06); }
.ptf-sekme {
    appearance: none; border: 0; background: transparent; color: var(--ptf-soluk);
    font: 600 13px 'General Sans', system-ui, sans-serif; padding: 7px 13px; border-radius: 7px; cursor: pointer;
    min-height: 34px; transition: background .15s ease, color .15s ease;
}
.ptf-sekme:hover:not(:disabled) { color: var(--ptf-yazi); }
.ptf-sekme[aria-selected="true"] { background: var(--ptf-seri); color: #04211d; }
.ptf-sekme:disabled { opacity: .4; cursor: not-allowed; }
.ptf-sekme:focus-visible, .ptf-svg:focus-visible, .ptf-tablo summary:focus-visible, .ptf-tekrar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ptf-deger { font-size: 38px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.ptf-deger span { font-size: 15px; font-weight: 500; color: var(--ptf-soluk); margin-left: 7px; letter-spacing: 0; }
.ptf-not { font-size: 13.5px; color: var(--ptf-soluk); margin-top: 5px; min-height: 20px; }

.ptf-cizim { position: relative; margin-top: 12px; height: 176px; }
.ptf-svg { display: block; width: 100%; height: 176px; touch-action: pan-y; cursor: crosshair; border-radius: 6px; }
.ptf-svg text { font: 500 11px 'General Sans', system-ui, sans-serif; fill: var(--ptf-soluk); }
.ptf-svg text.ptf-etiket { fill: var(--ptf-yazi); font-weight: 600; }
.ptf-simdi { animation: ptfNabiz 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ptfNabiz { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .15; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .ptf-simdi { animation: none; } }

.ptf-ipucu {
    position: absolute; top: 0; left: 0; pointer-events: none; white-space: nowrap;
    background: #fff; color: #0F1B2D; border-radius: 8px; padding: 7px 10px; font-size: 12.5px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35); opacity: 0; transition: opacity .1s ease; z-index: 2;
}
.ptf-ipucu.acik { opacity: 1; }
.ptf-ipucu b { display: block; font-size: 14px; }

.ptf-ozet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 14px 0 0; background: var(--ptf-cizgi); border-radius: 10px; overflow: hidden; }
.ptf-ozet div { background: #16253B; padding: 10px 12px; min-width: 0; }
.ptf-ozet dt { font-size: 11.5px; color: var(--ptf-soluk); }
.ptf-ozet dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.ptf-ozet small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ptf-soluk); }

.ptf-alt { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--ptf-soluk); }
.ptf-tablo summary { cursor: pointer; font-weight: 600; color: var(--ptf-yazi); }
.ptf-tablo-kutu { width: 100%; max-height: 220px; overflow: auto; margin-top: 10px; }
.ptf-tablo table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ptf-tablo th, .ptf-tablo td { padding: 5px 8px; text-align: right; border-bottom: 1px solid var(--ptf-cizgi); }
.ptf-tablo th:first-child, .ptf-tablo td:first-child { text-align: left; }
.ptf-tablo th { color: var(--ptf-soluk); font-weight: 600; position: sticky; top: 0; background: var(--ptf-yuzey); }

.ptf-iskelet { display: grid; gap: 14px; }
.ptf-iskelet i { display: block; border-radius: 8px; background: rgba(255,255,255,.07); animation: ptfYukle 1.4s ease-in-out infinite; }
@keyframes ptfYukle { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .ptf-iskelet i { animation: none; } }

.ptf-hata { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; min-height: 420px; }
.ptf-hata strong { font-size: 18px; }
.ptf-hata p { margin: 0; color: var(--ptf-soluk); font-size: 14px; line-height: 1.5; }
.ptf-tekrar { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 8px; padding: 9px 16px; min-height: 40px; font: 600 13.5px 'General Sans', system-ui, sans-serif; cursor: pointer; }
.ptf-tekrar:hover { border-color: var(--ptf-seri); }

@media (max-width: 600px) {
    .ptf { padding: 18px 16px; }
    .ptf-deger { font-size: 32px; }
    .ptf-sekmeler { display: flex; }
    .ptf-sekme { flex: 1; padding: 7px 4px; min-height: 40px; }
    .ptf-ozet dd { font-size: 14.5px; }
    .ptf-ozet div { padding: 9px 8px; }
}
