:root{color:#17211f;background:#f6f8f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}a{color:#126552;text-decoration:none}a:hover{text-decoration:underline}.app-shell{width:min(1180px,calc(100vw - 32px));margin:0 auto;padding:28px 0 48px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 20px}.toolbar h1{margin:0;font-size:30px;line-height:1.15;font-weight:700}.toolbar p{margin:6px 0 0;color:#63706b}.icon-button{display:inline-grid;width:40px;height:40px;place-items:center;border:1px solid #cad5d0;border-radius:8px;background:#fff;color:#22312d;cursor:pointer}.new-task-form{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:end;gap:10px;padding:14px;border:1px solid #d8e0dc;border-radius:8px;background:#fff}.active-tools{display:grid;grid-template-columns:1fr;gap:12px}.view-tabs{display:inline-flex;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #d8e0dc;border-radius:8px;background:#fff}.view-tabs button{min-height:34px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#485a55;font-weight:750;cursor:pointer}.view-tabs button[aria-selected=true]{background:#dff1eb;color:#0e5f4c}.new-task-form label{font-weight:650;color:#33413d;padding-bottom:10px}.new-task-form input{min-height:42px;width:100%;border:1px solid #bac8c2;border-radius:6px;padding:0 12px;color:#17211f;background:#fbfcfc}.new-task-form button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;padding:0 15px;background:#0f6b54;color:#fff;font-weight:700;cursor:pointer}.new-task-form button:disabled{cursor:not-allowed;background:#9aaaa4}.error-banner{margin-top:14px;border:1px solid #e2aaa0;border-radius:8px;background:#fff4f1;color:#8b2d1f;padding:12px 14px}.video-info-result{margin-top:16px;overflow:hidden;border:1px solid #d8e0dc;border-radius:8px;background:#fff}.video-info-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid #edf1ef}.video-info-heading h2{margin:0;font-size:18px;line-height:1.3}.video-info-heading p{display:flex;flex-wrap:wrap;gap:6px 12px;margin:6px 0 0;color:#63706b;overflow-wrap:anywhere}.video-info-heading strong{white-space:nowrap;color:#0e5f4c;font-size:13px}.format-table-wrap{overflow-x:auto}.format-table-wrap table{min-width:760px}.codec-list{display:flex;flex-wrap:wrap;gap:5px 10px;color:#485a55;font-size:13px}.task-table-wrap{margin-top:18px;overflow-x:auto;border:1px solid #d8e0dc;border-radius:8px;background:#fff}table{width:100%;border-collapse:collapse;min-width:820px}th,td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid #edf1ef}th{color:#62706b;font-size:13px;font-weight:700;background:#f9fbfa}tr:last-child td{border-bottom:0}.source-cell{width:36%}.source-url{max-width:470px;overflow-wrap:anywhere;font-weight:650}.task-times{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:2px}.muted{color:#687772;font-size:13px}.status{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;font-size:12px;font-weight:800}.status-queued{background:#edf1f7;color:#44546a}.status-running{background:#e9f4ff;color:#115e96}.status-completed{background:#e6f6ef;color:#12633d}.status-failed{background:#fdeceb;color:#9b2d24}.status-archived{background:#ece8f7;color:#55438a}.progress-cell{width:30%}.progress-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.progress-meta span{overflow-wrap:anywhere}.progress-bar{width:100%;height:8px;overflow:hidden;border-radius:999px;background:#e4ebe8}.progress-bar div{height:100%;border-radius:inherit;background:#138268;transition:width .18s ease}.error-text{margin-top:8px;color:#a12e21;font-size:13px}.task-links{display:flex;flex-direction:column;gap:8px;min-width:120px}.task-links a{display:inline-flex;align-items:center;gap:6px;font-weight:700}.actions-cell{width:108px}.row-actions{display:flex;gap:8px;justify-content:flex-end}.logs-row td{padding:0;background:#fbfcfc}.task-log-list{display:grid;gap:10px;margin:0;padding:14px 16px 16px 32px}.task-log{padding-left:4px}.task-log::marker{color:#8b9994}.task-log-error::marker{color:#a12e21}.log-meta{display:flex;flex-wrap:wrap;gap:8px;color:#63706b;font-size:12px;font-weight:750;text-transform:uppercase}.log-message{margin-top:3px;color:#17211f;overflow-wrap:anywhere}.task-log-error .log-message{color:#9b2d24}.log-detail{display:flex;flex-wrap:wrap;gap:8px;margin-top:3px;color:#687772;font-size:13px}.log-state{padding:16px;color:#64736e}.log-state-error{color:#a12e21}.empty-state{padding:28px 16px;text-align:center;color:#64736e}@media(max-width:720px){.app-shell{width:min(100vw - 20px,680px);padding-top:18px}.toolbar{align-items:flex-start}.toolbar h1{font-size:25px}.new-task-form{grid-template-columns:1fr;align-items:stretch}.new-task-form label{padding-bottom:0}.video-info-heading{display:grid}}
