: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}.home .hero-section{text-align:center;padding:3rem 0}.home .hero-section h1{background:linear-gradient(90deg,#a855f7,#ec4899);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:.5rem;font-size:2.5rem}.home .hero-section p{color:#a1a1aa;font-size:1.1rem}.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}.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%}.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-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<=600px){.app{padding:1rem}.job-form .input-group{flex-direction:column}.job-form button{width:100%}.home .hero-section h1{font-size:1.75rem}}
