/* DENETIM-2: kaynak rozetleri, üst bildirim şeridi, geri alma uyarısı, tepsi aracı listesi, okunamayan kayıt satırı. */

/* Kaynak rozeti (liste satırı, Bugün, toplantı ayrıntısı) */
.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 22px; margin-top: 4px; padding: 0 8px; border-radius: 11px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.badge > span { overflow: hidden; text-overflow: ellipsis; }
.badge svg { flex: none; }
.badge--warn { background: var(--danger); color: var(--text); }
.badge--tray { background: var(--bg); border: 1px solid var(--line); color: var(--accent-text); }
.row__text .badge { display: flex; width: fit-content; }

/* Toplantı ayrıntısının üstü */
.mt-source { align-items: flex-start; }
.mt-source svg { flex: none; margin-top: 1px; }
.mt-source__text { margin: 0; min-width: 0; }
.mt-source__text strong { font-weight: 700; }
.mt-source--ok .badge { margin-top: 0; height: 28px; padding: 0 12px; border-radius: 14px; }

/* Üst bildirim şeridi (kabuk) */
.app-banner { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 var(--gutter) 8px; padding: 8px 8px 8px 14px; border-radius: var(--radius); background: var(--danger); font-size: 13px; line-height: 20px; }
.app-banner > svg { flex: none; }
.app-banner__text { flex: 1; min-width: 0; }
.app-banner__close { width: 36px; height: 36px; background: transparent; border-color: transparent; }

/* Kilit ekranında geri alma uyarısı */
.lock-warn { align-items: flex-start; }
.lock-warn > svg { flex: none; margin-top: 1px; }
.lock-warn__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lock-warn__text, .lock-warn__help { margin: 0; }
.lock-warn__text strong { font-weight: 700; }
.lock-warn__help { font-size: 12px; line-height: 18px; color: var(--muted-on-surface); }
.lock-warn__btn { height: 44px; }

/* Ayarlar: tanımlı tepsi araçları */
.st-trays { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-tray { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: var(--radius); background: var(--bg); min-width: 0; }
.st-tray > svg { flex: none; color: var(--accent-text); }
.st-tray__text { flex: 1; min-width: 0; }
.st-tray__name { font-size: 15px; line-height: 20px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-tray__pk { font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 500; user-select: text; }
.st-tray__del { width: auto; flex: none; height: 40px; padding: 0 12px; font-size: 13px; }
.st-tray__del.is-armed { background: var(--danger); border-color: var(--danger); font-weight: 700; }
.st-trays__empty { font-size: 13px; line-height: 20px; }

/* Arama: okunamayan kayıt sayısı */
.sr-skipped { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; line-height: 20px; color: var(--muted-on-surface); }
.sr-skipped svg { flex: none; }

/* Uyarılı kilit ekranı: içerik ekrana sığmazsa üstten başlar ve kayar (logo kesilmesin). */
.lock-body { justify-content: safe center; }
.lock-body--warn { gap: 20px; padding-top: 32px; padding-bottom: 16px; }
.lock-body--warn .lock-brand { flex-direction: row; justify-content: center; gap: 12px; }
