/* V6 — la capture reste dans le panneau, le texte conserve tout son espace. */
.teleprompteur-v6 .prompt-tabs{display:grid;grid-template-columns:1.45fr .85fr .85fr .95fr 1.05fr;margin-inline:9px;gap:0}
.teleprompteur-v6 .prompt-tabs button{font-size:.6rem;min-width:0;padding-inline:3px;white-space:nowrap}
.prompt-camera{display:flex;flex:1;flex-direction:column;gap:11px;overflow-y:auto;padding:18px 14px;min-height:0}
.prompt-camera h2{font-size:.9rem}.prompt-camera>.prompt-note{margin:0}
.prompt-camera-local{color:var(--prompt-accent);font-size:.6rem;white-space:nowrap}
.prompt-camera-live{position:relative;aspect-ratio:16/10;border-radius:9px;overflow:hidden;background:#17141d;border:1px solid var(--prompt-line);flex-shrink:0}
.prompt-camera-live video{width:100%;height:100%;display:block;object-fit:contain;background:#111}
.prompt-camera-live video[hidden]{display:none}.prompt-camera-live .is-preview-mirrored{transform:scaleX(-1)}
.prompt-camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:#b9aebe;text-align:center;padding:16px;font-size:.66rem;line-height:1.7}
.prompt-camera-placeholder svg{width:35px;height:35px;opacity:.65}.prompt-camera-placeholder[hidden]{display:none}
.prompt-camera-format{font-size:.6rem;color:var(--prompt-muted);font-variant-numeric:tabular-nums;margin:0;line-height:1.6}
.prompt-camera-settings{display:grid;gap:10px}.prompt-camera-settings .prompt-settings-grid{gap:8px}.prompt-camera-settings .prompt-field{font-size:.65rem}
.prompt-camera-settings select{max-width:100%;font-size:.67rem;min-height:34px;padding:7px 8px}
.prompt-camera .prompt-check{font-size:.64rem;line-height:1.65;margin:0}
.prompt-mic-check{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-height:22px}.prompt-mic-check meter{width:78px;height:12px;accent-color:#8a6b9d}.prompt-mic-check span{font-size:.59rem;color:var(--prompt-muted)}
.prompt-camera-status{font-size:.65rem;line-height:1.7;font-variant-numeric:tabular-nums;color:var(--prompt-muted);margin:0}.prompt-camera-status[data-recording=true]{color:#ba454f}
.prompt-camera-actions{display:grid;gap:7px}.prompt-camera-actions button{width:100%;min-height:38px;font-size:.69rem}
button.prompt-camera-stop{border-color:#c4626b;color:#b7414b;background:#b9475110}
.prompt-camera-message{border-left:2px solid var(--prompt-accent);background:var(--prompt-soft);padding:9px 10px;font-size:.66rem;line-height:1.8;color:var(--prompt-ink);margin:0;overflow-wrap:anywhere}
.prompt-media-heading{border-top:1px solid var(--prompt-line);padding-top:16px;margin-top:7px;display:grid;gap:7px}.prompt-media-heading h3{font-size:.78rem;font-weight:600;margin:0}.prompt-media-heading span{font-size:.61rem;line-height:1.8;color:var(--prompt-muted)}
.prompt-camera [data-media-sessions]{width:100%;font-size:.7rem;min-height:38px;text-overflow:ellipsis}
.prompt-media-summary{font-size:.61rem;font-variant-numeric:tabular-nums;color:var(--prompt-muted);margin:0;line-height:1.7}
.prompt-media-playback{width:100%;max-height:240px;border-radius:8px;background:#111;min-height:120px}.prompt-media-playback[hidden]{display:none}
.prompt-media-exports{display:grid;grid-template-columns:1fr 1fr;gap:7px}.prompt-media-exports button{min-height:35px;font-size:.66rem}.prompt-media-footer{display:flex;align-items:center;justify-content:space-between;gap:6px}.prompt-media-footer button{font-size:.59rem}
.prompt-media-recovery{border-left:2px solid #c79b67;padding-left:9px}.prompt-camera details{margin-top:3px}.prompt-camera summary{font-size:.68rem}.prompt-camera details p{font-size:.66rem;line-height:1.85;color:var(--prompt-muted);margin:0}
button.prompt-record-stop{position:absolute;right:14px;bottom:135px;z-index:12;background:#6f2632f0;color:#fff;border:1px solid #ea969e;border-radius:7px;padding:7px 11px;min-height:34px;font-size:.65rem;line-height:1.5;font-variant-numeric:tabular-nums;box-shadow:0 3px 16px #0002}
button.prompt-record-stop:hover{background:#8c3542}.commands-hidden button.prompt-record-stop{bottom:auto;top:10px;right:12px}.prompt-record-stop[hidden]{display:none}
.prompt-media-delete-dialog{width:min(440px,calc(100vw - 30px))}.prompt-media-delete-dialog h2{font-size:1rem;line-height:1.7;margin:0}.prompt-media-delete-dialog>p{font-size:.76rem;line-height:1.8;color:var(--prompt-muted);overflow-wrap:anywhere}.prompt-media-delete-dialog [data-media-delete-confirm]{color:#b7414b;border-color:#bb6c76}
@media(max-width:1000px){.prompt-camera{overflow:visible;padding:16px}.teleprompteur-v6 .prompt-tabs button{font-size:.7rem;min-height:48px}.prompt-camera-settings select,.prompt-camera [data-media-sessions]{font-size:16px;min-height:42px}.prompt-camera-live{max-height:280px;aspect-ratio:16/9}.prompt-camera-actions button,.prompt-media-exports button{min-height:44px}.prompt-camera .prompt-check{font-size:.75rem;min-height:36px}.prompt-camera h2{font-size:1rem}.prompt-camera-status{font-size:.75rem}.prompt-mic-check span{font-size:.67rem}.prompt-camera-message{font-size:.75rem}.prompt-media-footer button{font-size:.68rem;min-height:42px}.prompt-camera details p{font-size:.75rem}.prompt-camera summary{font-size:.77rem;min-height:35px}}
@media(max-width:370px){.teleprompteur-v6 .prompt-tabs{margin-inline:5px}.teleprompteur-v6 .prompt-tabs button{font-size:.62rem;padding-inline:2px}.prompt-camera-settings .prompt-field{font-size:.6rem}}
@media(max-height:580px) and (min-width:1001px){button.prompt-record-stop{bottom:127px}}
