@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#242728;background:#f6f7f8;font-synthesis:none;letter-spacing:0;--green:#13745b;--border:#dfe4e5;--muted:#727a7e}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}svg{width:18px;height:18px;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}button:focus-visible,a:focus-visible{outline:3px solid #82c8b3;outline-offset:3px}[hidden]{display:none!important}aside{width:216px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:30px 20px;display:flex;flex-direction:column}.brand{font-family:Manrope,sans-serif;font-size:27px;font-weight:800;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.brand svg{width:30px;height:30px;color:var(--green)}.brand span{font-size:9px;align-self:center;color:var(--muted);font-weight:700;margin-left:3px}nav{display:grid;gap:6px;margin-top:48px}nav button{background:none;border:0;padding:12px 14px;justify-content:flex-start;border-radius:6px;color:#626b6e;font-weight:500}nav button.active{background:#eaf4ef;color:#145b46}nav button:hover{background:#f1f4f2}.dot{width:6px;height:6px;background:#b5bcba;border-radius:50%;margin-left:auto}.dot.connected{background:#208466}.sidebar-bottom{margin-top:auto;display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);padding:10px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#249071}.workspace{margin-left:216px}header{height:82px;padding:0 42px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#fff;font-size:13px;color:var(--muted)}header strong{color:#444b4d;font-weight:500}header>div>span{padding:0 14px;color:#c4cacd}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;padding:11px 17px;font-size:13px;font-weight:600;min-height:41px}.primary{background:var(--green);color:white}.primary:hover{background:#105d49}.secondary{background:white;border-color:var(--border);color:#394345}.secondary:hover{background:#f7f9f8}main{max-width:1180px;margin:auto;padding:37px 42px 60px;min-height:calc(100vh - 141px)}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:700;color:var(--green);margin:0 0 8px}h1{font-family:Manrope,sans-serif;font-size:30px;font-weight:800;margin:0}h2{font-size:17px;font-weight:700;margin:0;display:flex;align-items:center;gap:10px}h3{font-size:15px;margin:0}.muted{color:var(--muted);font-size:12px}.composer{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:24px 0 25px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.engine{font-size:11px;color:#66716b;display:flex;align-items:center;gap:7px}.source-tabs{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:24px}.source-tabs button{font-size:13px;border:0;border-bottom:2px solid transparent;background:none;padding:0 16px 13px;color:var(--muted);border-radius:0}.source-tabs button.selected{color:var(--green);border-bottom-color:var(--green);font-weight:700}label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}label .muted{font-weight:400;margin-left:6px}input,select,textarea{width:100%;border:1px solid #d7dedf;border-radius:5px;background:white;padding:11px 12px;color:#2c3437;min-height:44px;font-size:13px;outline:none}input:focus,select:focus,textarea:focus{border-color:#329475;box-shadow:0 0 0 3px #13745b12}input::placeholder{color:#8e989d}.url-input{position:relative}.url-input>svg{position:absolute;left:14px;top:13px;color:#b46a67}.url-input input{padding-left:43px}.options{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:18px;margin:22px 0}.form-footer{margin-top:20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.form-footer>span{display:flex;gap:7px;align-items:center}.form-footer>span svg{width:14px;height:14px}.dropzone{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:25px;border:1px dashed #aabbb4;background:#eff5f1;border-radius:6px;color:var(--green);cursor:pointer;min-height:134px;overflow:hidden}.dropzone span{font-weight:400;color:var(--muted);font-size:11px}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%}.dropzone strong{max-width:100%;overflow-wrap:anywhere}.library{padding-top:27px}.icon-button{padding:8px;border:1px solid transparent;border-radius:5px;background:transparent;color:#687479;width:35px;height:35px;flex-shrink:0}.icon-button:hover{background:#e8eeeb}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:155px;gap:14px;color:#899491}.empty>svg{height:33px;width:33px;stroke-width:1.2}.empty h3{font-size:13px;font-weight:400}.project{display:flex;align-items:center;gap:15px;border:1px solid var(--border);border-radius:6px;background:white;margin-bottom:10px;padding:16px;width:100%;text-align:left}.project:hover,.project.selected{border-color:#74ac97}.project-icon{background:#eef3f1;color:#50806e;border-radius:5px;width:42px;height:46px;display:grid;place-items:center;flex-shrink:0}.project-info{flex:1;min-width:0}.project-info strong{font-size:13px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.project-info small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:6px}.badge{font-size:10px;font-weight:600;color:#287554;background:#e8f5ed;border-radius:4px;padding:5px 8px;white-space:nowrap}.badge.failed{color:#ab4848;background:#fbecec}.badge.working{color:#966b22;background:#faf1dc}#detail{padding-top:30px;margin-top:18px;border-top:1px solid var(--border)}#detail>.section-heading{align-items:flex-start}#detail h2{overflow-wrap:anywhere}.detail-actions{display:flex;gap:6px}.progress-track{height:5px;background:#e1e6e3;margin:20px 0 12px;border-radius:3px;overflow:hidden}.progress-track span{height:100%;display:block;background:var(--green);transition:width .4s}.steps{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-bottom:22px}.steps .done{color:var(--green);font-weight:600}.clips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.clip{border:1px solid var(--border);border-radius:6px;overflow:hidden;background:white}.clip video{display:block;width:100%;aspect-ratio:9/12;object-fit:contain;background:#101513}.clip-body{padding:15px}.clip-body h3{font-size:14px;line-height:1.45;overflow-wrap:anywhere}.clip-body p{font-size:12px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.clip-time{font-size:10px;color:var(--green);margin-bottom:8px}.clip-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.clip-actions .button{flex:1;padding:9px;font-size:11px;min-height:35px}.error{color:#a63d3d;background:#fbeeee;padding:12px;border-radius:5px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.processing{padding:15px 0;font-size:13px;color:var(--muted)}footer{border-top:1px solid var(--border);height:59px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:11px;color:#8a9295}footer .divider{padding:0 10px}dialog{border:1px solid var(--border);border-radius:8px;width:min(520px,calc(100% - 32px));max-height:85vh;padding:26px;color:#2a3433;box-shadow:0 16px 65px #172e2526}dialog::backdrop{background:#13231d66}dialog p{font-size:13px;line-height:1.8}dialog label{margin-top:18px}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}#transcript-dialog{width:min(760px,calc(100% - 32px))}.transcript-line{display:flex;align-items:baseline;gap:16px;border-bottom:1px solid #edf0ee;padding:10px 0;font-size:13px;line-height:1.7}.transcript-line time{color:var(--green);font-size:11px;flex-shrink:0}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#203a30;color:#fff;padding:14px 20px;border-radius:6px;font-size:13px;max-width:90%;z-index:5}
@media(min-width:1450px){main{padding-top:46px}}@media(max-width:1000px){aside{width:178px;padding:28px 14px}.brand{font-size:24px}.brand span{display:none}.workspace{margin-left:178px}header{padding:0 25px}main{padding:30px 25px}.clips{grid-template-columns:repeat(2,minmax(0,1fr))}footer{padding:0 25px}}@media(max-width:650px){aside{position:static;width:auto;height:65px;padding:0 18px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--border)}.brand{font-size:24px}.brand svg{width:25px;height:25px}nav{margin:0;display:flex;gap:5px}nav button{font-size:0;padding:10px}nav button svg{width:20px;height:20px}.sidebar-bottom{display:none}.workspace{margin:0}header{height:62px;padding:0 18px}header .button{font-size:11px;padding:8px 10px;min-height:35px}header>div>span{padding:0 7px}main{padding:26px 18px 40px}.page-heading{margin-bottom:22px}h1{font-size:27px}.engine{font-size:10px}.options{grid-template-columns:1fr 1fr;gap:16px 12px}.options>div:last-child{grid-column:1/-1}.source-tabs button{padding:0 9px 13px;font-size:12px}.form-footer>.muted{font-size:10px}.form-footer .primary{padding:11px 12px}.project{padding:12px;gap:10px}.badge{font-size:9px;padding:5px}.project-icon{width:32px;height:38px}.clips{grid-template-columns:1fr}.clip video{aspect-ratio:9/11;max-height:440px}.steps{font-size:9px;gap:6px}footer{padding:0 18px;font-size:9px}footer .divider{padding:0 4px}#detail>.section-heading{flex-wrap:wrap}dialog{padding:20px}.clip-actions .button{font-size:12px}.error{font-size:12px}}
