/* Reji Live — 4K KAYIT (yerel kayit): ust cubuk dugmesi ve "Kişi kayıtları" penceresi.
   Mantik js/reji-director-console.js (YEREL KAYIT bolumu) + js/reji-local-rec.js. */

/* ---- Ust cubuk dugmesi: kapali | acik | kayitta | yukleniyor ---- */
.rdc-lrbtn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rdc-lrbtn[hidden] { display: none; }
.rdc-lrbtn__dot {
    width: 8px; height: 8px; border-radius: 50%; flex: none;
    box-shadow: inset 0 0 0 1.5px currentColor; opacity: .7;
}
.rdc-lrbtn.is-on { color: var(--rdc-accent); border-color: color-mix(in oklab, var(--rdc-accent) 40%, transparent); }
.rdc-lrbtn.is-on .rdc-lrbtn__dot { background: currentColor; box-shadow: none; opacity: 1; }
.rdc-lrbtn.is-rec { color: var(--rdc-live); border-color: color-mix(in oklab, var(--rdc-live) 45%, transparent); }
.rdc-lrbtn.is-rec .rdc-lrbtn__dot { background: var(--rdc-live); box-shadow: none; opacity: 1; animation: rdcLrPulse 1.6s infinite; }
.rdc-lrbtn.is-up { color: var(--rdc-text); }
.rdc-lrbtn.is-up .rdc-lrbtn__dot {
    box-shadow: none; opacity: 1; border: 2px solid var(--rdc-stroke-hi); border-top-color: var(--rdc-accent);
    width: 10px; height: 10px; box-sizing: border-box; animation: rdcSpin .9s linear infinite;
}
.rdc-lrbtn.is-busy { opacity: .6; pointer-events: none; }
@keyframes rdcLrPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
    .rdc-lrbtn.is-rec .rdc-lrbtn__dot, .rdc-lrbtn.is-up .rdc-lrbtn__dot { animation: none; }
}

/* Telefonda (StudioTopBarFitTests): yalnizca durum noktasi kalir, yazi ekran okuyucuda.
   Kucuk telefonda kayit ya da yukleme yokken dugme cubuktan cikar (ana eyleme yer). */
@media (max-width: 760px) {
    .rdc-top .rdc-lrbtn { position: relative; width: 34px; height: 34px; padding: 0; justify-content: center; flex: none; }
    #rdcLrLabel {
        position: absolute; width: 1px; height: 1px; overflow: hidden;
        clip-path: inset(50%); white-space: nowrap;
    }
}
@media (max-width: 480px) {
    .rdc-top .rdc-lrbtn:not(.is-rec):not(.is-up) { display: none; }
}

/* ---- Kisi kayitlari penceresi (sagdan cekmece, kayit oynaticisiyla ayni kabuk) ---- */
.rdc-lrl__card { display: flex; flex-direction: column; }
.rdc-lrl__sub { margin: 0; padding: 12px 16px 4px; color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.5; }
.rdc-lrl__list { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 24px; }
.rdc-lrl__list .rdc-empty { color: rgba(255, 255, 255, .55); }
.rdc-lrl__row {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.rdc-lrl__ic {
    width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: color-mix(in oklab, var(--rdc-accent) 16%, transparent); color: var(--rdc-accent); font-size: 13px;
}
.rdc-lrl__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rdc-lrl__tx b { color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdc-lrl__tx small { color: rgba(255, 255, 255, .55); font-size: 12px; padding: 0; display: block; }
.rdc-lrl__dl { flex: none; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.rdc-lrl__wait { flex: none; display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 12px; }
