:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;font-weight:400;line-height:1.5}body{min-width:320px;min-height:100vh;margin:0}*{box-sizing:border-box;margin:0;padding:0}body{color:#e4e4e7;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}.app{max-width:900px;margin:0 auto;padding:2rem}.hero{text-align:center;padding:4rem 0 3rem;position:relative;overflow:hidden}.hero-glow{pointer-events:none;z-index:0;background:radial-gradient(#a855f726 0%,#0000 70%);width:600px;height:400px;position:absolute;top:-100px;left:50%;transform:translate(-50%)}.hero-title{color:#fff;z-index:1;margin-bottom:1rem;font-size:3rem;font-weight:700;line-height:1.2;position:relative}.gradient-text{background:linear-gradient(90deg,#a855f7,#ec4899);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.hero-subtitle{color:#a1a1aa;z-index:1;max-width:600px;margin:0 auto;font-size:1.15rem;line-height:1.6;position:relative}.hero-stats{z-index:1;justify-content:center;gap:3rem;margin-top:2.5rem;display:flex;position:relative}.stat-item{text-align:center}.stat-number{color:#a855f7;font-size:2rem;font-weight:700;line-height:1;display:block}.stat-label{color:#71717a;margin-top:.5rem;font-size:.85rem;display:block}.section-title{color:#e4e4e7;margin-bottom:1.5rem;font-size:1.5rem;font-weight:600}.form-section{margin:2rem 0 3rem}.form-section .section-title{text-align:center}.form-card{background:#27272a80;border:1px solid #3f3f46;border-radius:20px;padding:1.5rem}.how-it-works{background:#27272a80;border:1px solid #3f3f46;border-radius:24px;margin:3rem 0;padding:2.5rem 2rem}.how-it-works .section-title{text-align:center;margin-bottom:2rem}.steps-row{justify-content:center;align-items:flex-start;gap:.5rem;display:flex}.hiw-step{text-align:center;flex:1;max-width:220px;padding:1rem}.hiw-step-icon{color:#fff;background:linear-gradient(135deg,#a855f7,#ec4899);border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 1rem;font-size:1.5rem;font-weight:700;display:flex;box-shadow:0 4px 20px #a855f74d}.hiw-step h3{color:#e4e4e7;margin-bottom:.5rem;font-size:1.1rem;font-weight:600}.hiw-step p{color:#a1a1aa;font-size:.85rem;line-height:1.5}.hiw-step-arrow{color:#52525b;flex-shrink:0;width:32px;margin-top:1.5rem}.hiw-step-arrow svg{width:100%;height:auto}.features{padding:2rem 0 3rem}.features .section-title{text-align:center}.features-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.feature-card{background:#27272a;border:1px solid #3f3f46;border-radius:16px;padding:1.5rem;transition:all .25s}.feature-card:hover{border-color:#a855f7;transform:translateY(-4px);box-shadow:0 8px 24px #0000004d}.feature-icon{color:#a855f7;width:48px;height:48px;margin-bottom:1rem}.feature-icon svg{width:100%;height:100%}.feature-card h3{color:#e4e4e7;margin-bottom:.5rem;font-size:1rem;font-weight:600}.feature-card p{color:#a1a1aa;font-size:.85rem;line-height:1.5}.recent-jobs{padding:2rem 0 3rem}.section-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.section-header .section-title{margin-bottom:0}.view-all-link{color:#a855f7;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .2s}.view-all-link:hover{color:#c084fc}.jobs-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.job-card{color:inherit;background:#27272a;border:1px solid #3f3f46;border-radius:16px;flex-direction:column;gap:.75rem;padding:1.25rem;text-decoration:none;transition:all .2s;display:flex}.job-card:hover{background:#2d2d30;border-color:#52525b;transform:translateY(-2px)}.job-card-header{justify-content:space-between;align-items:center;display:flex}.job-card-id{color:#71717a;font-family:monospace;font-size:.85rem}.job-card-status{text-transform:uppercase;color:#fff;border-radius:20px;padding:.25rem .75rem;font-size:.7rem;font-weight:600}.job-card-progress{background:#3f3f46;border-radius:2px;height:4px;overflow:hidden}.job-card-progress-fill{background:linear-gradient(90deg,#a855f7,#ec4899);border-radius:2px;height:100%;transition:width .3s}.job-card-meta{justify-content:space-between;font-size:.8rem;display:flex}.job-card-source{color:#a1a1aa;text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.job-card-percent{color:#71717a;font-weight:500}.jobs-loading{color:#71717a;justify-content:center;align-items:center;gap:.75rem;padding:3rem;display:flex}.loading-spinner-small{border:2px solid #3f3f46;border-top-color:#a855f7;border-radius:50%;width:20px;height:20px;animation:1s linear infinite spin}.jobs-empty{text-align:center;background:#27272a80;border:1px dashed #3f3f46;border-radius:16px;padding:3rem}.empty-icon{color:#52525b;width:64px;height:64px;margin:0 auto 1rem}.empty-icon svg{width:100%;height:100%}.jobs-empty p{color:#71717a;font-size:.95rem}@media (width<=768px){.hero{padding:3rem 0 2rem}.hero-title{font-size:2.25rem}.hero-subtitle{font-size:1rem}.hero-stats{gap:2rem}.stat-number{font-size:1.5rem}.stat-label{font-size:.8rem}.steps-row{flex-direction:column;align-items:center;gap:0}.hiw-step{max-width:300px}.hiw-step-arrow{width:24px;margin:.5rem 0;transform:rotate(90deg)}.features-grid{grid-template-columns:repeat(2,1fr)}.how-it-works{padding:2rem 1.5rem}}@media (width<=480px){.hero{padding:2rem 0}.hero-title{font-size:1.75rem}.hero-subtitle{font-size:.95rem}.hero-stats{flex-direction:column;gap:1rem}.stat-item{justify-content:center;align-items:center;gap:.5rem;display:flex}.stat-number{font-size:1.25rem}.features-grid{grid-template-columns:1fr}.feature-card{padding:1.25rem}.form-card{padding:1rem}.how-it-works{padding:1.5rem 1rem}.hiw-step-icon{width:56px;height:56px;font-size:1.25rem}.jobs-grid{grid-template-columns:1fr}}.job-form-dashboard{flex-direction:column;gap:1.25rem;display:flex}.mode-toggle{background:#27272a;border-radius:10px;gap:4px;padding:4px;display:flex}.mode-toggle-btn{color:#a1a1aa;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.95rem;font-weight:500;transition:all .2s}.mode-toggle-btn:hover:not(.active):not(:disabled){color:#e4e4e7;background:#ffffff0d}.mode-toggle-btn.active{color:#fff;background:linear-gradient(90deg,#a855f7,#ec4899)}.mode-toggle-btn:disabled{opacity:.5;cursor:not-allowed}.source-section{flex-direction:column;gap:.75rem;display:flex}.source-cards{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.source-card{cursor:pointer;text-align:center;background:#27272a;border:2px solid #3f3f46;border-radius:12px;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;transition:all .2s;display:flex}.source-card:hover{background:#2d2d30;border-color:#52525b}.source-card.active{background:#a855f71a;border-color:#a855f7}.source-card-icon{color:#71717a;width:32px;height:32px}.source-card.active .source-card-icon{color:#a855f7}.source-card-icon svg{width:100%;height:100%}.source-card-title{color:#e4e4e7;font-size:.9rem;font-weight:600}.source-card-desc{color:#71717a;font-size:.75rem}.input-area{margin-top:.25rem}.url-input{color:#fff;background:#27272a;border:2px solid #3f3f46;border-radius:10px;outline:none;width:100%;padding:.875rem 1rem;font-size:.9rem;transition:border-color .2s}.url-input:focus{border-color:#a855f7}.url-input::placeholder{color:#52525b}.upload-zone{cursor:pointer;background:#27272a;border:2px dashed #3f3f46;border-radius:12px;justify-content:center;align-items:center;min-height:80px;padding:1.25rem;transition:all .2s;display:flex}.upload-zone:hover{background:#a855f70d;border-color:#a855f7}.upload-zone.drag-active{background:#a855f71a;border-color:#a855f7}.upload-zone.has-file{cursor:default;background:#22c55e0d;border-style:solid;border-color:#22c55e}.upload-placeholder{color:#71717a;flex-direction:column;align-items:center;gap:.5rem;display:flex}.upload-placeholder svg{width:32px;height:32px}.upload-placeholder span{font-size:.85rem}.file-selected{align-items:center;gap:.75rem;width:100%;display:flex}.file-selected-icon{color:#22c55e;flex-shrink:0;width:28px;height:28px}.file-selected-info{flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.file-selected-name{color:#e4e4e7;white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:500;overflow:hidden}.file-selected-size{color:#71717a;font-size:.75rem}.file-remove{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:background .2s;display:flex}.file-remove:hover{background:#dc2626}.file-remove svg{width:14px;height:14px}.timestamps-section{background:#27272a80;border:1px solid #3f3f46;border-radius:12px;padding:1rem}.timestamps-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.timestamps-label{color:#e4e4e7;font-size:.9rem;font-weight:600}.timestamps-hint{color:#71717a;font-size:.75rem}.timestamps-list{flex-direction:column;gap:.5rem;margin-bottom:.75rem;display:flex}.timestamp-row{align-items:center;gap:.5rem;display:flex}.timestamp-num{color:#a1a1aa;background:#3f3f46;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:.7rem;font-weight:600;display:flex}.timestamp-field{color:#fff;background:#1a1a2e;border:2px solid #3f3f46;border-radius:6px;outline:none;flex:1;min-width:0;padding:.5rem .625rem;font-family:monospace;font-size:.85rem;transition:border-color .2s}.timestamp-field:focus{border-color:#a855f7}.timestamp-field::placeholder{color:#52525b}.timestamp-sep{color:#52525b;flex-shrink:0;font-size:.85rem}.timestamp-remove{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;transition:background .2s;display:flex}.timestamp-remove:hover{background:#dc2626}.timestamp-remove svg{width:12px;height:12px}.add-timestamp-btn{color:#71717a;cursor:pointer;background:0 0;border:2px dashed #3f3f46;border-radius:6px;justify-content:center;align-items:center;gap:.375rem;width:100%;padding:.5rem;font-size:.8rem;font-weight:500;transition:all .2s;display:flex}.add-timestamp-btn:hover:not(:disabled){color:#a855f7;border-color:#a855f7}.add-timestamp-btn:disabled{opacity:.5;cursor:not-allowed}.add-timestamp-btn svg{width:14px;height:14px}.form-footer{border-top:1px solid #3f3f46;justify-content:space-between;align-items:center;margin-top:1.5rem;padding-top:1.25rem;display:flex}.subtitle-toggle{cursor:pointer;align-items:center;gap:.75rem;display:flex}.subtitle-toggle input[type=checkbox]{display:none}.toggle-track{background:#3f3f46;border-radius:12px;width:44px;height:24px;transition:background .2s;position:relative}.subtitle-toggle input:checked+.toggle-track{background:#a855f7}.toggle-thumb{background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.subtitle-toggle input:checked+.toggle-track .toggle-thumb{transform:translate(20px)}.toggle-label{color:#a1a1aa;font-size:.9rem}.create-btn{color:#fff;cursor:pointer;background:linear-gradient(90deg,#a855f7,#ec4899);border:none;border-radius:10px;align-items:center;gap:.5rem;padding:.875rem 2rem;font-size:.95rem;font-weight:600;transition:all .2s;display:flex}.create-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 16px #a855f74d}.create-btn:disabled{opacity:.5;cursor:not-allowed}.create-btn svg{width:18px;height:18px}.btn-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:1s linear infinite spin}.form-error{color:#fca5a5;background:#ef44441a;border:1px solid #ef4444;border-radius:8px;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;font-size:.85rem;display:flex}.form-error svg{color:#ef4444;flex-shrink:0;width:18px;height:18px}@media (width<=768px){.form-footer{flex-direction:column;align-items:stretch;gap:1rem}.subtitle-toggle{justify-content:center}.create-btn{justify-content:center;width:100%}}@media (width<=480px){.source-cards{grid-template-columns:1fr}.source-card{padding:.875rem}.source-card-icon{width:28px;height:28px}.source-card-title{font-size:.85rem}.mode-toggle-btn{padding:.625rem .75rem;font-size:.9rem}.timestamps-section{padding:.75rem}.timestamps-header{flex-direction:column;align-items:flex-start;gap:.25rem}.timestamp-field{padding:.4rem .5rem;font-size:.8rem}.create-btn{padding:.75rem 1.5rem;font-size:.9rem}}.job-form{margin:2rem 0}.job-form .input-group{gap:.5rem;display:flex}.job-form input{color:#fff;background:#27272a;border:2px solid #3f3f46;border-radius:12px;outline:none;flex:1;padding:1rem 1.5rem;font-size:1rem;transition:border-color .2s}.job-form input:focus{border-color:#a855f7}.job-form input::placeholder{color:#71717a}.job-form button{color:#fff;cursor:pointer;background:linear-gradient(90deg,#a855f7,#ec4899);border:none;border-radius:12px;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:transform .2s,opacity .2s}.job-form button:hover:not(:disabled){transform:translateY(-2px)}.job-form button:disabled{opacity:.5;cursor:not-allowed}.job-form .error{color:#ef4444;margin-top:.5rem;font-size:.9rem}.job-form .options-group{gap:1.5rem;margin-top:1rem;display:flex}.job-form .checkbox-label{cursor:pointer;color:#a1a1aa;align-items:center;gap:.5rem;font-size:.95rem;display:flex}.job-form .checkbox-label input[type=checkbox]{accent-color:#a855f7;cursor:pointer;width:18px;height:18px}.job-form .checkbox-label:hover{color:#e4e4e7}.input-mode-tabs{gap:.5rem;margin-bottom:1rem;display:flex}.input-mode-tabs .tab{color:#a1a1aa;cursor:pointer;background:#27272a;border:2px solid #3f3f46;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:.5rem;padding:1rem;font-weight:500;transition:all .2s;display:flex}.input-mode-tabs .tab:hover:not(:disabled){color:#e4e4e7;border-color:#52525b}.input-mode-tabs .tab.active{color:#e4e4e7;background:#a855f71a;border-color:#a855f7}.input-mode-tabs .tab-badge{color:#fff;text-transform:uppercase;background:#22c55e;border-radius:10px;padding:.2rem .5rem;font-size:.65rem;font-weight:600}.input-mode-tabs .tab-badge.warning{background:#f59e0b}.upload-area{text-align:center;cursor:pointer;background:#27272a;border:2px dashed #3f3f46;border-radius:16px;margin-bottom:1rem;padding:2rem;transition:all .2s}.upload-area:hover{background:#a855f70d;border-color:#a855f7}.upload-area.drag-active{background:#a855f71a;border-color:#a855f7}.upload-area.has-file{cursor:default;border-style:solid;border-color:#22c55e}.upload-prompt{color:#a1a1aa}.upload-icon{margin-bottom:1rem;font-size:3rem}.upload-prompt p{margin-bottom:.5rem}.upload-hint{color:#71717a;font-size:.9rem}.upload-formats{color:#52525b;margin-top:.5rem;font-size:.8rem}.upload-progress{width:100%;margin-top:.5rem}.upload-progress-bar{background:#3f3f46;border-radius:4px;height:8px;margin-bottom:.25rem;overflow:hidden}.upload-progress-fill{background:linear-gradient(90deg,#a855f7,#ec4899);border-radius:4px;height:100%;transition:width .2s}.upload-progress-text{color:#a855f7;font-size:.8rem;font-weight:500}.file-info{align-items:center;gap:1rem;padding:.5rem;display:flex}.file-icon{font-size:2.5rem}.file-details{flex-direction:column;flex:1;align-items:flex-start;display:flex}.file-name{color:#e4e4e7;word-break:break-all;text-align:left;font-weight:600}.file-size{color:#71717a;font-size:.9rem}.remove-file{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.2rem;transition:background .2s;display:flex}.remove-file:hover{background:#dc2626}.youtube-input{margin-bottom:1rem}.youtube-warning{color:#fbbf24;background:#f59e0b1a;border:1px solid #f59e0b;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.85rem}.youtube-input input{width:100%}.clip-mode-toggle{background:#27272a;border-radius:12px;margin:1rem 0;padding:1rem}.clip-mode-toggle .mode-label{color:#a1a1aa;margin-bottom:.75rem;font-size:.9rem;display:block}.clip-mode-toggle .mode-buttons{gap:.5rem;margin-bottom:.5rem;display:flex}.clip-mode-toggle .mode-btn{color:#a1a1aa;cursor:pointer;background:0 0;border:2px solid #3f3f46;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s}.clip-mode-toggle .mode-btn:hover:not(:disabled){color:#e4e4e7;border-color:#52525b}.clip-mode-toggle .mode-btn.active{color:#e4e4e7;background:#a855f726;border-color:#a855f7}.clip-mode-toggle .mode-hint{color:#71717a;margin:0;font-size:.8rem}.manual-clips-section{background:#27272a;border:1px solid #3f3f46;border-radius:12px;margin:1rem 0;padding:1rem}.manual-clips-section .section-label{color:#e4e4e7;margin-bottom:1rem;font-size:.95rem;font-weight:500;display:block}.manual-clips-section .clips-list{flex-direction:column;gap:.75rem;margin-bottom:1rem;display:flex}.manual-clips-section .clip-row{align-items:center;gap:.5rem;display:flex}.manual-clips-section .clip-number{color:#a1a1aa;background:#3f3f46;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:.8rem;font-weight:600;display:flex}.manual-clips-section .timestamp-input{color:#fff;background:#1a1a2e;border:2px solid #3f3f46;border-radius:8px;outline:none;flex:1;padding:.6rem .75rem;font-family:monospace;font-size:.9rem;transition:border-color .2s}.manual-clips-section .timestamp-input:focus{border-color:#a855f7}.manual-clips-section .timestamp-input::placeholder{color:#52525b}.manual-clips-section .clip-separator{color:#71717a;font-size:.85rem}.manual-clips-section .remove-clip-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:1rem;transition:background .2s;display:flex}.manual-clips-section .remove-clip-btn:hover{background:#dc2626}.manual-clips-section .add-clip-btn{color:#a1a1aa;cursor:pointer;background:0 0;border:2px dashed #3f3f46;border-radius:8px;width:100%;padding:.6rem;font-size:.9rem;transition:all .2s}.manual-clips-section .add-clip-btn:hover:not(:disabled){color:#a855f7;border-color:#a855f7}.manual-clips-section .add-clip-btn:disabled{opacity:.5;cursor:not-allowed}@media (width<=600px){.clip-mode-toggle{padding:.75rem}.clip-mode-toggle .mode-buttons{flex-direction:column}.manual-clips-section{padding:.75rem}.manual-clips-section .clip-row{flex-wrap:wrap;gap:.5rem}.manual-clips-section .clip-number{order:-1}.manual-clips-section .timestamp-input{flex:calc(50% - 2rem);min-width:0;padding:.5rem;font-size:.85rem}.manual-clips-section .clip-separator{order:1;width:auto}.manual-clips-section .remove-clip-btn{order:2;margin-left:auto}}.job-form .submit-btn{color:#fff;cursor:pointer;background:linear-gradient(90deg,#a855f7,#ec4899);border:none;border-radius:12px;width:100%;margin-top:.5rem;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:transform .2s,opacity .2s}.job-form .submit-btn:hover:not(:disabled){transform:translateY(-2px)}.job-form .submit-btn:disabled{opacity:.5;cursor:not-allowed}.recent-section{margin-top:3rem}.recent-section h2{color:#d4d4d8;margin-bottom:1rem;font-size:1.5rem}.recent-section .loading,.recent-section .empty{color:#71717a;text-align:center;padding:2rem}.jobs-list{list-style:none}.jobs-list li{margin-bottom:.5rem}.jobs-list a{color:#e4e4e7;background:#27272a;border-radius:12px;align-items:center;gap:1rem;padding:1rem 1.5rem;text-decoration:none;transition:background .2s;display:flex}.jobs-list a:hover{background:#3f3f46}.jobs-list .job-id{color:#a1a1aa;font-family:monospace}.jobs-list .job-status{text-transform:uppercase;color:#fff;border-radius:20px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.jobs-list .job-progress{margin-left:auto;font-weight:600}.job-status{padding:1rem 0}.job-header{align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.job-header h1{font-size:1.5rem}.job-header .job-id{color:#71717a;margin-left:auto;font-family:monospace;font-size:.9rem}.back-link{color:#a855f7;font-weight:500;text-decoration:none}.back-link:hover{text-decoration:underline}.progress-container{background:#27272a;border-radius:16px;margin-bottom:2rem;padding:1.5rem}.progress-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.status-badge{color:#fff;border-radius:20px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.percentage{font-size:1.5rem;font-weight:700}.progress-bar{background:#3f3f46;border-radius:6px;height:12px;overflow:hidden}.progress-fill{border-radius:6px;height:100%;transition:width .3s}.current-step{color:#a1a1aa;margin-top:1rem;font-size:.9rem}.steps-list{justify-content:space-between;align-items:flex-start;margin-top:1.5rem;padding:1rem 0;display:flex}.step-item{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.step-indicator{border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;margin-bottom:.5rem;font-size:.9rem;font-weight:600;transition:all .3s;display:flex}.step-content{text-align:center}.step-label{color:#a1a1aa;max-width:80px;font-size:.75rem;line-height:1.2}.step-pending .step-indicator{color:#71717a;background:#3f3f46}.step-current .step-indicator{color:#fff;background:#a855f7;box-shadow:0 0 0 4px #a855f733}.step-current .step-label{color:#a855f7;font-weight:600}.step-completed .step-indicator{color:#fff;background:#22c55e}.step-completed .step-label{color:#22c55e}.step-failed .step-indicator{color:#fff;background:#ef4444}.step-check{font-size:1rem}.step-number{font-size:.85rem}.step-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.step-connector{background:#3f3f46;width:calc(100% - 40px);height:2px;position:absolute;top:18px;left:calc(50% + 20px)}.step-completed+.step-item .step-connector,.step-completed .step-connector{background:#22c55e}@media (width<=600px){.steps-list{flex-wrap:wrap;gap:1rem}.step-item{flex:0 0 calc(33.33% - 1rem)}.step-connector{display:none}}.error-section{background:#ef44441a;border:1px solid #ef4444;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.error-section h3{color:#ef4444;margin-bottom:.5rem}.error-message{color:#fca5a5}.error-card{text-align:center;padding:3rem}.error-card h2{color:#ef4444;margin-bottom:1rem}.back-btn{color:#fff;background:#a855f7;border-radius:8px;margin-top:1rem;padding:.75rem 1.5rem;text-decoration:none;display:inline-block}.clips-list{margin-top:2rem}.clips-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.clips-header h3{font-size:1.25rem}.drive-link{color:#fff;background:#22c55e;border-radius:8px;padding:.5rem 1rem;font-size:.9rem;font-weight:500;text-decoration:none}.drive-link:hover{background:#16a34a}.clips-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.clip-card{background:#27272a;border:1px solid #3f3f46;border-radius:16px;padding:1.5rem}.clip-number{color:#a855f7;margin-bottom:1rem;font-size:1.1rem;font-weight:700}.clip-info{margin-bottom:1rem}.info-row{justify-content:space-between;margin-bottom:.25rem;font-size:.9rem;display:flex}.info-row .label{color:#71717a}.info-row .score{color:#22c55e;font-weight:600}.clip-hook{color:#a1a1aa;background:#1a1a2e;border-radius:8px;margin-bottom:1rem;padding:.75rem;font-size:.9rem;font-style:italic}.clip-description{background:#1a1a2e;border-radius:8px;margin-bottom:1rem;padding:.75rem}.description-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.description-header .label{color:#71717a;font-size:.8rem}.description-text{color:#e4e4e7;font-size:.9rem;line-height:1.4}.clip-hashtags{background:#1a1a2e;border-radius:8px;margin-bottom:1rem;padding:.75rem}.hashtags-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.hashtags-header .label{color:#71717a;font-size:.8rem}.hashtags-list{flex-wrap:wrap;gap:.5rem;display:flex}.hashtag{color:#c084fc;background:#a855f733;border-radius:4px;padding:.25rem .5rem;font-size:.8rem;font-weight:500}.copy-btn{color:#a1a1aa;cursor:pointer;background:0 0;border:1px solid #52525b;border-radius:4px;padding:.25rem .5rem;font-size:.7rem;font-weight:600;transition:all .2s}.copy-btn:hover{color:#a855f7;border-color:#a855f7}.copy-btn.copied{color:#22c55e;background:#22c55e1a;border-color:#22c55e}.clip-filename{color:#52525b;word-break:break-all;margin-bottom:1rem;font-family:monospace;font-size:.75rem}.download-btn{text-align:center;color:#fff;background:#3b82f6;border-radius:8px;padding:.5rem;font-size:.9rem;text-decoration:none;display:block}.download-btn:hover{background:#2563eb}.summary{color:#a1a1aa;background:#27272a;border-radius:12px;margin-top:2rem;padding:1rem;font-size:.9rem}.summary p{margin-bottom:.25rem}.loading-spinner{text-align:center;color:#a1a1aa;padding:3rem}@media (width<=768px){.app{padding:1.5rem}.clips-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.job-header{flex-wrap:wrap}.job-header .job-id{width:100%;margin-top:.5rem;margin-left:0}}@media (width<=600px){.app{max-width:100%;padding:1rem}.home .hero-section{padding:2rem 0}.home .hero-section h1{font-size:1.75rem}.home .hero-section p{font-size:1rem}.input-mode-tabs{flex-direction:column;gap:.5rem}.input-mode-tabs .tab{padding:.875rem;font-size:.95rem}.job-form{margin:1.5rem 0}.job-form .input-group{flex-direction:column}.job-form input{padding:.875rem 1rem;font-size:1rem}.job-form button{width:100%}.job-form .options-group{flex-direction:column;gap:1rem}.job-form .submit-btn{padding:.875rem 1.5rem}.upload-area{padding:1.5rem}.upload-icon{font-size:2.5rem}.upload-prompt p{font-size:.95rem}.file-info{flex-wrap:wrap}.file-name{font-size:.9rem}.job-status{padding:.5rem 0}.job-header{flex-direction:column;align-items:flex-start;gap:.5rem}.job-header h1{font-size:1.25rem}.job-header .job-id{margin-left:0;font-size:.8rem}.progress-container{padding:1rem}.progress-header{flex-direction:column;align-items:flex-start;gap:.5rem}.percentage{font-size:1.25rem}.steps-list{flex-wrap:wrap;justify-content:center;gap:.75rem}.step-item{flex:0 0 calc(33.33% - .5rem);min-width:80px}.step-indicator{width:32px;height:32px;font-size:.8rem}.step-label{max-width:70px;font-size:.65rem}.step-connector{display:none}.clips-header{flex-direction:column;align-items:flex-start;gap:1rem}.clips-header h3{font-size:1.1rem}.drive-link{text-align:center;width:100%}.clips-grid{grid-template-columns:1fr;gap:.75rem}.clip-card{padding:1rem}.clip-number{font-size:1rem}.info-row{font-size:.85rem}.clip-hook{padding:.5rem;font-size:.85rem}.clip-description{padding:.5rem}.description-text{font-size:.85rem}.clip-hashtags{padding:.5rem}.hashtag{padding:.2rem .4rem;font-size:.75rem}.copy-btn{padding:.2rem .4rem;font-size:.65rem}.clip-filename{font-size:.7rem}.jobs-list a{flex-wrap:wrap;gap:.5rem;padding:1rem}.jobs-list .job-id{width:100%;font-size:.75rem}.jobs-list .job-status{font-size:.7rem}.jobs-list .job-progress{margin-left:0}.recent-section{margin-top:2rem}.recent-section h2{font-size:1.25rem}.summary{padding:.75rem;font-size:.85rem}.error-section{padding:1rem}.error-card{padding:2rem 1rem}.error-card h2{font-size:1.25rem}}.steps-timeline{margin-top:1.5rem}.steps-header{justify-content:flex-end;margin-bottom:1rem;display:flex}.steps-remaining{color:#a855f7;background:#a855f71a;border-radius:20px;padding:.5rem 1rem;font-size:.9rem;font-weight:600}.steps-vertical{flex-direction:column;gap:0;display:flex}.step-row{align-items:flex-start;padding:.75rem 0;display:flex;position:relative}.step-line-container{z-index:0;width:2px;position:absolute;top:0;bottom:0;left:17px}.step-line{background:#3f3f46;width:2px;position:absolute;top:0;bottom:0;left:0}.step-line-first{top:50%}.step-line-last{bottom:50%}.step-line-fill{background:#3f3f46;width:100%;height:100%;transition:background .3s;position:absolute;top:0;left:0}.step-line-fill-completed{background:#22c55e}.step-line-fill-current{background:linear-gradient(#22c55e 0%,#a855f7 100%)}.step-indicator-vertical{z-index:1;border-radius:50%;justify-content:center;align-items:center;width:36px;min-width:36px;height:36px;margin-right:1rem;font-size:.85rem;font-weight:600;transition:all .3s;display:flex}.step-pending .step-indicator-vertical{color:#71717a;background:#3f3f46}.step-current .step-indicator-vertical{color:#fff;background:#a855f7;box-shadow:0 0 0 4px #a855f733}.step-completed .step-indicator-vertical{color:#fff;background:#22c55e}.step-failed .step-indicator-vertical{color:#fff;background:#ef4444}.step-indicator-pulse{animation:2s ease-in-out infinite pulse}@keyframes pulse{0%,to{box-shadow:0 0 0 4px #a855f733}50%{box-shadow:0 0 0 8px #a855f74d}}.step-icon-check{stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.step-icon-x{stroke-linecap:round;width:16px;height:16px}.step-spinner-ring{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:1s linear infinite spin}.step-number-vertical{font-size:.85rem}.step-content-vertical{flex:1;min-width:0}.step-header-row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.step-title{color:#e4e4e7;font-size:.95rem;font-weight:600}.step-pending .step-title{color:#71717a}.step-current .step-title{color:#e4e4e7}.step-completed .step-title{color:#a1a1aa}.step-failed .step-title{color:#fca5a5}.step-time{white-space:nowrap;font-size:.8rem}.step-time-completed{color:#22c55e}.step-time-current{color:#a855f7;font-weight:500}.step-time-pending{color:#52525b}.step-progress-container{align-items:center;gap:.75rem;margin-top:.5rem;display:flex}.step-progress-bar{background:#3f3f46;border-radius:3px;flex:1;height:6px;overflow:hidden}.step-progress-fill{background:linear-gradient(90deg,#a855f7,#ec4899);border-radius:3px;height:100%;transition:width .3s}.step-time-remaining{color:#a855f7;white-space:nowrap;font-size:.75rem}.step-description{color:#71717a;min-height:1.2em;margin-top:.25rem;font-size:.8rem}.step-current .step-description{color:#a1a1aa}.connection-status{border-radius:20px;align-items:center;gap:.5rem;margin-top:1rem;padding:.5rem 1rem;font-size:.75rem;font-weight:500;display:inline-flex}.connection-status:before{content:"";border-radius:50%;width:8px;height:8px}.connection-status.connected{color:#22c55e;background:#22c55e1a}.connection-status.connected:before{background:#22c55e;animation:2s ease-in-out infinite blink}.connection-status.polling{color:#f59e0b;background:#f59e0b1a}.connection-status.polling:before{background:#f59e0b}@keyframes blink{0%,to{opacity:1}50%{opacity:.4}}@media (width<=600px){.steps-header{justify-content:center}.steps-remaining{padding:.4rem .8rem;font-size:.85rem}.step-row{padding:.5rem 0}.step-indicator-vertical{width:32px;min-width:32px;height:32px;margin-right:.75rem;font-size:.8rem}.step-line-container{left:15px}.step-icon-check{width:16px;height:16px}.step-icon-x{width:14px;height:14px}.step-spinner-ring{width:16px;height:16px}.step-header-row{flex-direction:column;align-items:flex-start;gap:.25rem}.step-title{font-size:.9rem}.step-time{font-size:.75rem}.step-progress-container{flex-direction:column;align-items:stretch;gap:.25rem}.step-time-remaining{text-align:right}.step-description{font-size:.75rem}.connection-status{padding:.4rem .75rem;font-size:.7rem}}@media (width<=380px){.app{padding:.75rem}.home .hero-section h1{font-size:1.5rem}.step-item{flex:0 0 calc(50% - .5rem)}.input-mode-tabs .tab{padding:.75rem;font-size:.9rem}.job-form input{padding:.75rem}.job-form .submit-btn{padding:.75rem 1rem}}
