.video-tech{max-width:1200px;margin:auto;color:#153e52}.vt-toolbar,.vt-playback{display:flex;gap:10px;align-items:end;justify-content:center;flex-wrap:wrap}.video-tech label{display:grid;gap:5px;font-size:13px}.video-tech select{min-height:44px;padding:8px;border:1px solid #a8c6d5;border-radius:8px;background:#fff;color:#153e52}.vt-status{margin:12px 0;padding:12px;background:#e1f1f7;border:1px solid #a4c6d9;border-radius:10px;min-height:45px;color:#153e52}.vt-stage{width:100%;position:relative;background:#12242e;aspect-ratio:16/9;max-height:48vh;border-radius:12px;overflow:hidden}.vt-stage>video{width:100%;height:100%;object-fit:contain}.vt-placeholder{position:absolute;inset:0;display:grid;align-content:center;gap:10px;text-align:center;color:#fff;font-size:24px;pointer-events:none}.vt-placeholder[hidden]{display:none}.vt-placeholder small{font-size:14px;color:#dcecf4}.vt-mode{position:absolute;left:10px;bottom:10px;background:#102a3be8;color:#fff;padding:6px 10px;border-radius:7px;font-size:13px}.vt-live{position:absolute;right:8px;top:8px;max-width:30%;background:#102a3be8;color:white;border-radius:8px;padding:6px;font-size:12px}.vt-live video{display:block;width:100%;max-height:150px}.vt-playback{margin:14px 0}.vt-timeline input{width:100%;min-height:44px;accent-color:#007eaf}.vt-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;margin:8px 0}.vt-notice,.vt-help{font-size:13px;line-height:1.55;color:#355767}.vt-notice{padding:12px;border:1px solid #b7cfda;border-radius:8px;background:#f4fafc}#video-tech:fullscreen{padding:12px;background:#eff7fb;overflow:auto}.video-tech button{min-height:44px}.video-tech button:disabled{opacity:.5;cursor:default}@media(max-width:700px){.vt-toolbar,.vt-playback{gap:7px}.vt-toolbar .btn,.vt-playback .btn{padding:10px 12px;font-size:13px}.vt-stage{max-height:52vh}.vt-live{max-width:40%}.vt-mode{font-size:11px}.vt-meta{font-size:12px}}@media(orientation:landscape) and (max-height:800px){#video-tech:fullscreen .vt-stage{max-height:42vh}.vt-notice,.vt-help{margin:8px 0}}

.vt-stage>[data-vt-screen]{position:absolute;inset:0;opacity:0;pointer-events:none}.vt-stage>[data-vt-screen][data-vt-active="true"]{opacity:1}

/* Keep every button and field on the same baseline. */
.video-tech .vt-toolbar,.video-tech .vt-playback{align-items:center;gap:8px}
.video-tech .vt-toolbar label,.video-tech .vt-playback label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:13px;white-space:nowrap}
.video-tech .vt-toolbar .btn,.video-tech .vt-playback .btn,.video-tech .vt-toolbar select,.video-tech .vt-playback select{height:44px;min-height:44px;box-sizing:border-box;margin:0;padding:8px 13px;line-height:1.2;font-size:13px}
.video-tech select{width:auto;min-width:70px}
#video-tech.vt-expanded,#video-tech:fullscreen{position:fixed;inset:0;z-index:2500;width:100vw;height:100dvh;max-width:none;margin:0;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-sizing:border-box;overflow:hidden;background:#eff7fb}
#video-tech.vt-expanded .video-tech,#video-tech:fullscreen .video-tech{width:100%;height:100%;max-width:1400px;display:grid;grid-template-rows:auto auto minmax(60px,1fr) auto auto auto;gap:7px;margin:0 auto}
#video-tech.vt-expanded .vt-stage,#video-tech:fullscreen .vt-stage{min-height:0;max-height:none;height:100%;width:100%;aspect-ratio:auto}
#video-tech.vt-expanded .vt-status,#video-tech:fullscreen .vt-status{min-height:0;margin:0;padding:8px 10px;font-size:12px;line-height:1.3}
#video-tech.vt-expanded .vt-playback,#video-tech:fullscreen .vt-playback{margin:0}
#video-tech.vt-expanded .vt-timeline,#video-tech:fullscreen .vt-timeline{gap:0;font-size:11px;margin:0}
#video-tech.vt-expanded .vt-timeline input,#video-tech:fullscreen .vt-timeline input{margin:0;min-height:28px;height:28px;padding:0}
#video-tech.vt-expanded .vt-meta,#video-tech:fullscreen .vt-meta{margin:0;font-size:11px;line-height:1.3}
#video-tech.vt-expanded .vt-notice,#video-tech.vt-expanded .vt-help,#video-tech:fullscreen .vt-notice,#video-tech:fullscreen .vt-help{display:none}
#video-tech[data-vt-layout="portrait"] .vt-stage{max-width:min(100%,60vh);justify-self:center}
#video-tech[data-vt-layout="landscape"] .vt-stage{max-width:100%;justify-self:stretch}
@media(max-width:700px){.video-tech .vt-toolbar,.video-tech .vt-playback{gap:6px}.video-tech .vt-toolbar .btn,.video-tech .vt-playback .btn,.video-tech .vt-toolbar select,.video-tech .vt-playback select{padding:7px 10px}.video-tech .vt-toolbar label,.video-tech .vt-playback label{font-size:12px;gap:5px}}
@media(max-height:500px) and (orientation:landscape){#video-tech.vt-expanded .video-tech,#video-tech:fullscreen .video-tech{gap:3px}.video-tech .vt-toolbar .btn,.video-tech .vt-playback .btn,.video-tech .vt-toolbar select,.video-tech .vt-playback select{height:38px;min-height:38px}#video-tech.vt-expanded .vt-status,#video-tech:fullscreen .vt-status{padding:4px 8px}.vt-live{font-size:10px}}

.video-tech .vt-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;padding:8px!important;flex-shrink:0}
.video-tech .vt-icon svg,.video-tech .vt-clear svg,.video-tech .vt-follow svg{width:23px;height:23px;flex-shrink:0}
.video-tech .vt-camera-on{background:#138357;color:#fff;border-color:#0c6c46}.video-tech .vt-camera-off{background:#b13d4b;color:#fff;border-color:#92313d}
.video-tech .vt-clear,.video-tech .vt-follow{display:inline-flex;gap:6px;align-items:center;justify-content:center}
.video-tech [data-vt-camera]{max-width:180px;min-width:85px;overflow:hidden;text-overflow:ellipsis}
.video-tech [data-vt-speed]{min-width:72px}
@media(max-width:700px){.video-tech .vt-clear span{display:none}.video-tech .vt-clear{width:44px;min-width:44px;padding:8px!important}.video-tech [data-vt-camera]{max-width:140px}.vt-live{max-width:32%;font-size:10px}}
@media(max-width:480px){.video-tech .vt-toolbar{gap:6px}.video-tech .vt-delay>span,.video-tech .vt-speed>span{display:none}.video-tech .vt-icon,.video-tech .vt-clear{width:40px;min-width:40px}.video-tech .vt-toolbar [data-vt-camera]{max-width:124px;min-width:75px}.video-tech .vt-playback{display:grid;grid-template-columns:40px minmax(60px,1fr) 40px 72px 40px;gap:5px}.video-tech .vt-playback .btn{padding:6px;font-size:12px;min-width:0}.video-tech .vt-speed select{width:72px;padding:5px}.video-tech .vt-follow span{display:none}.video-tech .vt-follow{width:40px}.vt-mode{max-width:calc(100% - 16px);font-size:10px}.vt-meta{gap:3px;font-size:10px}#video-tech.vt-expanded .vt-meta,#video-tech:fullscreen .vt-meta{font-size:10px}}

.vt-library-dialog{width:min(94vw,680px);max-height:88dvh;padding:18px;border:1px solid #a6c5d4;border-radius:12px;color:#153e52;background:#f6fbfd;overflow:auto}.vt-library-dialog::backdrop{background:#0d263b9c}.vt-library-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.vt-library-header h2{margin:0;font-size:21px}.vt-library-dialog form{display:grid;gap:14px}.vt-library-dialog input{box-sizing:border-box;width:100%;min-height:44px}.vt-library-error{color:#a12a3d;white-space:normal}.vt-library-list{display:grid;gap:10px}.vt-library-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #c9dde6}.vt-library-row>span{flex:1;min-width:150px;overflow-wrap:anywhere}.vt-library-dialog .btn{min-height:44px;font-size:13px}.vt-library-dialog p{font-size:14px;color:inherit}
