#video [hidden] { display: none !important; }
.video-workspace { max-width: 900px; }
.video-modes { margin-bottom: 20px; }
.video-form-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#video .video-form-heading h2 { margin:0; }
.video-form-heading > span { flex:none; font:500 .86rem/1.6 'DM Mono',monospace; color:#c7cebf; }
.video-intro { margin:6px 0 24px; color:#bfc3bd; font-size:1rem; }
.video-media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.video-field { min-width:0; }
.video-field label, .video-field > strong { display:block; font-size:.96rem; margin-bottom:8px; }
.video-field .identity-photo-zone { position:relative; min-height:174px; aspect-ratio:1.5; padding:0; color:inherit; }
.video-field input.video-file-input { position:absolute; inset:0; z-index:1; width:100%; height:100%; margin:0; padding:0; border:0; opacity:0; cursor:pointer; }
.video-field input.video-file-input::file-selector-button { width:100%; height:100%; margin:0; }
.video-field input.video-file-input:disabled { cursor:default; }
.video-field .identity-photo-remove { z-index:2; }
.video-field .identity-photo-frame:focus-within > .identity-photo-zone { outline:3px solid #cbfb48; outline-offset:4px; }
.video-field .identity-photo-zone :is(img,video) { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#101311; }
.video-field .identity-photo-empty { gap:6px; }
.video-field .identity-photo-empty > span { width:41px; height:41px; font-size:26px; margin-bottom:3px; }
.video-field .video-file-name { display:block; margin-top:7px; overflow-wrap:anywhere; color:#bac2b4; font-size:.84rem; }
.video-field .video-file-name:empty { display:none; }
.video-file-status { display:block; margin-top:7px; color:#f1d6b3; font-size:.88rem; overflow-wrap:anywhere; }
.video-file-status:empty { display:none; }
.video-field .video-library-source { display:flex; align-items:center; gap:10px; margin:10px 0 0; color:#c3c8bd; font-weight:600; font-size:.85rem; }
.video-library-source select { width:auto; max-width:100%; padding:.4rem 2rem .4rem .6rem; }
#video-text-field { margin:22px 0 0; }
.video-help { margin:0 0 18px; border:1px solid #3d4538; border-radius:9px; color:#d3d8ce; }
.video-help summary { padding:10px 13px; color:#e4edda; cursor:pointer; font-weight:650; }
.video-help ol { margin:0; padding:0 16px 12px 36px; font-size:.9rem; line-height:1.5; }
.video-help li+li { margin-top:5px; }
.video-link { margin:0 0 18px; }
.video-link-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:stretch; }
.video-link-actions input { flex:1 1 220px; }
#video-import-status, #video-frame-status { margin:8px 0 0; color:#d3d8ce; font-size:.9rem; overflow-wrap:anywhere; }
#video-import-status:empty, #video-frame-status:empty { display:none; }
.video-import-recovery { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin-top:10px; }
.video-import-download { display:inline-block; margin-top:4px; }
.video-frame-tools { margin:0 0 18px; padding:14px; border:1px solid #3d4538; border-radius:9px; }
#video-frame-title { margin:0; font-size:1rem; }
#video-frame-help { margin:5px 0 12px; color:#c3c8bd; font-size:.9rem; }
.video-frame-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; }
.video-frame-actions label { font-weight:600; font-size:.9rem; }
#video-frame-identity { width:auto; max-width:100%; }
#video-prompt { min-height:92px; }
.video-prompt-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:10px; }
#video-prompt-status { color:#c1c6ba; font-size:.9rem; overflow-wrap:anywhere; }
.video-duration-options { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:18px; }
.video-duration-options strong { margin-right:4px; font-size:.96rem; }
#video .video-duration-options .btn[aria-pressed="true"] { background:#c9ff46; border-color:#c9ff46; color:#101311; }
#video .video-rights { margin:22px 0 14px; }
.video-readiness { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; margin-bottom:13px; color:#c1c6ba; font-size:.9rem; }
.video-submit { min-height:48px; }
#video-activity { color:#e6eadd; font-size:.96rem; margin-top:14px; overflow-wrap:anywhere; }
#video-activity:empty { display:none; }
#video-resume { margin-top:.65rem; }
.video-output video { width:min(100%,420px); max-height:70vh; display:block; background:#0c0e0d; border-radius:10px; margin-bottom:16px; }
.video-playback-speed { display:flex; align-items:center; gap:12px; width:min(100%,420px); margin-bottom:16px; }
#video-speed { flex:1; min-width:0; padding:0; accent-color:#c9ff46; }
#video-speed-value { min-width:4ch; text-align:right; font-variant-numeric:tabular-nums; }
#video-export-status { margin:12px 0 0; color:#c1c6ba; font-size:.9rem; }
@media(max-width:630px){.video-media-grid{grid-template-columns:1fr}.video-modes{max-width:100%}.video-field .identity-photo-zone{max-height:230px}.video-submit{width:100%}}

.video-result-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:14px; }
.cleaner-media-types button[aria-pressed="true"] { background:#cbfb48; color:#18210c; }
.cleaner-video-card { max-width:700px; }
.cleaner-video-card .cleaner-dropzone { gap:12px; }
#cleaner-video-filename { overflow-wrap:anywhere; }
#cleaner-video-filename:empty { display:none; }
