/* Live Shift — стили экрана «Живая смена». */
.live-screen .ls-top-bar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap; margin: 8px 0 12px;
}
.live-screen .ls-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.live-screen .role-chip {
    background: var(--surface-2, #f4f4f6); border-radius: 999px;
    padding: 4px 10px; font-size: 13px;
}
.live-screen .ls-cards {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.live-screen .ls-card {
    display: flex; gap: 12px; padding: 12px;
    background: var(--surface, #fff); border: 1px solid var(--border, #e7e7eb);
    border-radius: 12px;
}
.live-screen .ls-photo {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
    background: #f0f0f3; flex-shrink: 0;
}
.live-screen .ls-photo-fallback {
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; color: #777; font-size: 18px;
}
.live-screen .ls-card-body { flex: 1; min-width: 0; }
.live-screen .ls-name { font-weight: 600; font-size: 15px; }
.live-screen .ls-role { color: #777; font-size: 12px; margin-top: 2px; }
.live-screen .ls-meta { color: #555; font-size: 12px; margin-top: 4px; }
.live-screen .ls-badges { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.live-screen .ls-badge {
    font-size: 11px; padding: 3px 8px; border-radius: 999px;
    background: #f0f0f3; color: #555;
}
.live-screen .ls-badge-bc { background: #e8f3ff; color: #1361c4; }
.live-screen .ls-badge-manual { background: #fff5e0; color: #a66700; }
.live-screen .ls-badge-break { background: #fde8f3; color: #b03070; }

.live-screen .ls-timeline {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--surface, #fff); border: 1px solid var(--border, #e7e7eb);
    border-radius: 12px; padding: 8px 4px;
}
.live-screen .ls-timeline-row {
    display: grid; grid-template-columns: 60px 110px 1fr auto;
    align-items: center; gap: 10px; padding: 6px 10px;
    border-bottom: 1px solid var(--border-soft, #f1f1f4);
}
.live-screen .ls-timeline-row:last-child { border-bottom: none; }
.live-screen .ls-tl-time { font-variant-numeric: tabular-nums; color: #666; font-size: 13px; }
.live-screen .ls-tl-kind {
    font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px;
    background: #f0f0f3; color: #555; text-align: center;
}
.live-screen .ls-tl-in { background: #e3f5e3; color: #1f7a1f; }
.live-screen .ls-tl-out { background: #fbe6e6; color: #a01f1f; }
.live-screen .ls-tl-break_start, .live-screen .ls-tl-break_end { background: #fff3d9; color: #9a6500; }
.live-screen .ls-tl-name { font-size: 13px; }
.live-screen .ls-tl-src { font-size: 14px; }

.live-screen .ls-staff-list { display: flex; flex-direction: column; gap: 6px; }
.live-screen .ls-staff-row {
    display: grid; grid-template-columns: 1fr 2fr auto;
    gap: 10px; padding: 10px 12px; border-radius: 10px;
    background: var(--surface, #fff); border: 1px solid var(--border, #e7e7eb);
    align-items: center;
}
.live-screen .ls-staff-row.inactive { opacity: 0.55; }
.live-screen .ls-staff-name { font-size: 14px; }
.live-screen .ls-staff-meta { font-size: 12px; color: #555; display: flex; gap: 10px; flex-wrap: wrap; }
.live-screen .ls-bc-link { color: #1361c4; }
.live-screen .ls-archived { color: #a01f1f; font-style: italic; }

.live-screen .ls-integ {
    background: var(--surface, #fff); border: 1px solid var(--border, #e7e7eb);
    border-radius: 12px; padding: 16px;
}
.live-screen .ls-integ h3 { margin: 16px 0 8px; font-size: 15px; }
.live-screen .ls-integ-status { font-size: 14px; }
.live-screen .ls-status { font-weight: 600; }
.live-screen .ls-status-ok { color: #1f7a1f; }
.live-screen .ls-status-off { color: #888; }
.live-screen .ls-integ-meta { font-size: 13px; color: #555; margin: 6px 0 12px; }
.live-screen .ls-integ-row { display: flex; gap: 8px; align-items: center; }
.live-screen .ls-integ-row input { flex: 1; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border, #e7e7eb); }
.live-screen .ls-integ-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ls-modal-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.ls-modal {
    background: #fff; border-radius: 14px; padding: 20px;
    width: min(420px, 92vw); display: flex; flex-direction: column; gap: 10px;
}
.ls-modal h3 { margin: 0 0 6px; }
.ls-modal label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #555; }
.ls-modal input, .ls-modal select { padding: 8px 10px; border-radius: 8px; border: 1px solid #ddd; font-size: 14px; }
.ls-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
