/* v6.0 – Yedekler, geri yükleme önizlemesi ve çöp kutusu */
.v6y { display: flex; flex-direction: column; gap: 12px; }
.bk-hero { --lv: var(--green); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 16px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.bk-hero::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--lv); }
.bk-hero.lv-warn { --lv: var(--amber); } .bk-hero.lv-err { --lv: var(--red); }
.bk-hero-top { display: flex; gap: 12px; align-items: center; }
.bk-shield { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--lv); background: color-mix(in srgb, var(--lv) 14%, transparent); }
.bk-shield .ic { width: 26px; height: 26px; }
.bk-hero-txt h3 { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.2px; }
.bk-hero-txt p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.bk-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bk-week .d { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bk-week .d i { width: 100%; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: #fff; font-style: normal; }
.bk-week .d i .ic { width: 15px; height: 15px; }
.bk-week .d.on i { background: var(--green); } .bk-week .d.unv i { background: color-mix(in srgb, var(--green) 45%, var(--surface-3)); } .bk-week .d.bad i { background: var(--red); }
.bk-week .d.miss i { background: repeating-linear-gradient(45deg, var(--surface-3) 0 4px, var(--surface-2) 4px 8px); }
.bk-week .d small { font-size: 11px; color: var(--muted); font-weight: 600; } .bk-week .d.today small { color: var(--ink); font-weight: 800; }
.bk-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-fact { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); font-size: 12px; font-weight: 650; color: var(--ink-2); }
.bk-fact .ic { width: 14px; height: 14px; } .bk-fact.ok { background: var(--green-soft); color: var(--green); } .bk-fact.bad { background: var(--red-soft); color: var(--red); }
.v6-note { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; font-size: 13px; line-height: 1.45; background: var(--surface-2); border: 1px solid var(--line-2); }
.v6-note .ic { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.v6-note.info { background: var(--steel-soft); color: var(--ink); } .v6-note.info .ic { color: var(--steel); }
.v6-note.warn { background: var(--amber-soft); color: var(--ink); border-color: color-mix(in srgb, var(--amber) 30%, transparent); } .v6-note.warn .ic { color: var(--amber); }
.v6-note.err { background: var(--red-soft); color: var(--ink); border-color: color-mix(in srgb, var(--red) 30%, transparent); } .v6-note.err .ic { color: var(--red); }
.v6-hint { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12.5px; margin: 2px 2px 0; } .v6-hint .ic { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.v6-p { margin: 6px 0; line-height: 1.5; } .v6-sub { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.v6y .card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .v6y .card-head h4 { margin: 0; font-size: 15px; }
.v6y .set-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); } .v6y .set-row:last-child { border-bottom: 0; } .v6y .set-row > :first-child { flex: 1; min-width: 0; }
.bk-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.pv-list { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface); }
.pv-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line-2); } .pv-row:last-child { border-bottom: 0; }
.pv-row.bad { background: var(--red-soft); }
.pv-l { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pv-l b { font-size: 13.5px; } .pv-l small { color: var(--muted); font-size: 12px; }
.pv-r { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pv-c { font-size: 11.5px; font-weight: 750; padding: 2px 8px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-c.add { background: var(--green-soft); color: var(--green); } .pv-c.rem { background: var(--red-soft); color: var(--red); } .pv-c.chg { background: var(--amber-soft); color: var(--amber); } .pv-c.same { background: var(--surface-3); color: var(--muted); }
.pv-more { margin-top: 10px; } .pv-more summary { cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--ink-2); padding: 6px 0; list-style: none; }
.pv-more summary::-webkit-details-marker { display: none; } .pv-more summary .ic { width: 15px; height: 15px; transition: transform .2s; } .pv-more[open] summary .ic { transform: rotate(90deg); }
.tr-count { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .pv-more summary .ic { transition: none; } }
/* Çöp kutusu */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tr-intro { display: flex; gap: 12px; align-items: flex-start; } .tr-intro p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.tr-tools { display: flex; gap: 8px; align-items: center; }
.tr-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 12px; color: var(--muted); }
.tr-search:focus-within { border-color: var(--accent); }
.tr-search .ic { width: 18px; height: 18px; flex: none; }
.tr-search input { border: 0; outline: none; background: transparent; color: var(--ink); flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 11px 0; }
#trSel.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tr-bar { position: sticky; bottom: calc(var(--tabbar-h, 64px) + var(--safe-b, 0px) + 10px); z-index: 5; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-3); border: 1px solid var(--line-2); font-weight: 700; }
@media (min-width: 1024px) { .tr-bar { bottom: 20px; } }
/* Dosyadan geri yükleme */
.bk-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.bk-drop:hover, .bk-drop:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.bk-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bk-drop > .ic { width: 26px; height: 26px; color: var(--accent); flex: none; }
.bk-drop span { display: flex; flex-direction: column; min-width: 0; } .bk-drop b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bk-drop small { color: var(--muted); font-size: 12px; }
.v6y .card-head h3 { margin: 0; font-size: 15.5px; font-weight: 750; }
/* Saklama ayarları */
.bk-pol summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.bk-pol summary::-webkit-details-marker { display: none; }
.bk-pol summary > span { flex: 1; display: flex; flex-direction: column; min-width: 0; } .bk-pol summary small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.bk-pol summary > .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; } .bk-pol[open] summary > .ic { transform: rotate(180deg); }
.bk-pol[open] summary { margin-bottom: 8px; }
.v6y .set-row > span:first-child { display: flex; flex-direction: column; } .v6y .set-row small { color: var(--muted); font-size: 12px; }
.bk-keep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; } .bk-keep .field small { color: var(--muted); font-size: 11.5px; }
/* Veritabanı sağlığı */
.hc-sum { --lv: var(--green); display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 16px; position: relative; overflow: hidden; }
.hc-sum::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--lv); }
.hc-sum.lv-warn { --lv: var(--amber); } .hc-sum.lv-err { --lv: var(--red); }
.hc-sum > div { flex: 1; min-width: 0; } .hc-sum h3 { margin: 0; font-size: 17px; font-weight: 750; } .hc-sum p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--amber); } .hc-dot.err { background: var(--red); } .hc-dot.info { background: var(--steel); }
.hc-n { font-weight: 800; font-variant-numeric: tabular-nums; } .hc-n.err { color: var(--red); } .hc-n.warn { color: var(--amber); }
.hc-help { white-space: normal !important; }
.hc-ok { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; } .hc-ok li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); } .hc-ok .ic { width: 15px; height: 15px; color: var(--green); flex: none; }
.hc-tables { display: flex; flex-direction: column; gap: 9px; }
.hc-t { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.hc-tl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.hc-bar { height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; } .hc-bar i { display: block; height: 100%; border-radius: 6px; background: var(--steel); }
.hc-tv { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; } .hc-tv small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
