.videos-page{display:grid;gap:12px}.video-hero{background:linear-gradient(135deg,#0b1d2d,#103b3a);color:#fff;border-radius:14px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:var(--shadow)}.video-hero .eyebrow{font-size:9px;color:#77d5bf;font-weight:800;letter-spacing:.5px}.video-hero h2{margin:3px 0 5px;font-size:20px}.video-hero p{margin:0;color:#b8c8d4;font-size:11px;max-width:650px;line-height:1.7}.hero-status{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.09);padding:10px 12px;border-radius:10px;min-width:190px}.hero-status i{width:9px;height:9px;border-radius:50%;background:#3fd29b;box-shadow:0 0 0 5px rgba(63,210,155,.12)}.hero-status b,.hero-status small{display:block}.hero-status b{font-size:11px}.hero-status small{font-size:9px;color:#93a8b8;margin-top:2px}.video-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.video-stats article{background:#fff;border:1px solid var(--line);border-radius:11px;padding:11px 12px}.video-stats span,.video-stats small{display:block;color:var(--muted);font-size:9px}.video-stats b{display:block;font-size:21px;margin:2px 0}.video-stats .status-word{font-size:15px;color:var(--accent);margin:6px 0}.video-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);gap:10px}.panel-chip,.ratio-badge{font-size:9px;font-weight:800;border-radius:99px;padding:4px 7px;background:var(--accent2);color:var(--accent)}.video-form{display:grid;gap:10px}.video-form label:not(.toggle-line){display:grid;gap:4px}.video-form label>span{font-size:10px;font-weight:700}.video-form select{width:100%;border:1px solid #dfe6ee;border-radius:8px;padding:9px;background:#fff;outline:0}.selected-news{min-height:82px;border:1px solid var(--line);border-radius:10px;background:#f9fbfc;padding:10px}.news-placeholder{height:60px;display:grid;place-items:center;color:var(--muted);font-size:10px}.selected-news h4{margin:0 0 5px;font-size:12px}.selected-news p{margin:0;color:#657286;font-size:10px;line-height:1.6}.selected-news .news-meta{margin-top:6px;display:flex;gap:8px;color:#98a2b0;font-size:9px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.switch-stack{display:grid;gap:6px}.toggle-line{border:1px solid var(--line);border-radius:9px;padding:9px;display:flex;align-items:flex-start;gap:8px;cursor:pointer}.toggle-line input{accent-color:var(--accent);margin-top:2px}.toggle-line b,.toggle-line small{display:block}.toggle-line b{font-size:10px}.toggle-line small{font-size:9px;color:var(--muted);margin-top:2px}.generate-btn{width:100%;padding:10px}.preview-panel{display:flex;flex-direction:column}.video-preview{margin:auto;background:linear-gradient(160deg,#091622,#153a43);color:#fff;border-radius:15px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:14px;box-shadow:0 18px 40px rgba(4,15,25,.16);transition:.25s}.video-preview.short{width:220px;aspect-ratio:9/16}.video-preview.normal{width:100%;max-width:440px;aspect-ratio:16/9}.video-preview:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(29,174,144,.18);left:-70px;top:20%;filter:blur(8px)}.preview-top,.preview-center,.preview-footer{position:relative;z-index:1}.preview-top{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#a9c1cb}.preview-live{background:#cf3535;color:#fff;padding:3px 6px;border-radius:5px;font-weight:800}.preview-center{text-align:center}.preview-icon{width:45px;height:45px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;font-size:15px}.preview-center h4{font-size:15px;line-height:1.5;margin:0 0 8px}.preview-center p{font-size:9px;line-height:1.7;color:#b9c9d1;margin:0}.preview-footer{display:flex;align-items:center;gap:8px;font-size:8px;font-weight:800}.preview-footer div{height:2px;background:#41c7a6;flex:1}.preview-note{font-size:9px;color:var(--muted);text-align:center;line-height:1.6;margin-top:12px}.queue-actions{display:flex;gap:6px}.queue-actions select{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 8px;font-size:10px}.video-queue{display:grid;gap:7px}.video-job{border:1px solid var(--line);border-radius:10px;padding:9px 10px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:9px}.job-thumb{width:46px;height:60px;border-radius:7px;background:linear-gradient(145deg,#0e2635,#176253);display:grid;place-items:center;color:#fff;font-size:14px}.job-main{min-width:0}.job-main h4{margin:0 0 3px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-main p{margin:0;color:var(--muted);font-size:9px}.job-progress{height:4px;background:#edf1f4;border-radius:99px;overflow:hidden;margin-top:7px}.job-progress i{display:block;height:100%;background:var(--accent);border-radius:99px}.job-status{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:9px}.status-dot{width:6px;height:6px;border-radius:50%;background:#c5ccd5}.status-dot.processing{background:#d99934}.status-dot.ready{background:#2eaa7e}.status-dot.published{background:#3488ce}.job-actions{display:flex;gap:5px}.job-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 7px;font-size:9px;cursor:pointer}.job-actions .publish{background:var(--accent);border-color:var(--accent);color:#fff}.empty-queue{padding:32px;text-align:center}.empty-queue b,.empty-queue span{display:block}.empty-queue b{font-size:12px}.empty-queue span{color:var(--muted);font-size:10px;margin-top:3px}@media(max-width:1000px){.video-layout{grid-template-columns:1fr}.video-stats{grid-template-columns:repeat(2,1fr)}.video-preview.short{width:190px}}@media(max-width:760px){.video-hero{align-items:flex-start;flex-direction:column}.hero-status{width:100%}.field-grid{grid-template-columns:1fr}.video-stats{grid-template-columns:1fr 1fr}.video-job{grid-template-columns:40px minmax(0,1fr)}.job-thumb{width:40px;height:52px}.job-actions{grid-column:1/-1;justify-content:flex-end}.queue-actions{width:100%}.queue-actions select{flex:1}}@media(max-width:420px){.video-stats{grid-template-columns:1fr}.video-hero h2{font-size:17px}}

.youtube-auto-panel{margin:16px 0}.youtube-auto-row{display:flex;gap:16px;align-items:center;justify-content:space-between}.youtube-auto-row p{margin:0;line-height:1.8;opacity:.82}.youtube-auto-row .btn{white-space:nowrap}@media(max-width:760px){.youtube-auto-row{align-items:stretch;flex-direction:column}}
