/* WebRTC-only presentation; reuses shared device cards and detail panels. */
.webrtc-preview{padding:12px 16px 16px;display:flex;flex-direction:column;gap:7px}
.webrtc-preview video{display:block;aspect-ratio:16/9;width:100%;max-width:720px;max-height:65vh;object-fit:contain;background:#080e17;border-radius:8px}
.webrtc-preview .device-model{font-size:11px}
.webrtc-camera-link{display:flex;align-items:center;gap:14px;flex:1;min-width:0;color:inherit;text-decoration:none}
.webrtc-camera-link:hover .device-primary strong{color:#91bdff}
.webrtc-camera-link:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}
@media(max-width:760px){.webrtc-camera-link{gap:9px}.webrtc-preview video{max-height:55vh}}

.webrtc-recording-info{padding:0 16px 8px}
.webrtc-recording-hint{padding:0 16px 16px;margin:0}

.webrtc-manual-controls{padding:8px 16px 16px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.webrtc-manual-controls button{min-width:165px}
.webrtc-manual-controls .device-model{font-size:13px}

.webrtc-trigger-list{padding:0 16px 15px;display:grid;gap:7px}
.webrtc-trigger-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.webrtc-trigger-entry button{flex-shrink:0}

/* Recorded clips reuse the existing panel, button and device-text styles. */
.webrtc-archive-content{padding:0 16px 16px}
.webrtc-archive-list{display:grid;gap:8px}
.webrtc-archive-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--border-color,rgba(127,127,127,.2))}
.webrtc-archive-entry strong{display:block;font-size:13px}
.webrtc-archive-entry .device-model{font-size:11px}
.webrtc-archive-entry .integration-actions{display:flex;flex-wrap:wrap;gap:6px}
.webrtc-archive-pages{display:flex;align-items:center;gap:12px;justify-content:center;margin-top:12px}
.webrtc-archive-player{padding-top:16px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.webrtc-archive-player[hidden]{display:none}
.webrtc-archive-player video{display:block;width:100%;max-width:720px;max-height:65vh;aspect-ratio:16/9;object-fit:contain;background:#080e17;border-radius:8px}
