@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');
:root{--primary:#6b50a0;--primary-dark:#4d367d;--primary-soft:rgba(107,80,160,.12);--title:#3d4465;--text:#6e7485;--muted:#9ca3af;--bg:#f9f7fc;--card:#fff;--line:#edf0f2;--sidebar:#24292d;--danger:#ee5a5a;--shadow:0 5px 20px rgba(45,55,72,.06);font-family:Roboto,system-ui,sans-serif;color:var(--text);background:var(--bg);font-size:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.dashboard{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:var(--sidebar);color:#b3b8bd;z-index:30;display:flex;flex-direction:column;box-shadow:4px 0 18px rgba(0,0,0,.08)}.brand{height:78px;display:flex;align-items:center;gap:12px;padding:0 28px;color:#fff;font-size:20px;font-weight:700;border-bottom:1px solid rgba(255,255,255,.06)}.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--primary);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;box-shadow:0 7px 16px rgba(19,180,151,.25)}.side-nav{padding:25px 15px;flex:1}.nav-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#687078;padding:10px 16px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 16px;margin:4px 0;border-radius:8px;font-weight:500;transition:.2s}.nav-item:hover,.nav-item.active{color:#fff;background:var(--primary)}.nav-item.muted{cursor:default}.nav-item.muted:hover{background:transparent;color:#b3b8bd}.nav-icon{font-size:19px;width:22px;text-align:center}.sidebar-footer{margin:18px;padding:16px;background:rgba(255,255,255,.05);border-radius:10px;display:flex;gap:11px;align-items:center}.sidebar-footer div{display:flex;flex-direction:column}.sidebar-footer strong{color:#fff;font-size:12px}.sidebar-footer small{font-size:10px;margin-top:3px}.online-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px rgba(19,180,151,.14)}.app-shell{margin-left:255px;min-height:100vh}.topbar{height:78px;background:#fff;display:flex;align-items:center;padding:0 32px;position:sticky;top:0;z-index:20;box-shadow:0 2px 14px rgba(45,55,72,.04)}.page-heading{flex:1}.page-heading h1{margin:0;color:var(--title);font-size:20px}.page-heading span{font-size:12px;color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:20px}.connection-pill{display:flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid var(--line);border-radius:20px;font-size:12px}.connection-pill .online-dot{background:#aab0b7;box-shadow:none}.connection-pill.connected .online-dot{background:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.user-card{display:flex;align-items:center;gap:9px}.user-card>div{display:flex;flex-direction:column}.user-card strong{font-size:13px;color:var(--title)}.user-card small{text-transform:capitalize;font-size:11px}.avatar{width:37px;height:37px;border-radius:10px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:700}.icon-button,.menu-toggle{border:0;background:transparent;color:#7f8692;font-size:22px}.menu-toggle{display:none;margin-right:14px}.content{padding:28px 32px 40px;max-width:1700px;margin:auto}.breadcrumb{font-size:12px;display:flex;gap:9px;margin-bottom:20px}.breadcrumb b{color:#c4c8ce}.breadcrumb strong{color:var(--primary)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-bottom:24px}.metric-card{background:#fff;border-radius:10px;padding:22px;display:flex;align-items:center;gap:17px;box-shadow:var(--shadow);border:1px solid rgba(0,0,0,.015)}.metric-card>div:last-child{display:flex;flex-direction:column}.metric-card span{font-size:12px}.metric-card strong{font-size:29px;color:var(--title);line-height:1.15;margin:3px 0}.metric-card small{font-size:10px;color:var(--muted)}.metric-icon{width:51px;height:51px;border-radius:12px;display:grid;place-items:center;font-size:20px;font-weight:700}.teal .metric-icon{background:var(--primary-soft);color:var(--primary)}.blue .metric-icon{background:#edf2ff;color:#4f75e8}.red .metric-icon{background:#fff0f0;color:#e85c5c}.amber .metric-icon{background:#fff6e7;color:#e7a02e}.card{background:#fff;border-radius:10px;box-shadow:var(--shadow);margin-bottom:24px}.card-header{min-height:79px;padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.card-header h2{margin:0 0 5px;color:var(--title);font-size:16px}.card-header p{margin:0;font-size:11px;color:var(--muted)}.header-icon{width:36px;height:36px;border-radius:9px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:20px}.job-form{padding:22px 24px 25px;display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:18px;align-items:end}.job-form label,.login-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600;color:#555d72}.span-2{grid-column:span 2}.job-form input,.job-form select,.login-form input{width:100%;height:43px;border:1px solid #e2e5e9;border-radius:7px;background:#fff;color:var(--title);padding:0 12px;outline:none;transition:.2s}.job-form input:focus,.job-form select:focus,.login-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.btn{height:42px;border-radius:7px;border:0;padding:0 16px;font-weight:500;white-space:nowrap}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 6px 13px rgba(19,180,151,.16)}.btn-primary:hover{background:var(--primary-dark)}.btn-light{background:#f4f6f7;color:#69707f}.jobs-header{gap:20px}.table-tools{display:flex;gap:8px;align-items:center}.search{height:42px;width:220px;display:flex;align-items:center;gap:8px;background:#f7f9fa;border-radius:7px;padding:0 12px}.search span{font-size:20px}.search input{border:0;outline:0;background:transparent;min-width:0;width:100%;color:var(--title)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:1020px}th{padding:14px 18px;background:#fbfcfc;color:#9298a6;font-size:10px;text-transform:uppercase;letter-spacing:.5px;font-weight:600;text-align:left}td{padding:15px 18px;border-top:1px solid var(--line);vertical-align:middle;color:#69707f}tbody tr{transition:.15s}tbody tr:hover{background:#fbfdfc}.file-cell{display:flex;align-items:center;gap:11px;min-width:235px}.file-cell>div{display:flex;flex-direction:column;min-width:0}.file-cell strong{color:var(--title);font-size:12px;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-cell small{font-size:9px;color:#afb4bd;margin-top:4px}.file-icon{width:34px;height:34px;flex:0 0 auto;border-radius:8px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:10px}.profile-chip{padding:6px 9px;border-radius:5px;background:#f1f3f5;color:#606778;font-size:10px;font-weight:600}.status{display:inline-flex;padding:6px 9px;border-radius:14px;font-size:10px;font-weight:600;background:#f1f3f5;color:#747b88;white-space:nowrap}.status[data-status="completed"]{background:#e9f9f1;color:#21a35a}.status[data-status="queued"]{background:#edf2ff;color:#5274d8}.status[data-status="transcoding"],.status[data-status="probing"],.status[data-status="preparing"],.status[data-status="verifying"],.status[data-status="delivering"]{background:#fff5e6;color:#d69225}.status[data-status^="failed_"],.status[data-status="cancelled"]{background:#fff0f0;color:#d95454}.progress-cell{min-width:170px}.progress-cell>div{display:flex;align-items:center;gap:9px}.progress-cell small{font-size:9px;color:#aab0ba;text-transform:capitalize}.pct{font-size:10px;color:#68707c;min-width:34px}progress{appearance:none;width:120px;height:6px;border:0;border-radius:5px;overflow:hidden;background:#edf0f2}progress::-webkit-progress-bar{background:#edf0f2}progress::-webkit-progress-value{background:var(--primary);border-radius:5px}progress::-moz-progress-bar{background:var(--primary)}.speed{font-size:11px;font-weight:600;color:#525a6d}.row-actions{display:flex;gap:4px}.row-actions button{width:27px;height:27px;border:1px solid #e5e8eb;background:#fff;border-radius:5px;color:#7d8490;padding:0}.row-actions button:hover{color:var(--primary);border-color:var(--primary)}.row-actions button.danger:hover{color:var(--danger);border-color:var(--danger)}.actions-heading{text-align:center}.card-footer{padding:13px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#a0a6b0;font-size:10px}.empty-row{text-align:center}.menu-backdrop{display:none}
.login-page{min-height:100vh;background:#fff}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}.login-visual{background:linear-gradient(145deg,#20272b,#293238);padding:48px 6vw;color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-visual:after{content:"";position:absolute;width:520px;height:520px;border:100px solid rgba(19,180,151,.11);border-radius:50%;right:-180px;bottom:-220px}.login-brand,.mobile-brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700}.visual-copy{margin:auto 0;max-width:560px;position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#75dcc9}.visual-copy h1{font-size:42px;line-height:1.15;margin:18px 0;color:#fff}.visual-copy p{color:#aeb8bd;font-size:15px;line-height:1.8;max-width:480px}.visual-status{margin-top:35px;display:flex;gap:12px;align-items:center;color:#dce4e5;font-size:12px}.login-form-side{display:grid;place-items:center;padding:40px}.login-form{width:min(390px,100%)}.login-form h2{color:var(--title);font-size:29px;margin:10px 0}.form-lead{color:#979da8;margin:0 0 30px}.teal-text{color:var(--primary)}.login-form label{margin:18px 0}.input-with-icon{position:relative}.input-with-icon span{position:absolute;left:14px;top:12px;color:#9da3ad}.input-with-icon input{padding-left:38px;height:48px}.login-button{width:100%;height:48px;margin-top:8px}.security-note{display:block;text-align:center;margin-top:25px;color:#aab0b8}.mobile-brand{display:none;margin-bottom:50px;color:var(--title)}.error{padding:11px 13px;background:#fff0f0;color:#c94b4b;border-radius:6px;font-size:12px}
@media(max-width:1250px){.metrics{grid-template-columns:repeat(2,1fr)}.job-form{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:.25s}.app-shell{margin-left:0}.menu-toggle{display:block}.menu-open .sidebar{transform:translateX(0)}.menu-open .menu-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:25}.content{padding:22px 18px}.page-heading span,.user-card>div,.connection-pill{display:none}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.mobile-brand{display:flex}.login-form-side{min-height:100vh}}
@media(max-width:650px){.topbar{padding:0 16px}.topbar-actions{gap:8px}.metrics{grid-template-columns:1fr;gap:12px}.job-form{grid-template-columns:1fr}.span-2{grid-column:auto}.jobs-header{align-items:flex-start;flex-direction:column}.table-tools{width:100%;flex-wrap:wrap}.search{width:100%}.card-header{padding:17px}.job-form{padding:17px}.login-form-side{padding:28px}.card-footer{display:none}}

/* Readability scale: keep the compact dashboard layout while avoiding tiny labels. */
.page-heading h1{font-size:22px}.page-heading span,.connection-pill,.metric-card span{font-size:13px}
.sidebar-footer strong,.user-card strong{font-size:14px}.sidebar-footer small,.user-card small,.metric-card small,.card-header p,.job-form label,.login-form label{font-size:12px}
.card-header h2{font-size:18px}.breadcrumb{font-size:13px}th{font-size:11px}td{font-size:14px}
.file-cell strong{font-size:14px}.file-cell small,.progress-cell small,.card-footer{font-size:11px}
.profile-chip,.status,.pct{font-size:12px}.speed{font-size:13px}

.profiles-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.profiles-title h2{margin:0 0 6px;color:var(--title);font-size:22px}.profiles-title p{margin:0;color:var(--muted);font-size:13px}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(270px,1fr));gap:20px;margin-bottom:24px}.profile-card{background:#fff;border-radius:10px;box-shadow:var(--shadow);padding:22px;border:1px solid rgba(0,0,0,.02)}.profile-card-top{display:flex;align-items:center;gap:12px}.profile-card-top>div{min-width:0;flex:1}.profile-card-top h3{margin:0 0 4px;color:var(--title);font-size:16px;overflow:hidden;text-overflow:ellipsis}.profile-card-top span{font-size:11px}.codec-icon{width:46px;height:46px;border-radius:10px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:10px!important;font-weight:700}.profile-state{color:#20a35a;background:#e9f9f1;padding:5px 8px;border-radius:12px;white-space:nowrap}.profile-card dl{display:grid;grid-template-columns:1fr 1fr;margin:20px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.profile-card dl div{padding:11px 12px}.profile-card dl div:nth-child(odd){border-right:1px solid var(--line)}.profile-card dl div:nth-child(-n+2){border-bottom:1px solid var(--line)}.profile-card dt{font-size:10px;color:var(--muted);margin-bottom:3px}.profile-card dd{margin:0;color:var(--title);font-size:12px;font-weight:600}.profile-logo{height:43px;display:flex;align-items:center;gap:10px}.profile-logo>div{display:flex;flex-direction:column}.profile-logo strong{font-size:12px;color:var(--title)}.profile-logo small,.no-logo{font-size:10px;color:var(--muted)}.logo-badge{width:32px;height:32px;border-radius:7px;background:#fff5e6;color:#d69225;display:grid;place-items:center}.profile-actions{display:flex;gap:8px;margin-top:17px;padding-top:17px;border-top:1px solid var(--line)}.profile-actions .btn{flex:1;height:36px}.btn-delete{background:#fff0f0;color:#d95454}.profile-editor[hidden]{display:none}.profile-editor{scroll-margin-top:95px}.editor-close{border:0;background:#f3f5f6;color:#7d8490;width:34px;height:34px;border-radius:7px;font-size:20px}.profile-form{padding:4px 24px 24px}.profile-form fieldset{border:0;border-bottom:1px solid var(--line);padding:20px 0 23px;margin:0}.profile-form legend{color:var(--title);font-size:14px;font-weight:700;padding:0;margin-bottom:17px}.profile-fields{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:17px}.profile-fields label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#555d72}.profile-fields input:not([type=checkbox]),.profile-fields select{height:43px;border:1px solid #e2e5e9;border-radius:7px;padding:0 11px;background:#fff;color:var(--title);outline:none}.profile-fields input:focus,.profile-fields select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.profile-fields input[readonly]{background:#f4f6f7;color:#89909c}.profile-fields input[type=file]{padding:9px}.switch-label{height:43px;display:flex;align-items:center;gap:9px;font-weight:400}.switch-label input{position:absolute;opacity:0}.switch{width:39px;height:22px;border-radius:14px;background:#d7dce0;position:relative;transition:.2s}.switch:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}.switch-label input:checked+.switch{background:var(--primary)}.switch-label input:checked+.switch:after{transform:translateX(17px)}.field-note{font-size:11px;color:var(--muted);margin:14px 0 0}.field-note code{color:var(--primary);background:var(--primary-soft);padding:2px 5px;border-radius:3px}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:22px}
@media(max-width:1250px){.profile-grid{grid-template-columns:repeat(2,1fr)}.profile-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:750px){.profiles-title{align-items:flex-start;gap:16px}.profile-grid{grid-template-columns:1fr}.profile-fields{grid-template-columns:1fr 1fr}.profile-fields .span-2{grid-column:span 2}}
@media(max-width:520px){.profiles-title{flex-direction:column}.profile-fields{grid-template-columns:1fr}.profile-fields .span-2{grid-column:auto}}

.profile-logo{height:auto;min-height:78px;gap:12px}.profile-logo>div.logo-preview{width:112px;height:68px;flex:0 0 112px;border-radius:7px;background:#343a40;display:grid;place-items:center;overflow:hidden;border:1px solid #454c52}.logo-preview img{display:block;max-width:96px;max-height:54px;width:auto;height:auto;object-fit:contain}

.monitor-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(310px,.8fr);gap:22px}.monitor-card,.gpu-card{margin-bottom:24px}.live-badge{display:flex;align-items:center;gap:8px;color:var(--primary);font-size:10px;font-weight:700;letter-spacing:.7px}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:22px 8px}.resource-item{padding:2px 18px;border-right:1px solid var(--line)}.resource-item:last-child{border-right:0}.resource-head,.resource-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.resource-head>span{font-size:12px;color:#60687a;font-weight:600}.resource-head small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:3px}.resource-head strong{font-size:20px;color:var(--title)}.meter{height:7px;background:#edf1f2;border-radius:8px;margin:15px 0 9px;overflow:hidden}.meter i{display:block;height:100%;width:0;background:var(--primary);border-radius:8px;transition:width .4s}.blue-meter i{background:#5274d8}.amber-meter i{background:#e7a02e}.resource-meta{font-size:10px;color:var(--muted)}.resource-meta b{color:#747c8c}.gpu-mark{background:#24292d;color:#75dcc9;border-radius:7px;padding:8px 10px;font-size:10px;font-weight:700;letter-spacing:1px}.gpu-stats{display:grid;grid-template-columns:1fr 1fr;padding:16px 20px 8px;gap:10px}.gpu-stats>div{background:#f8faf9;border-radius:7px;padding:11px 12px;display:flex;flex-direction:column}.gpu-stats span{font-size:9px;color:var(--muted);margin-bottom:5px}.gpu-stats strong{font-size:13px;color:var(--title)}.metric-note{font-size:9px;line-height:1.5;color:var(--muted);margin:8px 20px 17px}.shares-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px 24px 24px}.shares-columns>div:first-child{border-right:1px solid var(--line);padding-right:24px}.shares-columns h3{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:#8e95a2;margin:0 0 12px}.share-list{display:flex;flex-direction:column;gap:9px}.share-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--line);border-radius:8px;padding:11px 12px}.share-row>div{display:flex;flex-direction:column;min-width:0}.share-row strong{font-size:12px;color:var(--title)}.share-row code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#687181;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0}.share-row small{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#fff0f0;color:#d95454}.share-icon.online{background:#e9f9f1;color:#20a35a}.share-icon.destination{background:#edf2ff;color:#5274d8}.share-status{font-size:8px;font-weight:700;letter-spacing:.5px;padding:5px 7px;border-radius:10px;background:#f1f3f5;color:#7d8490}.share-status.ok{background:#e9f9f1;color:#20a35a}.share-status.bad{background:#fff0f0;color:#d95454}.loading-text{font-size:11px;color:var(--muted)}
@media(max-width:1150px){.monitor-grid{grid-template-columns:1fr}.resource-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:750px){.resource-grid{grid-template-columns:1fr;gap:16px}.resource-item{border-right:0;border-bottom:1px solid var(--line);padding:4px 14px 17px}.resource-item:last-child{border-bottom:0}.shares-columns{grid-template-columns:1fr}.shares-columns>div:first-child{border-right:0;border-bottom:1px solid var(--line);padding-right:0;padding-bottom:20px}}
.queue-section td{padding:10px 18px;background:#f4f6f8;color:#747b88;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}.queue-section.active-section td{background:#fff3dd;color:#bd7915}.queue-section.history-section td{background:#f7f8f9;color:#989eaa}.active-job{background:#fffbf3}.active-job:hover{background:#fff7e7}.active-job .file-cell strong{color:#9b6411}
.storage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;padding:20px 24px}.storage-card{border:1px solid var(--line);border-radius:9px;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.storage-card>div{display:flex;flex-direction:column;gap:5px;min-width:0}.storage-card code{overflow:hidden;text-overflow:ellipsis;color:#687181}.storage-card small{grid-column:1/-1;line-height:1.6;color:var(--muted)}.storage-note{margin:0 24px 20px;padding:12px 14px;background:#f7f9fa;border-radius:7px;font-size:11px}.storage-editors{display:grid;grid-template-columns:repeat(auto-fit,minmax(430px,1fr));gap:16px;padding:20px 24px}.storage-editor{border:1px solid var(--line);border-radius:9px;padding:18px;display:flex;flex-direction:column;gap:14px}.storage-editor h3{margin:0;color:var(--title)}.storage-editor label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600}.storage-editor input,.storage-editor select{height:40px;border:1px solid #e2e5e9;border-radius:7px;padding:0 10px;background:#fff}.storage-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.storage-actions{display:flex;align-items:center;justify-content:space-between}@media(max-width:700px){.storage-editors{grid-template-columns:1fr;padding:14px}.storage-fields{grid-template-columns:1fr}}
.storage-card-clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.storage-card-clickable:hover,.storage-card-clickable:focus-visible{border-color:var(--primary);box-shadow:0 5px 16px rgba(19,180,151,.13);transform:translateY(-1px);outline:0}.storage-command-hint{color:var(--primary);font-weight:600}.share-command-modal[hidden]{display:none}.share-command-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:4vh 4vw;background:rgba(16,20,23,.55);backdrop-filter:blur(3px)}.share-command-content{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:10px;box-shadow:0 18px 60px rgba(0,0,0,.3)}.share-command-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--line)}.share-command-header div{display:flex;flex-direction:column;gap:4px;min-width:0}.share-command-header strong{color:var(--title)}.share-command-header small{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted);overflow-wrap:anywhere}.share-command-header button{width:34px;height:34px;border:0;border-radius:7px;background:#f3f5f6;color:#687181;font-size:22px;line-height:1}.share-command-content>p{margin:18px 20px;color:var(--text);font-size:12px;line-height:1.55}.share-command-content>p code{color:var(--primary)}.share-command-content section{padding:0 20px 20px}.share-command-content section>strong{font-size:12px;color:var(--title)}.share-command-content pre{margin:8px 0 0;padding:13px;border-radius:7px;background:#20262b;overflow:auto}.share-command-content pre code{font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#d7dde0;white-space:pre}
.sidebar-metrics{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 18px 10px}.sidebar-metrics .metric-card{min-width:0;padding:8px 9px;border:0;border-radius:7px;background:rgba(255,255,255,.06);box-shadow:none;display:flex;align-items:baseline;justify-content:space-between;gap:6px}.sidebar-metrics .metric-card span{color:#bfc6ca;font-size:10px;white-space:nowrap}.sidebar-metrics .metric-card strong{margin:0;color:#fff;font-size:17px}.sidebar-metrics .metric-link:hover,.sidebar-metrics .metric-link.selected{background:rgba(238,90,90,.18);box-shadow:none;transform:none}.sidebar-system{margin:0 18px 8px;padding:9px 10px;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);display:grid;gap:6px}.sidebar-system>div{display:grid;grid-template-columns:67px auto minmax(0,1fr);gap:6px;align-items:center;font-size:10px}.sidebar-system span{color:#9ea8ad}.sidebar-system strong{color:#fff;font-size:11px}.sidebar-system small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#879198;font-size:9px}.storage-summary{display:flex;align-items:center;gap:6px;max-width:42vw;overflow:hidden}.storage-pill{display:flex;align-items:baseline;gap:5px;padding:6px 8px;border-radius:7px;background:#f4f8f7;color:#69707f;white-space:nowrap;font-size:10px}.storage-pill span{max-width:78px;overflow:hidden;text-overflow:ellipsis}.storage-pill strong{color:var(--title);font-size:11px}.storage-pill.offline{background:#fff0f0;color:#c94b4b}@media(max-width:900px){.sidebar-metrics,.sidebar-system{display:none}.storage-summary{max-width:33vw}}@media(max-width:650px){.storage-summary{display:none}}
.job-form label,.login-form label,.profile-fields label,.storage-editor label{font-size:14px}
.share-disks{display:contents}.resource-grid:has(.disk-resource){grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.disk-resource .resource-head span{min-width:0}.disk-resource .resource-head small{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.queue-footer{align-items:center;gap:16px}.pagination{display:flex;gap:5px}.pagination a{min-width:30px;height:30px;padding:0 8px;border:1px solid var(--line);border-radius:5px;display:grid;place-items:center;font-size:12px;background:#fff}.pagination a.active{background:var(--primary);border-color:var(--primary);color:#fff}.page-size{display:flex;align-items:center;gap:7px;font-size:12px}.page-size select{height:30px;border:1px solid var(--line);border-radius:5px;background:#fff;padding:0 7px}.delete-button{display:inline-grid;place-items:center}.delete-button svg{width:15px;height:15px;fill:currentColor;pointer-events:none}.metric-link{transition:transform .15s,box-shadow .15s,border-color .15s}.metric-link:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(45,55,72,.11);border-color:#ffd2d2}.metric-link.selected{border-color:var(--danger);box-shadow:0 0 0 2px rgba(238,90,90,.1)}.clear-filter{color:var(--primary);font-weight:600}.clear-filter:hover{text-decoration:underline}@media(max-width:700px){.queue-footer{flex-wrap:wrap}.pagination{order:3;width:100%}}
.order-column{width:1%;min-width:42px;padding-left:7px;padding-right:7px;text-align:center;white-space:nowrap}.file-cell{min-width:360px;align-items:flex-start}.file-cell strong{max-width:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}
.priority-column{width:1%;min-width:44px;padding-left:7px;padding-right:7px;text-align:center;white-space:nowrap}.profile-column{width:150px;max-width:180px}.profile-chip{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35;text-align:left}
.logo-editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;padding:20px 24px}.logo-editor-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding:16px;border:1px solid var(--line);border-radius:9px}.logo-editor-card>.logo-preview{width:130px;height:90px}.logo-editor-card>.logo-preview img{max-width:114px;max-height:74px}.logo-editor-fields{display:flex;flex-direction:column;gap:10px;min-width:0}.logo-editor-fields>strong{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.logo-editor-fields label{display:flex;flex-direction:column;gap:6px;color:#555d72;font-size:12px;font-weight:600}.logo-editor-fields input{min-width:0;height:39px;border:1px solid #e2e5e9;border-radius:7px;padding:0 10px}.logo-editor-fields input[type=file]{padding:7px}.logo-editor-fields .btn{align-self:flex-start}@media(max-width:600px){.logo-editor-grid{grid-template-columns:1fr;padding:14px}.logo-editor-card{grid-template-columns:1fr}.logo-editor-card>.logo-preview{width:100%;height:110px}}
.logo-editor-card>.logo-preview{border-radius:7px;background:#343a40;border:1px solid #454c52;display:grid;place-items:center;overflow:hidden}.logo-editor-card>.logo-preview img{display:block;width:auto;height:auto;object-fit:contain}
.logo-preview img{cursor:zoom-in}.logo-preview img:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.modal-open{overflow:hidden}.logo-modal[hidden]{display:none}.logo-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:4vh 4vw;background:rgba(16,20,23,.82);backdrop-filter:blur(3px)}.logo-modal-content{max-width:88vw;max-height:92vh;display:flex;flex-direction:column;gap:10px}.logo-modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff}.logo-modal-header strong{font-size:14px;overflow-wrap:anywhere}.logo-modal-header button{width:36px;height:36px;flex:0 0 auto;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font-size:25px;line-height:1}.logo-modal-stage{max-width:80vw;max-height:80vh;background:#343a40;border:1px solid #515960;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:auto;box-shadow:0 18px 60px rgba(0,0,0,.4)}.logo-modal-stage img{display:block;width:auto;height:auto;max-width:80vw;max-height:80vh;object-fit:contain}.logo-modal-content>small{color:#c5cbd0;text-align:center;font-size:11px}
.logo-modal-stage{overflow:hidden}
.cpu-only[hidden],.qsv-only[hidden]{display:none}
.profile-fields input:disabled{background:#eef1f3;color:#9ba2ab;cursor:not-allowed}.profile-fields input:disabled+.switch{opacity:.45;cursor:not-allowed}
.file-cell small.job-timing{color:#77808d;margin-top:3px;font-variant-numeric:tabular-nums}
.file-cell small.job-route{color:#4d7280;margin-top:3px;white-space:normal;overflow-wrap:anywhere}
.file-cell small.job-error{color:#d95454;margin-top:5px;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.jobs-card table{table-layout:auto}.jobs-card .file-cell,.jobs-card .progress-cell{min-width:0}.jobs-card .profile-column{width:auto;max-width:none}.jobs-card .order-column,.jobs-card .priority-column,.jobs-card .speed,.jobs-card .actions-column{width:1%;white-space:nowrap}.jobs-card .row-actions{display:grid;grid-template-columns:repeat(4,27px);gap:4px;justify-content:center}.jobs-card .actions-column{padding-left:8px;padding-right:8px}.jobs-card .actions-heading{white-space:normal}
.brand-mark{box-shadow:0 7px 16px rgba(107,80,160,.25)}.online-dot{box-shadow:0 0 0 4px rgba(107,80,160,.14)}.btn-primary{box-shadow:0 6px 13px rgba(107,80,160,.16)}.login-visual:after{border-color:rgba(107,80,160,.12)}.eyebrow,.gpu-mark{color:#b9a8dc}.status[data-status="completed"],.profile-state,.share-status.ok{color:#5b418b;background:#eee9f6}.share-icon.online{background:#eee9f6;color:#5b418b}.storage-card-clickable:hover,.storage-card-clickable:focus-visible{box-shadow:0 5px 16px rgba(107,80,160,.13)}.log-info>span{color:#9b83c8}
.sources-card{overflow:hidden}.source-total{min-width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:700}.sources-table{min-width:840px}.sources-table th{white-space:nowrap}.sources-table td{padding-top:13px;padding-bottom:13px}.source-row{cursor:pointer}.source-row:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.source-row td:nth-child(2){min-width:160px}.source-row td:nth-child(2) strong{display:block;color:var(--title);font-size:13px}.source-row td:nth-child(2) small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.source-row code{display:block;max-width:430px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#687181;font-size:12px}.route-arrow{color:var(--primary);font-size:17px;margin-right:7px}.source-edit-button{height:34px;font-size:12px}.destinations-card{overflow:hidden}.destination-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(430px,1fr));gap:0}.destination-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 132px auto;gap:12px;align-items:end;padding:16px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.destination-row>div{min-width:0;display:flex;flex-direction:column;gap:4px}.destination-row strong{color:var(--title);font-size:13px}.destination-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#687181;font-size:11px}.destination-row label{display:flex;flex-direction:column;gap:5px;color:#687181;font-size:10px;font-weight:600}.destination-row input{width:100%;min-width:0;height:34px;border:1px solid #e2e5e9;border-radius:6px;padding:0 8px;background:#fff}.destination-row .btn{height:34px;font-size:12px}.source-drawer-backdrop{position:fixed;inset:0;background:rgba(20,22,29,.35);opacity:0;visibility:hidden;transition:opacity .2s;z-index:80}.source-drawer-backdrop.open{opacity:1;visibility:visible}.source-editor-drawer{position:fixed;z-index:90;top:0;right:0;width:min(560px,100vw);height:100dvh;padding:0 0 24px;background:#fff;box-shadow:-14px 0 38px rgba(35,28,52,.16);transform:translateX(103%);transition:transform .24s ease;overflow-y:auto}.source-editor-drawer.open{transform:translateX(0)}.source-editor-head{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;padding:21px 24px 18px;background:#fff;border-bottom:1px solid var(--line)}.source-editor-head span{display:block;color:var(--muted);font-size:11px}.source-editor-head h2{margin:4px 0 0;color:var(--title);font-size:19px}.source-editor-head button{width:34px;height:34px;border:0;border-radius:7px;background:#f3f1f7;color:#6d6478;font-size:22px;line-height:1}.source-editor-form{padding:0 24px}.source-editor-state{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.source-editor-state small{width:100%;color:var(--danger);overflow-wrap:anywhere}.source-editor-form fieldset{border:0;border-bottom:1px solid var(--line);margin:0;padding:21px 0}.source-editor-form legend{padding:0;margin-bottom:15px;color:var(--title);font-size:14px;font-weight:700}.source-editor-form label{display:flex;flex-direction:column;gap:7px;color:#555d72;font-size:12px;font-weight:600}.source-editor-form input,.source-editor-form select{height:40px;border:1px solid #e2e5e9;border-radius:7px;padding:0 10px;background:#fff;color:var(--title);outline:0}.source-editor-form input:focus,.source-editor-form select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.source-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:14px}.source-form-grid label:first-child:last-child{grid-column:1/-1}.source-editor-form details{padding:20px 0;border-bottom:1px solid var(--line)}.source-editor-form summary{color:var(--title);font-size:13px;font-weight:700;cursor:pointer}.source-advanced{padding-top:17px}.source-form-grid small{font-size:10px;color:var(--muted);font-weight:400;line-height:1.35}.source-editor-actions{display:flex;justify-content:space-between;gap:12px;padding-top:20px}.source-editor-actions .btn{height:42px}.source-editor-actions .btn-delete{border:1px solid #f2caca;background:#fff4f4;color:#bd4c4c}.source-editor-actions .btn-delete:hover{background:#ffe8e8}.drawer-open{overflow:hidden}@media(max-width:760px){.destination-list{grid-template-columns:1fr}.destination-row{border-right:0}.source-editor-form{padding:0 18px}.source-editor-head{padding-left:18px;padding-right:18px}.source-form-grid{grid-template-columns:1fr}.source-form-grid .span-2{grid-column:auto}}@media(max-width:520px){.destination-row{grid-template-columns:minmax(0,1fr) 116px}.destination-row .btn{grid-column:1/-1}.source-editor-drawer{width:100vw}}
.log-card{overflow:hidden}.log-toolbar{display:grid;grid-template-columns:180px 150px minmax(220px,1fr) 150px auto;gap:12px;align-items:end;padding:18px 20px;border-bottom:1px solid var(--line)}.log-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#555d72}.log-toolbar input,.log-toolbar select{height:40px;border:1px solid #e2e5e9;border-radius:7px;padding:0 10px;background:#fff;color:var(--title)}.log-view{max-height:calc(100vh - 300px);min-height:380px;overflow:auto;background:#20262b;padding:12px 0}.log-line{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;padding:4px 16px;border-left:3px solid transparent;color:#d7dde0}.log-line:hover{background:#282f34}.log-line>span{font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f8b91;padding-top:2px}.log-line code{font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}.log-warning{border-left-color:#e7a02e;background:rgba(231,160,46,.06)}.log-warning>span{color:#f0b54e}.log-error,.log-critical{border-left-color:#e45b5b;background:rgba(228,91,91,.08)}.log-error>span,.log-critical>span{color:#ff7777}.log-info>span{color:#59cbb6}.log-empty{color:#9aa5aa;text-align:center;margin:80px 20px}.log-card .card-header .btn{display:inline-flex;align-items:center}@media(max-width:900px){.log-toolbar{grid-template-columns:1fr 1fr}.log-search{grid-column:1/-1}.log-toolbar .btn{width:100%}.log-view{max-height:none}.log-line{grid-template-columns:60px minmax(0,1fr);padding-left:10px}}
.sources-header-actions{display:flex;align-items:center;gap:12px}.sources-header-actions .btn{height:36px;font-size:12px}@media(max-width:520px){.sources-header-actions .btn{padding:0 10px}.sources-header-actions{gap:7px}}
.user-notice{margin:0 0 16px;padding:12px 14px;border-radius:8px;font-size:12px;font-weight:600}.user-notice.success{background:#eee9f6;color:#5b418b}.user-notice.error{background:#fff0f0;color:#b84444}.users-list{display:grid}.user-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(330px,1.35fr) minmax(180px,.8fr);gap:18px;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line)}.user-row:last-child{border-bottom:0}.user-identity{display:flex;align-items:center;gap:10px}.user-identity small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.user-settings,.user-create-form{display:grid;grid-template-columns:minmax(120px,1fr) auto auto;gap:10px;align-items:end}.user-settings label,.password-control label,.user-create-form label{display:flex;flex-direction:column;gap:6px;color:#555d72;font-size:11px;font-weight:600}.user-settings select,.password-control input,.user-create-form input,.user-create-form select{height:38px;border:1px solid #e2e5e9;border-radius:7px;padding:0 10px;background:#fff;color:var(--title)}.user-settings .user-active{height:38px;display:flex;flex-direction:row;align-items:center;white-space:nowrap}.user-settings .user-active input{accent-color:var(--primary)}.password-control{min-width:0}.password-control summary{cursor:pointer;color:var(--primary);font-size:12px;font-weight:600}.password-control form{display:grid;gap:9px;margin-top:10px}.password-control .btn{justify-self:start}.user-create{margin-top:18px}.user-create-form{padding:18px 20px;grid-template-columns:1fr 1fr 1.4fr auto}.user-create-form .btn{height:38px}@media(max-width:900px){.user-row{grid-template-columns:1fr}.password-control{max-width:440px}.user-create-form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.user-row{padding:15px}.user-settings,.user-create-form{grid-template-columns:1fr}.user-settings .btn,.user-create-form .btn{width:100%}.user-settings .user-active{height:auto}.user-create-form{padding:15px}.password-control{max-width:none}}
.source-editor-form fieldset{background:#faf9fc;border:1px solid #e5dff0;border-radius:10px;margin:14px 0;padding:18px}.source-editor-form fieldset+fieldset{margin-top:16px}.source-editor-form fieldset legend{color:#4d367d;background:#eee9f6;border-radius:5px;padding:5px 9px;margin-left:-5px}.source-editor-form label{color:#4c5368;font-size:12px}.source-editor-form input,.source-editor-form select{background:#fff;border:1px solid #cfc5df;box-shadow:inset 0 1px 2px rgba(44,35,64,.04)}.source-editor-form input::placeholder{color:#9d97a9;opacity:1}.source-editor-form input:disabled{background:#eeeaf3;color:#766f80;border-color:#e1dbe9}.source-editor-form small{color:#777084;line-height:1.35}.watch-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;margin-top:15px;padding:12px;background:#f1edf7;border:1px solid #ddd3ea;border-radius:8px}.watch-toggle input{width:18px!important;height:18px!important;margin:1px 0 0;accent-color:var(--primary);box-shadow:none!important}.watch-toggle span{display:flex;flex-direction:column;gap:3px}.watch-toggle strong{color:#403651;font-size:12px}.watch-toggle small{font-weight:400}
