/* NodaGuard panel sayfaları: kullanıcı paneli (dashboard.html) ve yönetici paneli (admin.html).
   2026-11-20: yalnız TASARIM. Giriş, ödeme ve kayıtlı taramalar henüz bağlı değil; sayfalardaki veriler örnektir.
   Renkler, yazı tipleri ve düğmeler site.css'ten gelir (:root değişkenleri, .btn, .brand, .top); buradaki sınıflar "ap-" önekli.
   Sade dil ilkesi geçerli: önce sonuç sade dille, teknik ad küçük etiket; koyu terminal panosu yok. */

body.ap { background-image: none; }
html.ap-js { scroll-behavior: auto; }   /* bölüm değişince sayfa başına anında dönülür (site.css yumuşak kaydırma açıyor) */

/* logo yazısı: Noda ailesi kuralı (asıl kural story.css'te; panel sayfaları story.css yüklemez) */
.brand span { font-weight: 500; letter-spacing: -.025em; }
.brand b { font-weight: 800; }

.ap-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-i.is-sm { width: 15px; height: 15px; }

/* ── önizleme şeridi (tasarım aşamasında; gerçek veriye geçince kalkar) ── */
.ap-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 7px 16px; background: var(--text); color: #CBD5E1; font-size: 12.5px; font-weight: 600; text-align: center; }
.ap-preview b { padding: 2px 8px; border-radius: 99px; background: var(--cta); color: #fff; font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ap-state { display: inline-flex; padding: 2px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.ap-state button { border: 0; background: none; color: #CBD5E1; font: 600 12px var(--sans); padding: 3px 11px; border-radius: 99px; cursor: pointer; }
.ap-state button.is-on { background: #fff; color: var(--text); }

/* ── üst çubuk ── */
.ap-bar { display: flex; align-items: center; gap: 12px; height: 60px; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.ap-bar .brand { margin-right: auto; }
.ap-role { padding: 3px 9px; border-radius: 99px; border: 1px solid var(--border-strong); font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.ap-credit { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ap-credit i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ap-credit.is-zero i { background: var(--border-strong); }
.ap-me { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ap-ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; font: 700 11.5px var(--sans); flex: none; }

/* ── iskelet: sol menü + içerik ── */
.ap-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); max-width: 1320px; margin: 0 auto; }
.ap-side { position: sticky; top: 61px; align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 22px 12px 18px 20px; }
.ap-menu { display: flex; flex-direction: column; gap: 3px; }
.ap-menu a, .ap-side-foot a, .ap-side-foot button { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; background: none; font: 600 13.5px var(--sans); color: var(--text-2); white-space: nowrap; cursor: pointer; text-align: left; }
.ap-menu a:hover, .ap-side-foot a:hover, .ap-side-foot button:hover { background: var(--bg-2); color: var(--text); }
.ap-menu a.is-on { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.ap-menu a.is-on .ap-i { color: var(--cta); }
.ap-menu a:focus-visible, .ap-side-foot :focus-visible { outline: 2px solid var(--cta); outline-offset: 1px; }
.ap-cnt { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--danger-soft); color: var(--danger); font: 700 11px var(--sans); text-align: center; }
.ap-side-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 3px; padding-top: 12px; border-top: 1px solid var(--border); }
.ap-main { min-width: 0; min-height: calc(100vh - 61px); padding: 30px 32px 90px; border-left: 1px solid var(--border); }
.ap-js .ap-view:not(.is-on) { display: none; }
.ap-view + .ap-view { margin-top: 56px; }          /* kod çalışmazsa bölümler alt alta görünür */
.ap-js .ap-view + .ap-view { margin-top: 0; }

/* ── sayfa başlığı ── */
.ap-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.ap-eyebrow { margin: 0 0 6px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ap-h h1 { margin: 0; font-size: clamp(23px, 2.6vw, 29px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.ap-h p:not(.ap-eyebrow) { margin: 6px 0 0; max-width: 620px; color: var(--muted); font-size: 14px; }
.ap-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-sub { margin: 30px 0 12px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.btn.is-sm { height: 34px; padding: 0 13px; font-size: 12.5px; }
.btn.is-danger { color: var(--danger); border-color: var(--danger-border); background: transparent; }
.btn.is-danger:hover { background: var(--danger-soft); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ── kart ── */
.ap-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.ap-card + .ap-card, .ap-tiles + .ap-card, .ap-card + .ap-tiles, .ap-card + .ap-cols, .ap-cols + .ap-card, .ap-tiles + .ap-cols { margin-top: 16px; }
.ap-card.is-flush { padding: 0; overflow: hidden; }
.ap-card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.ap-card.is-flush .ap-card-h { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.ap-card h2 { margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: -.015em; }
.ap-card h2 + p, .ap-card-h + p { margin: 4px 0 14px; color: var(--muted); font-size: 13.5px; }
.ap-note { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }
.ap-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ap-cols > .ap-card { margin-top: 0; }
.ap-cols.is-wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }

/* ── sayı kutuları ── */
.ap-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; }
.ap-tile { padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.ap-tile-l { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ap-tile-v { display: block; margin-top: 4px; font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ap-tile-n { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }

/* ── etiketler ── */
.ap-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--bg-2); color: var(--text-2); font: 700 11px var(--sans); white-space: nowrap; }
.ap-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ap-tag[data-s="now"] { background: var(--danger-soft); color: #B91C1C; }
.ap-tag[data-s="soon"] { background: var(--warn-soft); color: #B45309; }
.ap-tag[data-s="later"] { background: var(--brand-soft); color: #0369A1; }
.ap-tag[data-s="ok"] { background: var(--ok-soft); color: #047857; }
.ap-tag.is-plain::before { display: none; }
.ap-code { font: 500 11px var(--mono); color: var(--muted); }

/* ── puan kutusu ── */
.ap-score { flex: none; width: 46px; height: 46px; display: grid; place-items: center; align-content: center; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); color: var(--muted); font: 800 16px/1 var(--sans); font-variant-numeric: tabular-nums; }
.ap-score small { margin-top: 3px; font: 700 9.5px/1 var(--mono); opacity: .85; }
.ap-score[data-g="bad"] { color: #B91C1C; background: var(--danger-soft); border-color: var(--danger-border); }
.ap-score[data-g="mid"] { color: #B45309; background: var(--warn-soft); border-color: rgba(217, 119, 6, .3); }
.ap-score[data-g="good"] { color: #047857; background: var(--ok-soft); border-color: var(--ok-border); }

/* ── satır listesi (taramalar) ── */
.ap-rows { list-style: none; margin: 0; padding: 0; }
.ap-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 20px; border-top: 1px solid var(--border); }
.ap-row:first-child { border-top: 0; }
.ap-row-m { flex: 1 1 190px; min-width: 0; }
.ap-row-t { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ap-row-s { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }
.ap-row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-prog { display: block; width: 100%; max-width: 220px; height: 5px; margin-top: 7px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.ap-prog i { display: block; width: 40%; height: 100%; border-radius: 99px; background: var(--cta); animation: apProg 1.6s ease-in-out infinite; }
@keyframes apProg { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* ── yeni tarama ── */
.ap-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.ap-seg button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font: 600 12.5px var(--sans); color: var(--text-2); cursor: pointer; }
.ap-seg button.is-on { border-color: var(--text); background: var(--text); color: #fff; }
.ap-seg button[disabled] { cursor: default; color: var(--muted); background: var(--bg-2); }
.ap-seg small { font: 600 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.ap-new-row { display: flex; flex-wrap: wrap; gap: 8px; }
/* yeni tarama: Website / Android app seçimi ve APK bırakma alanı */
.ap-new-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ap-new-top h2 { margin: 0; }
.ap-seg { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-2); }
.ap-seg button { height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: 600 12.5px var(--sans); cursor: pointer; }
.ap-seg button.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
.ap-seg button:focus-visible { outline: 2px solid var(--cta); outline-offset: 1px; }
.ap-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--border-strong); border-radius: var(--r-md); background: var(--surface-2); color: var(--muted); font-size: 13.5px; }
.ap-drop .btn { height: 44px; }
.ap-drop.is-over { border-color: var(--cta); background: var(--cta-soft); color: var(--text); }
.ap-new-row .ap-input { flex: 1 1 220px; height: 44px; font-size: 15px; }
.ap-new-row .btn { height: 44px; }

/* ── boş durum (yeni hesap) ── */
.ap-empty-card { padding: 44px 24px; text-align: center; }
.ap-empty-card svg.ap-mark { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--text); }
.ap-empty-card h2 { font-size: 20px; }
.ap-empty-card h2 + p { max-width: 430px; margin: 8px auto 20px; color: var(--muted); font-size: 14px; }   /* ".ap-card h2 + p" kuralını ezmesi için aynı seçici gücünde */
.ap-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; padding: 0; list-style: none; counter-reset: s; }
.ap-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--border); border-radius: 99px; font-size: 12.5px; font-weight: 600; color: var(--text-2); counter-increment: s; }
.ap-steps li::before { content: counter(s); width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); font: 700 11px var(--mono); }
body.ap-empty [data-ap-when="full"], body:not(.ap-empty) [data-ap-when="empty"] { display: none !important; }

/* ── rapor ── */
.ap-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ap-back:hover { color: var(--text); }
.ap-rep-h { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-bottom: 18px; }
.ap-ring { position: relative; flex: none; width: 84px; height: 84px; }
.ap-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ap-ring circle { fill: none; stroke-width: 7; }
.ap-ring .is-track { stroke: var(--bg-2); }
.ap-ring .is-val { stroke: var(--danger); stroke-linecap: round; }
.ap-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
.ap-rep-t { flex: 1 1 240px; min-width: 0; }
.ap-rep-t h1 { margin: 0; font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ap-rep-t p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.ap-rep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.ap-finds { padding: 8px; }
.ap-find { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 12px; background: none; font-family: inherit; color: inherit; text-align: left; cursor: pointer; }
.ap-find:hover, .ap-find.is-on { background: var(--surface-2); border-color: var(--border); }
.ap-find:focus-visible { outline: 2px solid var(--cta); outline-offset: -2px; }
.ap-find > span:first-child { flex: 1; min-width: 0; }
.ap-find-t { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.ap-find-s { display: block; margin-top: 2px; font: 500 11px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.ap-detail h2 { font-size: 18px; margin-top: 10px; }
.ap-detail h3 { margin: 18px 0 4px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ap-detail p { margin: 0; font-size: 14px; color: var(--text-2); }
.ap-prompt { margin-top: 8px; padding: 12px 14px; border: 1px dashed var(--border-strong); border-radius: 12px; background: var(--surface-2); }
.ap-prompt p { font-size: 13.5px; }
.ap-prompt .btn { margin-top: 10px; }
.ap-tech { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 12px; font-size: 13px; }
.ap-tech summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.ap-tech p { margin-top: 8px; font: 500 12px/1.6 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }

/* ── paketler ── */
.ap-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ap-plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.ap-plan.is-pick { border-color: var(--cta-border); box-shadow: 0 0 0 3px var(--cta-soft); }
/* ana sayfadaki fiyat düğmesinden gelinen paket */
.ap-plan.is-chosen { border-color: var(--cta); box-shadow: 0 0 0 3px var(--cta-soft), 0 10px 26px -14px var(--cta); }
.ap-plan-n { font-size: 13.5px; font-weight: 700; }
.ap-plan-p { font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.ap-plan-p small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ap-plan-d { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.ap-plan .btn { margin-top: auto; }
.ap-pick { position: absolute; top: -10px; right: 14px; padding: 2px 9px; border-radius: 99px; background: var(--cta); color: #fff; font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ap-balance { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ap-balance-v { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.ap-balance dl { display: grid; grid-template-columns: auto auto; gap: 3px 14px; margin: 0; font-size: 13px; }
.ap-balance dt { color: var(--muted); }
.ap-balance dd { margin: 0; font-weight: 600; }
.ap-balance .btn { margin-left: auto; }

/* ── tablo ── */
.ap-tablewrap { overflow-x: auto; }
.ap-table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 13px; }
.ap-table.is-narrow { min-width: 440px; }
.ap-table th { padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); text-align: left; font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ap-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.ap-table tr:last-child td { border-bottom: 0; }
.ap-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-table td b { font-weight: 700; }
.ap-table td small { display: block; color: var(--muted); font-size: 12px; }
.ap-table .ap-row-acts { display: flex; gap: 6px; justify-content: flex-end; }
.ap-link { border: 0; padding: 0; background: none; font: 600 12.5px var(--sans); color: var(--brand); cursor: pointer; white-space: nowrap; }
.ap-link:hover { text-decoration: underline; }
.ap-link.is-danger { color: var(--danger); }
.ap-nores { padding: 22px 20px; color: var(--muted); font-size: 13.5px; text-align: center; }

/* ── form ── */
.ap-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; }
.ap-form > .btn { justify-self: start; }
.ap-fld { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); min-width: 0; }
.ap-input { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface); font: 500 14px var(--sans); color: var(--text); }
.ap-input:focus-visible { outline: 2px solid var(--cta); outline-offset: 1px; border-color: var(--cta); }
.ap-input[readonly] { background: var(--bg-2); color: var(--text-2); }
.ap-search { position: relative; flex: 1 1 220px; max-width: 320px; }
.ap-search .ap-i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.ap-search .ap-input { height: 36px; padding-left: 34px; font-size: 13.5px; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-chips button { height: 30px; padding: 0 12px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font: 600 12.5px var(--sans); color: var(--text-2); cursor: pointer; }
.ap-chips button.is-on { border-color: var(--text); background: var(--text); color: #fff; }
.ap-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); cursor: pointer; }
.ap-switch:first-of-type { border-top: 0; padding-top: 2px; }
.ap-switch:last-of-type { padding-bottom: 2px; }
.ap-switch b { display: block; font-size: 14px; font-weight: 700; }
.ap-switch small { display: block; font-size: 12.5px; color: var(--muted); }
.ap-switch input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 38px; height: 22px; margin: 0; border-radius: 99px; background: var(--border-strong); cursor: pointer; transition: background-color .15s ease; }
.ap-switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .3); transition: transform .15s ease; }
.ap-switch input:checked { background: var(--ok); }
.ap-switch input:checked::after { transform: translateX(16px); }
.ap-switch input:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.ap-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.ap-line:first-of-type { border-top: 0; padding-top: 2px; }
.ap-line:last-of-type { padding-bottom: 2px; }
.ap-line b { display: block; font-size: 14px; font-weight: 700; }
.ap-line small { display: block; font-size: 12.5px; color: var(--muted); }
.ap-card.is-danger { border-color: var(--danger-border); }

/* ── grafik: tek seri, günlük tarama (çubuklar ince, üstü 4 px yuvarlak, renk tek ton) ── */
.ap-chart { position: relative; padding-left: 30px; }
.ap-bars { position: relative; display: flex; align-items: flex-end; height: 168px; border-bottom: 1px solid var(--border-strong); background: linear-gradient(var(--border), var(--border)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--border), var(--border)) 0 50% / 100% 1px no-repeat; }
.ap-barc { flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 0 1px; border: 0; background: none; cursor: default; }
.ap-barc i { display: block; width: min(18px, 72%); min-height: 2px; border-radius: 4px 4px 0 0; background: var(--brand); }
.ap-barc:hover, .ap-barc:focus-visible { background: rgba(15, 23, 42, .045); outline: none; }
.ap-barc:hover i, .ap-barc:focus-visible i { background: #075985; }
.ap-yl { position: absolute; left: 0; width: 24px; text-align: right; font: 500 10.5px var(--mono); color: var(--muted); transform: translateY(-50%); }
.ap-xl { display: flex; justify-content: space-between; margin-top: 6px; font: 500 10.5px var(--mono); color: var(--muted); }
.ap-xl span { white-space: nowrap; }
.ap-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 8px)); padding: 5px 9px; border-radius: 7px; background: var(--text); color: #fff; font: 600 12px var(--sans); white-space: nowrap; pointer-events: none; }
.ap-hbar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(50px, 1fr) 30px; gap: 10px; align-items: center; padding: 7px 0; font-size: 13px; }
.ap-hbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-hbar i { display: block; height: 8px; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--brand); }
.ap-hbar b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── olay akışı ve durum ── */
.ap-feed { list-style: none; margin: 0; padding: 0; }
.ap-feed li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13px; }
.ap-feed li:first-child { border-top: 0; padding-top: 0; }
.ap-feed time { flex: none; width: 44px; font: 500 11px/1.7 var(--mono); color: var(--muted); }
.ap-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--border-strong); }
.ap-dot[data-s="ok"] { background: var(--ok); }
.ap-dot[data-s="slow"] { background: var(--warn); }
.ap-dot[data-s="down"] { background: var(--danger); }

/* ── giriş / kayıt / şifre sıfırlama (login.html) ── */
.au { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 360px); justify-content: center; align-items: center; gap: 64px; min-height: calc(100vh - 110px); max-width: 1000px; margin: 0 auto; padding: 36px 20px 64px; }
.au-card { padding: 26px; box-shadow: var(--shadow-soft); }
.ap-menu.au-tabs { flex-direction: row; gap: 4px; margin-bottom: 22px; padding: 4px; border-radius: 12px; background: var(--bg-2); }
.au-tabs a { flex: 1; justify-content: center; height: 36px; }
.au-card h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.au-card h1 + p { margin: 6px 0 20px; color: var(--muted); font-size: 14px; }
.au-google { width: 100%; height: 44px; gap: 10px; background: var(--surface); }
.au-google svg { width: 18px; height: 18px; flex: none; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.au-form { display: grid; gap: 14px; }
.au-form .ap-input { height: 44px; }
.au-form .btn { width: 100%; height: 44px; }
.au-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.au-hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.au-link, .au-foot a { color: var(--brand); font-weight: 600; }
.au-link:hover, .au-foot a:hover { text-decoration: underline; }
.au-pass { position: relative; display: block; }
.au-pass .ap-input { padding-right: 62px; }
.au-pass button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 9px; border: 0; border-radius: 7px; background: none; font: 600 12px var(--sans); color: var(--muted); cursor: pointer; }
.au-pass button:hover { background: var(--bg-2); color: var(--text); }
/* kayıt: şifre kuralları ve onay satırı; koşul sağlanınca yeşil onaya döner (app.js) */
.au-rules { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; margin: 2px 0 0; padding: 0; font-size: 12px; font-weight: 500; color: var(--muted); }
.au-rules.is-one { grid-template-columns: minmax(0, 1fr); }
.au-rules li { display: flex; align-items: center; gap: 7px; }
.au-rules li::before { content: ''; flex: none; width: 14px; height: 14px; display: grid; place-items: center; border: 1.5px solid var(--border-strong); border-radius: 50%; color: #fff; font: 800 9px/1 var(--sans); }
.au-rules li.is-ok { color: #047857; }
.au-rules li.is-ok::before { content: '\2713'; border-color: var(--ok); background: var(--ok); }
.ap-err { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--danger); }
.ap-err:empty { display: none; }
.ap-input.is-bad { border-color: var(--danger); }
.au-foot { margin: 18px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.au-legal { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.au-legal a { text-decoration: underline; }
.au-side h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.025em; }
.au-list { list-style: none; display: grid; gap: 16px; margin: 20px 0 0; padding: 0; }
.au-list li { display: flex; align-items: flex-start; gap: 12px; }
.au-list .ap-i { margin-top: 2px; color: var(--ok); stroke-width: 2.4; }
.au-list b { display: block; font-size: 14.5px; font-weight: 700; }
.au-list small { display: block; font-size: 13px; color: var(--muted); }
/* örnek puan: iki skor halkası (sayı ortada, not harfi köşede dolu rozet) */
.au-sample { margin-top: 26px; padding: 16px 18px 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.au-sample-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 12.5px; color: var(--muted); }
.au-ba { display: flex; align-items: flex-start; justify-content: center; gap: 22px; }
.au-sc { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 96px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.au-sc .ap-ring { width: 88px; height: 88px; }
.au-sc .ap-ring circle { stroke-width: 8; }
.au-sc .ap-ring b { font-size: 28px; }
.au-grade { position: absolute; right: -8px; bottom: -4px; width: 32px; height: 32px; display: grid; place-items: center; border: 3px solid var(--surface); border-radius: 50%; color: #fff; font: 800 15px/1 var(--sans); }
.au-sc[data-g="bad"] .is-val { stroke: var(--danger); }
.au-sc[data-g="bad"] .au-grade { background: var(--danger); }
.au-sc[data-g="good"] .is-val { stroke: var(--ok); }
.au-sc[data-g="good"] .au-grade { background: var(--ok); }
.au-arrow { width: 24px; height: 24px; margin-top: 32px; color: var(--border-strong); transform: rotate(180deg); stroke-width: 2.2; }
@media (max-width: 860px) {
  .au { grid-template-columns: minmax(0, 430px); gap: 32px; min-height: 0; padding-top: 24px; }
}
@media (max-width: 560px) {
  .au-card { padding: 20px 18px; }
}

/* ── gerçek hesap (account.js): bekleme, bilgi kutusu, kart içi formlar ── */
.ap-js body.ap-wait .ap-shell, .ap-js body.ap-wait .ap-me, .ap-js body.ap-wait .ap-credit { visibility: hidden; }   /* kim girmiş belli olana kadar örnek ad görünmesin */
.ap-notice { margin: 0 0 18px; padding: 11px 14px; border: 1px solid var(--ok-border); border-radius: 11px; background: var(--ok-soft); color: #065F46; font-size: 13.5px; font-weight: 600; }
.ap-notice[data-s="bad"] { border-color: var(--danger-border); background: var(--danger-soft); color: #991B1B; }
.ap-notice[data-s="warn"] { border-color: rgba(217, 119, 6, .3); background: var(--warn-soft); color: #92400E; }
.ap-notice b { font-weight: 800; overflow-wrap: anywhere; }
.ap-notice .ap-link { margin-left: 4px; color: inherit; text-decoration: underline; font-size: inherit; }
.ap-inline { max-width: 420px; margin: 4px 0 14px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.ap-inline .btn { width: auto; justify-self: start; }
.ap-card > .ap-err { margin-top: 10px; }
@media (max-width: 560px) { .ap-inline .au-rules { grid-template-columns: minmax(0, 1fr); } }

/* ── bildirim ── */
.ap-toast { position: fixed; left: 50%; bottom: 22px; z-index: 60; max-width: calc(100vw - 32px); transform: translate(-50%, 16px); padding: 10px 16px; border-radius: 11px; background: var(--text); color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: 0 16px 40px -14px rgba(15, 23, 42, .5); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.ap-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── dar ekran ── */
@media (max-width: 1100px) {
  .ap-rep, .ap-cols, .ap-cols.is-wide-left { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .ap-shell { display: block; }
  .ap-side { position: sticky; top: 61px; z-index: 30; flex-direction: row; align-items: center; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--nav-bg); backdrop-filter: blur(12px); overflow-x: auto; scrollbar-width: none; }
  .ap-side::-webkit-scrollbar { display: none; }
  .ap-menu { flex-direction: row; }
  .ap-menu a, .ap-side-foot a, .ap-side-foot button { height: 34px; padding: 0 11px; }
  .ap-side-foot { flex-direction: row; margin: 0 0 0 auto; padding: 0 0 0 10px; border-top: 0; border-left: 1px solid var(--border); }
  .ap-cnt { margin-left: 2px; }
  .ap-main { padding: 22px 16px 80px; border-left: 0; }
}
@media (max-width: 560px) {
  .ap-bar { padding: 0 14px; gap: 8px; }
  .ap-me span:not(.ap-ava), .ap-role { display: none; }
  .ap-card { padding: 16px; }
  .ap-row { padding: 14px 16px; }
  .ap-card.is-flush .ap-card-h { padding: 14px 16px; }
  .ap-balance .btn { margin-left: 0; }
  .ap-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ap-tile { padding: 13px 14px; }
  .ap-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ap-tile-v { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-prog i { animation: none; width: 100%; opacity: .5; }
  .ap-toast, .ap-switch input, .ap-switch input::after { transition: none; }
}

/* ── yönetici girişi ve kurulum (admin-login.html) ── */
.au.is-one { grid-template-columns: minmax(0, 430px); }
.nga-step { margin: 0 0 8px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nga-wait { margin: 0; padding: 30px 0; text-align: center; color: var(--muted); font-size: 14px; }
.nga-code { font-family: var(--mono); font-size: 18px; letter-spacing: .18em; }
.nga-code::placeholder { letter-spacing: .18em; color: var(--border-strong); }
.nga-qr { width: 208px; margin: 0 auto 12px; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.nga-qr svg { display: block; width: 100%; height: auto; }
.nga-manual { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.nga-manual .ap-code { color: var(--text); font-size: 12px; }
.nga-codes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.nga-codes li { font: 600 15px var(--mono); letter-spacing: .06em; text-align: center; }
.nga-acts { display: flex; gap: 8px; margin: 0 0 14px; }
.nga-acts .btn { flex: 1; height: 40px; }
.nga-go { width: 100%; height: 44px; }

/* ── yönetici paneli: işlem pencereleri ve listeler (admin-panel.js) ── */
.nga-dlg { width: min(420px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(15, 23, 42, .22); }
.nga-dlg::backdrop { background: rgba(15, 23, 42, .45); }
.nga-dlg form { display: grid; gap: 14px; }
.nga-dlg h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.nga-dlg p { margin: 0; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.nga-dlg .ap-input { height: 44px; }
.nga-dlg-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.nga-dlg-acts .btn { height: 40px; }
.nga-dlg .btn.is-danger { background: var(--danger); box-shadow: none; }
.nga-list { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.nga-list:empty { display: none; }
.ap-table td small { display: block; }
.ap-table td .ap-tag { margin: 3px 4px 0 0; }
.ap-table tr.is-off td:first-child b { color: var(--muted); }
.ap-form > .ap-err { grid-column: 1 / -1; order: 9; }
/* gerçek hesap: tasarım önizleme şeridi (örnek tarama düğmeleri) görünmez */
body.ap-live .ap-preview { display: none; }
/* kredi verme: hazır adet düğmeleri */
.nga-picks { margin: 2px 0 4px; }
.nga-picks button { min-width: 44px; height: 34px; font-size: 13.5px; }
.nga-mailnote { font-size: 12.5px !important; color: var(--muted) !important; }
/* ── kullanıcı paneli: iki adımlı doğrulama kartı (QR ve yedek kod stilleri yönetici kurulumuyla ortak: .nga-qr, .nga-codes) ── */
.tf-step { margin: 0; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tf-text { margin: 0; font-size: 13.5px; color: var(--text-2); }
.tf-acts { display: flex; gap: 8px; }
.au-form .tf-acts .btn { width: auto; flex: 1; }
.ap-inline .nga-qr { margin: 2px auto 0; }
.ap-inline .nga-manual { margin: 0; }
.ap-inline[data-twofa="codes"] { display: grid; gap: 12px; }
.ap-inline[data-twofa="codes"][hidden] { display: none; }
.ap-inline .nga-codes, .ap-inline .nga-acts { margin: 0; }
.tf-done { height: 44px; }
#twofa > [data-twofa="off"], #twofa > .tf-text { margin-top: 4px; }
/* ── sorun bildirimi formu (kullanıcı paneli) ve yönetici "Bildirimler" kartları ── */
.rp-wide { grid-column: 1 / -1; }
textarea.ap-input.rp-text { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
select.ap-input { cursor: pointer; }
.ap-note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nga-reports { display: grid; gap: 12px; }
.nga-rep.is-done { opacity: .7; }
.nga-rep-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nga-rep-h b { font-size: 14.5px; overflow-wrap: anywhere; }
.nga-rep-h .ap-code { margin-left: auto; }
.nga-rep-msg { margin: 12px 0 14px !important; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); font-size: 14px; line-height: 1.55; color: var(--text) !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.nga-rep-acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* satın alma onayı (önceden işaretli gelmez) */
.ap-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 13.5px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.ap-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cta); cursor: pointer; }
.ap-consent a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ap-consent.is-bad { border-color: var(--danger); background: var(--danger-soft); }
/* kullanıcı paneli: tarama satırındaki düğmeler */
.ap-row .ap-row-acts { display: flex; flex-wrap: wrap; gap: 6px; }
/* taramayı sil: sakin duran, üstüne gelince kırmızıya dönen düğme + onay penceresindeki kırmızı düğme */
.btn.ap-del { color: var(--muted); }
.btn.ap-del:hover, .btn.ap-del:focus-visible { color: var(--danger); border-color: var(--danger-border); background: var(--danger-soft); }
.btn.btn-primary.is-del { background: var(--danger); border-color: var(--danger); box-shadow: none; }
.btn.btn-primary.is-del:hover { filter: brightness(.93); }
