*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#0c0f17;color:#f2f3fa;font:14px system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:9px;padding:11px 15px;background:#2b3140;color:#f7f8ff;font-weight:700}button:hover:not(:disabled){filter:brightness(1.13)}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b09cff;outline-offset:2px}[hidden]{display:none!important}.app-layout{display:flex;min-height:100vh}.sidebar{width:250px;flex:0 0 250px;background:#090c13;border-right:1px solid #252b39;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:23px 15px}.logo{font-size:20px;font-weight:800;white-space:nowrap;margin:0 0 42px}.logo b{color:#fb3656;font-size:28px}.logo small{color:#b99cff;border:1px solid #7253bf;border-radius:8px;font-size:11px;margin-left:4px;padding:2px 5px}.sidebar nav{display:grid;gap:8px}.nav{text-align:left;background:none;border:0;padding:14px 13px;color:#c8cfde;font-weight:600}.nav.active{background:#4b287f;color:#fff;border:1px solid #7450c6}.nav span{float:right;background:#6039b8;padding:2px 6px;border-radius:7px}.sidebar-foot{margin-top:auto;padding:13px 7px;border-top:1px solid #2c3444}.sidebar-foot small{color:#8590a7;display:block;margin:12px 0}.sidebar-foot button{width:100%}.content{flex:1;min-width:0;max-width:1600px;margin:0 auto;padding:28px 30px}.topline,.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.topline{margin-bottom:30px}.topline h1{font-size:30px;margin:0}.sub{color:#99a4b8;font-size:12px;line-height:1.5;margin:6px 0 15px}.toolbar{display:flex;align-items:center;gap:15px}.online{color:#2be99a;font-weight:700;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 32px}.stats>div,.panel{background:#171b25;border:1px solid #343d4f;border-radius:13px;padding:21px}.stats small{color:#aab2c7;font-size:11px;letter-spacing:.1em}.stats strong{display:block;font-size:32px;margin-top:10px}.stats>div:first-child strong{color:#22e48c}.heading{margin-bottom:14px}.heading h2{font-size:21px;margin:0}.heading h2 span{color:#96a0b5;font-size:14px}.purple{background:linear-gradient(150deg,#9b5df4,#6627ba)}.ghost{background:#2a3040;border:1px solid #454d61}.stream-list{border:1px solid #303749;border-radius:13px;overflow:hidden}.stream-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:20px;background:#11141d;padding:15px 16px;border-bottom:1px solid #293142}.stream-row:last-child{border-bottom:0}.stream-title{font-size:15px;font-weight:750}.dot{display:inline-block;background:#737b8a;width:10px;height:10px;border-radius:50%;margin-right:10px}.dot.live{background:#19d780;box-shadow:0 0 10px #19d78055}.meta{color:#9ea9bd;font-size:12px;margin:5px 0 0 20px;overflow-wrap:anywhere}.stream-actions{display:flex;align-items:center;gap:9px}.stream-actions button{margin:0;min-height:44px}.primary-action{min-width:145px;font-size:15px}.start{background:#07893d;border:1px solid #1cfa83;color:white}.stop{background:#cf1734;border:1px solid #fd4861;color:white}.secondary-action{min-width:110px;padding:11px 12px}.delete-action{border:1px solid #a6324d;background:transparent;color:#ff778f;min-width:44px}.small-action{min-width:44px;padding:10px}.status-text{color:#8994aa;font-size:10px;margin-left:9px;font-weight:650}.status-text.live{color:#2cdb84}.video-row,.job{background:#131721;border:1px solid #30394b;border-radius:10px;padding:12px 15px;margin:8px 0;display:flex;justify-content:space-between;align-items:center;gap:15px}.video-row strong,.job strong{overflow-wrap:anywhere}.video-row button,.job button{white-space:nowrap}.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.panel h3{margin:0 0 12px}.panel input[type=file]{display:block;margin-bottom:12px;width:100%}label{display:block;color:#d4dcea;margin:12px 0;font-size:13px}label input:not([type=checkbox]),label select{display:block;width:100%;border:1px solid #4b566c;background:#0f131c;color:#fff;border-radius:8px;margin-top:7px;padding:12px;min-height:43px}.checklabel{align-self:center}.checklabel input{accent-color:#885ee2}.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.progress-wrap{display:flex;align-items:center;gap:8px}.progress-track{height:9px;background:#292f40;flex:1;border-radius:9px;overflow:hidden}.progress-fill{height:100%;background:#8758e3;transition:width .15s}.job{display:block}.job .heading{margin-bottom:4px}.job .meta{margin:4px 0}.jobprogress{margin-top:10px}.jobstatus{color:#a5b0c4;font-size:12px}.jobstatus.complete{color:#35dc8d}.jobstatus.error{color:#ff8d9c}dialog.modal{background:#191c26;border:1px solid #41485c;border-radius:17px;color:#fff;width:min(550px,calc(100% - 24px));max-height:88vh;overflow:auto;padding:24px;box-shadow:0 22px 100px #000b}dialog::backdrop{background:#03040bba}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.modal-head h2{margin:0;font-size:22px}.icon-btn{padding:8px 12px;background:transparent;border:1px solid #535c6d}.modal-actions{display:flex;gap:10px;margin-top:24px}.modal-actions button{flex:1}.login-card{max-width:440px;margin:12vh auto;padding:30px;background:#171b25;border:1px solid #374054;border-radius:18px}.login-card .logo{margin-bottom:20px}.login-card button{width:100%}.login-card h2{font-size:20px}.login-card label{margin-bottom:20px}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:60vh;overflow:auto;background:#0d1018;padding:15px;border-radius:9px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:15;max-width:90vw;pointer-events:none}#toast:not(:empty){background:#28476d;border:1px solid #5488c2;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:0 10px 40px #0009}@media(max-width:1100px){.sidebar{width:190px;flex-basis:190px}.content{padding:24px 15px}.stream-row{grid-template-columns:1fr;gap:10px}.stream-actions{flex-wrap:wrap}}@media(max-width:720px){.app-layout{display:block}.sidebar{width:100%;height:auto;position:static;padding:14px;display:block}.sidebar .logo{margin:0 0 12px}.sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.nav{padding:9px}.sidebar-foot{display:none}.content{padding:18px 12px}.stats{grid-template-columns:repeat(2,1fr);gap:9px}.stats>div{padding:13px}.stats strong{font-size:25px}.two-panels,.split{grid-template-columns:1fr}.toolbar{display:none}.topline h1{font-size:25px}.stream-actions{gap:6px}.stream-actions button{min-width:0}.primary-action{flex:1}.secondary-action{flex:1}}
/* Progress for imports whose remote total size is not supplied by Google Drive. */
.progress-track.indeterminate .progress-fill{width:35%;animation:sc-progress-pulse 1.6s ease-in-out infinite;opacity:.8}
@keyframes sc-progress-pulse{0%{transform:translateX(-110%)}100%{transform:translateX(310%)}}
