:root{color:#f2f4f5;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0d0f10;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-width:280px;margin:0;overflow-x:hidden}button,textarea,input{font:inherit;-webkit-tap-highlight-color:transparent}button{min-width:44px;min-height:44px;color:inherit;touch-action:manipulation;cursor:pointer}button:focus-visible{outline-offset:2px;outline:3px solid #bdf65b}textarea:focus-visible{outline-offset:2px;outline:3px solid #bdf65b}[role=slider]:focus-visible{outline-offset:2px;outline:3px solid #bdf65b}button:disabled{cursor:default;opacity:.36}.welcome-shell{width:min(1120px,100%);min-height:100vh;min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));flex-direction:column;gap:28px;margin:auto;display:flex}.welcome-header{border-bottom:1px solid #282c2f;padding-bottom:20px}.brand{letter-spacing:-.8px;align-items:center;gap:10px;font-size:22px;font-weight:760;display:flex}.brand-icon{color:#17210c;background:#bdf65b;border-radius:9px;place-items:center;width:32px;height:32px;font-size:26px;display:grid}.welcome-main{flex:1}.intro{flex-direction:column;align-items:flex-start;gap:15px;margin:16px 0 26px;display:flex}.eyebrow,.header-kicker,.timeline-heading{color:#bdf65b;letter-spacing:1.8px;margin:0;font-size:10px}h1{letter-spacing:-1.6px;margin:0;font-size:clamp(32px,8vw,46px);line-height:1.05}.intro p:not(.eyebrow){color:#9ba2a6;max-width:560px;margin:0;font-size:14px;line-height:1.6}.import-button{color:#17210c;background:#bdf65b;border:0;border-radius:12px;align-items:center;gap:8px;margin-top:7px;padding:11px 18px;font-weight:700;display:flex}.import-button span{font-size:21px}.welcome-preview>.video-preview{border:1px solid #303538;border-radius:18px;height:clamp(250px,48vh,500px)}.welcome-shell footer{color:#899195;flex-direction:column;gap:10px;font-size:11px;display:flex}.pwa-status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pwa-status button{background:#22272a;border:1px solid #3a4145;border-radius:9px;padding:8px 12px}.editor-shell{height:100vh;height:100dvh;min-height:520px;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#0d0f10;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.editor-header{background:#121516;border-bottom:1px solid #292d30;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;padding:8px 10px;display:grid;position:relative}.editor-header>div{text-align:center;min-width:0}.editor-header strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;display:block;overflow:hidden}.header-kicker{margin-bottom:2px;font-size:8px;display:block}.save-status{color:#8d9a96;margin-top:2px;font-size:9px;line-height:1.2;display:block}.save-status.is-error{color:#ffb49a}.reconnect-panel{background:#1a211a;border:1px solid #3b4633;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;margin:4px 0 22px;padding:16px 18px;display:flex}.reconnect-panel h2{letter-spacing:-.3px;margin:0;font-size:18px}.reconnect-panel p:not(.eyebrow){color:#a7b0ad;max-width:560px;margin:0;font-size:13px;line-height:1.55}.reconnect-panel .storage-error{color:#ff9d7d}.modal-backdrop{z-index:50;background:#000000a8;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.modal{background:#1c2124;border:1px solid #3a4145;border-radius:14px;width:min(420px,100%);padding:18px;box-shadow:0 18px 50px #000c}.modal h2{margin:0 0 10px;font-size:16px}.modal p{color:#b0b8b6;margin:0 0 18px;font-size:13px;line-height:1.5}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.modal-actions button{background:#22272a;border:1px solid #3a4145;border-radius:9px;padding:9px 14px}.modal-actions button.primary,.modal-actions button:hover{color:#17210c;background:#bdf65b;border-color:#bdf65b}.icon-button{background:#202528;border:1px solid #343a3e;border-radius:11px;place-items:center;padding:0;display:grid}.project-menu{z-index:10;background:#202528;border:1px solid #3a4145;border-radius:11px;padding:5px;position:absolute;top:calc(100% + 6px);right:10px;box-shadow:0 12px 30px #0009}.project-menu button{white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:8px 14px}.editor-workspace{overscroll-behavior:contain;min-width:0;min-height:0;overflow-y:auto}.preview-column{min-width:0}.video-preview{background:#050607;place-items:center;min-width:0;display:grid;position:relative;overflow:hidden}.editor-shell .video-preview{height:clamp(210px,39dvh,430px)}.video-preview video{object-fit:contain;width:100%;height:100%}.video-preview video[hidden]{display:none}.empty-state{text-align:center;padding:24px}.empty-state h2{margin:0 0 8px;font-size:19px}.empty-state p{color:#91999d;margin:0;font-size:13px}.film-mark{color:#bdf65b;background:#19201d;border:1px solid #364039;border-radius:17px;place-items:center;width:60px;height:60px;margin:0 auto 18px;font-size:32px;display:grid}.loading{background:#14191ce8;border-radius:10px;margin:0;padding:10px 14px;font-size:12px;position:absolute;bottom:16px}.error{color:#ffd0b8;background:#32221c;border:1px solid #7c5542;border-radius:11px;margin:0 0 14px;padding:13px;font-size:13px;line-height:1.45}.editor-error{margin:8px 10px 0}.player-controls{background:#181c1e;border-top:1px solid #292e31;border-bottom:1px solid #292e31;align-items:center;gap:12px;min-height:58px;padding:7px 12px;display:flex}.play-control{color:#16200c;background:#bdf65b;border-color:#bdf65b}.time{font-variant-numeric:tabular-nums;gap:7px;font-size:13px;display:flex}.time-divider{color:#667076}.controls-spacer{flex:1}.future-control{font-size:10px}.timeline-section{background:#121516;border-bottom:1px solid #292e31;padding:12px 14px 15px}.timeline-heading{color:#879095;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:8px;display:flex}.trim-summary{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.timeline{cursor:pointer;touch-action:none;background:repeating-linear-gradient(90deg,#303638 0 28px,#292f31 28px 56px);border-radius:8px;height:62px;margin:0 14px;position:relative}.timeline.is-dragging{cursor:grabbing}.timeline-track{border-top:1px solid #465053;border-bottom:1px solid #465053;position:absolute;top:7px;bottom:7px;left:0;right:0}.timeline-scrub-surface{z-index:2;border-radius:inherit;position:absolute;top:0;bottom:0;left:0;right:0}.trim-active{z-index:1;pointer-events:none;background:#bdf65b12;border-top:2px solid #bdf65b;border-bottom:2px solid #bdf65b;position:absolute;top:3px;bottom:3px}.trim-outside{z-index:1;pointer-events:none;background:#050607a8;position:absolute;top:0;bottom:0}.trim-outside-start{border-radius:8px 0 0 8px;left:0}.trim-outside-end{border-radius:0 8px 8px 0}.playhead{z-index:5;cursor:ew-resize;background:0 0;border:0;width:44px;height:calc(100% + 14px);padding:0;position:absolute;top:50%;transform:translate(-50%,-50%)}.playhead:before{content:"";background:#fff;width:2px;position:absolute;top:4px;bottom:3px;left:50%;transform:translate(-50%)}.playhead span{background:#fff;border-radius:3px 3px 7px 7px;width:14px;height:9px;position:absolute;top:3px;left:50%;transform:translate(-50%)}.trim-handle{z-index:6;cursor:ew-resize;background:0 0;border:0;width:44px;height:calc(100% + 8px);padding:0;position:absolute;top:50%;transform:translate(-50%,-50%)}.trim-handle span{background:#26331b;border:2px solid #bdf65b;width:12px;position:absolute;top:4px;bottom:4px;left:50%;transform:translate(-50%)}.trim-start span{border-radius:7px 2px 2px 7px}.trim-end span{border-radius:2px 7px 7px 2px}.drag-time{z-index:8;color:#d9ffa0;font-variant-numeric:tabular-nums;text-align:center;pointer-events:none;background:#1c2417;border:1px solid #637047;border-radius:7px;min-width:78px;padding:5px 7px;font-size:10px;position:absolute;bottom:calc(100% + 8px);transform:translate(-50%)}.captions-panel,.export-panel{background:#161a1c;border-top:1px solid #303538;min-width:0}.export-panel-handle{text-align:left;background:0 0;border:0;grid-template-columns:32px auto 1fr 28px;align-items:center;gap:8px;width:100%;padding:8px 14px;display:grid}.export-content{padding:2px 14px 16px}.export-content .export-video{margin-top:10px}.export-result-heading{color:#bbc2c6;letter-spacing:.5px;text-transform:uppercase;margin:14px 0 0;font-size:12px}.export-content .export-error{color:#ff9e9e;background:#2a1818;border-color:#5b2b2b;border-radius:9px;margin-top:12px;padding:10px}.export-content .export-error h3{margin:0 0 4px;font-size:12px}.export-content .export-error p{margin:0;font-size:12px;line-height:1.45}.panel-handle{text-align:left;background:0 0;border:0;grid-template-columns:32px auto 1fr 28px;align-items:center;gap:8px;width:100%;padding:8px 14px;display:grid}.handle-mark{background:#596166;border-radius:9px;width:30px;height:4px}.caption-count{color:#aab1b5;background:#2b3134;border-radius:11px;justify-self:start;place-items:center;min-width:22px;height:22px;font-size:11px;display:grid}.chevron{justify-self:end;font-size:18px}.caption-list{max-height:min(31dvh,280px);padding:2px 12px 14px;overflow-y:auto}.caption-row{border-left:3px solid #0000;border-radius:9px;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:8px;display:grid}.caption-row+.caption-row{margin-top:4px}.caption-row.is-active{background:#222a25;border-left-color:#bdf65b}.caption-row.is-selected{box-shadow:inset 0 0 0 1px #56634f}.caption-time{color:#aeb6ba;font-variant-numeric:tabular-nums;background:#24292c;border:0;border-radius:7px;align-self:stretch;padding:6px;font-size:10px}.caption-row textarea{resize:vertical;color:#f0f2f3;background:#0f1213;border:1px solid #373e42;border-radius:8px;width:100%;min-width:0;padding:8px 10px;font-size:12px;line-height:1.35}.editor-toolbar{background:#161a1c;border-top:1px solid #303538;grid-template-columns:repeat(5,1fr);min-height:68px;display:grid}.editor-toolbar button{color:#9ba3a7;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;padding:5px 2px;display:flex}.editor-toolbar button>span{place-items:center;min-width:27px;height:25px;font-size:15px;font-weight:700;display:grid}.editor-toolbar small{font-size:9px}.editor-toolbar button.is-active{color:#bdf65b;background:#20271f}@media (min-width:700px){.welcome-shell{padding-top:calc(30px + env(safe-area-inset-top));gap:38px}.intro{grid-template-columns:minmax(0,1fr) auto;display:grid}.intro .eyebrow,.intro h1,.intro p{grid-column:1}.intro .import-button{grid-area:1/2/span 3;align-self:center}.welcome-shell footer{flex-direction:row;justify-content:space-between}.editor-shell{border-inline-start:1px solid #292e31;border-inline-end:1px solid #292e31;max-width:1200px;margin:auto}.editor-shell .video-preview{height:clamp(260px,48dvh,510px)}.caption-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.caption-row+.caption-row{margin-top:0}}@media (orientation:landscape) and (max-height:620px){.editor-shell{grid-template-rows:auto minmax(0,1fr) auto}.editor-workspace{grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);display:grid;overflow:hidden}.preview-column{grid-template-rows:minmax(140px,1fr) auto auto;min-height:0;display:grid}.editor-shell .video-preview{height:auto;min-height:0}.captions-panel{border-top:0;border-left:1px solid #303538;overflow:hidden}.captions-panel:not(.is-open){align-self:end}.caption-list{max-height:calc(100dvh - 130px);display:block}.timeline{height:47px}.timeline-section{padding-block-start:8px;padding-block-end:10px}.player-controls{min-height:52px}.editor-toolbar{min-height:58px}}@media (max-height:600px) and (orientation:portrait){.editor-shell .video-preview{height:190px}.timeline{height:48px}.caption-list{max-height:150px}}.bench-shell{width:min(920px,100%);min-height:100vh;min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));flex-direction:column;gap:16px;margin:auto;display:flex}.bench-header{border-bottom:1px solid #282c2f;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;display:flex}.bench-header h1{letter-spacing:-.4px;margin:0 0 4px;font-size:20px}.bench-sub{color:#9aa1a5;margin:0;font-size:13px}.bench-sub code{color:#bdf65b}.bench-link{color:#bdf65b;white-space:nowrap;font-size:13px;text-decoration:none}.bench-card{background:#121517;border:1px solid #292e31;border-radius:12px;padding:14px 16px}.bench-card h2{text-transform:uppercase;letter-spacing:.6px;color:#b8c0c4;margin:0 0 12px;font-size:13px}.bench-card h3{color:#c7cdd0;margin:14px 0 8px;font-size:12px}.bench-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.bench-field{color:#9aa1a5;flex-direction:column;gap:5px;font-size:11px;display:flex}.bench-field.bench-wide{grid-column:1/-1}.bench-field input[type=text],.bench-field select{color:#f0f2f3;background:#0f1213;border:1px solid #373e42;border-radius:8px;width:100%;padding:8px 10px;font-size:13px}.bench-status-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.bench-chip{color:#b8c0c4;background:#24292c;border-radius:999px;padding:5px 12px;font-size:12px;display:inline-block}.bench-chip[data-phase=ready],.bench-chip[data-phase=done]{color:#bdf65b;background:#1d2a1a}.bench-chip[data-phase=loading],.bench-chip[data-phase=probing],.bench-chip[data-phase=preparing],.bench-chip[data-phase=transcribing]{color:#e8c86a;background:#2a2516}.bench-chip[data-phase=error]{color:#ff8f8f;background:#331c1c}.bench-chip[data-phase=cancelled]{color:#c9cfd3;background:#2a2a2a}.bench-actions{flex-wrap:wrap;gap:8px;display:flex}.bench-actions button{color:#f0f2f3;background:#1a1f21;border:1px solid #3a4145;border-radius:9px;padding:8px 16px;font-size:13px}.bench-actions button:disabled{opacity:.36;cursor:default}.bench-actions button:not(:disabled):active{background:#242b2e}.bench-progress{margin-top:12px}.bench-progress-bar{background:#24292c;border-radius:999px;height:8px;overflow:hidden}.bench-progress-fill{background:#bdf65b;height:100%;transition:width .2s}.bench-progress-meta{color:#9aa1a5;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:11px;display:flex}.bench-file-button{color:#cfe6b4;cursor:pointer;background:#161b1d;border:1px dashed #4a5358;border-radius:9px;align-items:center;gap:8px;padding:8px 16px;font-size:13px;display:inline-flex}.bench-file-button input[type=file]{display:none}.bench-meta{color:#c2c9cc;flex-wrap:wrap;gap:14px;margin-top:12px;font-size:12px;display:flex}.bench-meta strong{color:#f0f2f3;font-weight:600}.bench-audio{width:100%;height:44px}.bench-text{color:#f0f2f3;margin:0 0 4px;font-size:14px;line-height:1.5}.bench-table-wrap{border:1px solid #292e31;border-radius:8px;max-height:260px;overflow:auto}.bench-table{border-collapse:collapse;width:100%;font-size:12px}.bench-table th,.bench-table td{text-align:left;vertical-align:top;border-bottom:1px solid #24292c;padding:6px 9px}.bench-table thead th{color:#9aa1a5;background:#161a1c;font-weight:600;position:sticky;top:0}.bench-table td{color:#d5dbde}.bench-metrics th{color:#9aa1a5;white-space:nowrap;font-weight:600}.bench-metrics td{font-variant-numeric:tabular-nums}.bench-muted{color:#6f777b;font-size:13px}.bench-note{color:#8b9296;margin:8px 0 0;font-size:12px;line-height:1.45}.bench-error-card{border-color:#4a2525}.bench-error{color:#ff9c9c;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.bench-diag-card{border-color:#5b3a17}.bench-diag-stack{color:#d8cdb8;white-space:pre-wrap;overflow-wrap:anywhere;background:#0b0d0e;border:1px solid #292e31;border-radius:8px;margin:6px 0 0;padding:8px 10px;font-size:12px;line-height:1.5}.bench-build{color:#c7cdd0;background:#0b0d0e;border:1px solid #292e31;border-radius:8px;margin-left:12px;padding:4px 8px;font-size:12px;display:inline-block}.bench-diag-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.bench-diag-head h2{margin:0}.bench-trace{background:#0b0d0e;border:1px solid #292e31;border-radius:8px;max-height:260px;margin-top:6px;padding:8px 10px;overflow-y:auto}.bench-trace-line{color:#c7cdd0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.55}.export-shell{min-height:100dvh;padding:max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));color:#f2f4f5;background:#0d0f10;align-content:start;gap:14px;width:min(100%,980px);margin:0 auto;display:grid;overflow:clip visible}.export-header{border-bottom:1px solid #2b3033;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;display:flex}.export-header h1{margin:0 0 5px;font-size:clamp(19px,5vw,25px)}.export-header p{color:#9ba3a7;margin:0;font-size:13px}.export-header a,.export-download{color:#bdf65b}.export-card{background:#141719;border:1px solid #2b3033;border-radius:13px;min-width:0;padding:15px}.export-card h2{color:#bbc2c6;letter-spacing:.5px;text-transform:uppercase;margin:0 0 12px;font-size:13px}.export-video{object-fit:contain;background:#050606;border-radius:10px;width:100%;max-width:100%;height:auto;margin-top:12px;display:block}.export-preview-frame{background:#050606;width:100%;max-width:100%;margin-top:12px;position:relative}.export-preview-frame .export-video{object-fit:contain;width:100%;height:100%;margin:0}.export-preview-caption{z-index:2;pointer-events:none;justify-content:center;display:flex;position:absolute;bottom:10%;left:8%;right:8%}.export-preview-caption span{color:#fff;overflow-wrap:anywhere;text-align:center;-webkit-text-stroke:1.5px #000;paint-order:stroke fill;text-shadow:0 2px 5px #000,0 0 3px #000;max-width:100%;font-size:clamp(16px,4.5vw,34px);font-weight:700;line-height:1.18}.export-file-button{color:#d9f0c1;cursor:pointer;border:1px dashed #566168;border-radius:9px;padding:9px 16px;display:inline-flex}.export-file-button input{display:none}.export-facts{color:#99a1a5;flex-wrap:wrap;gap:10px 18px;margin-top:12px;font-size:12px;display:flex}.export-facts strong{color:#eef1f2;font-weight:600}.export-card details{color:#aeb6ba;margin-top:12px;font-size:12px}.export-card pre{white-space:pre-wrap;background:#0b0d0e;border-radius:8px;max-height:230px;padding:10px;overflow:auto}.export-caption-list{gap:8px;display:grid}.export-caption-list div{background:#0f1213;border-radius:8px;grid-template-columns:minmax(92px,auto) 1fr;gap:12px;padding:9px;font-size:12px;display:grid}.export-caption-list span{color:#929b9f;font-variant-numeric:tabular-nums}.export-actions{flex-wrap:wrap;gap:8px;display:flex}.export-actions button,.export-download{color:#eef1f2;font:inherit;background:#1c2224;border:1px solid #414a4f;border-radius:9px;padding:9px 15px;text-decoration:none;display:inline-block}.export-start{background:#171d17;border:1px solid #3c4835;border-radius:11px;margin-top:12px;padding:12px}.export-actions .export-primary-action{color:#17210c;background:#bdf65b;border-color:#bdf65b;font-weight:750}.export-actions button:disabled{opacity:.38}.export-disabled-reason{color:#d4c989;margin:8px 0 0;font-size:12px;line-height:1.4}.export-progress{background:#282e31;border-radius:999px;height:9px;margin-top:13px;overflow:hidden}.export-progress div{background:#bdf65b;height:100%;transition:width .2s linear}.export-note{color:#8e969a;margin:9px 0 0;font-size:12px;line-height:1.45}.export-error{color:#ff9e9e;border-color:#5b2b2b}.export-error p{margin:0}.export-download{color:#bdf65b;margin-top:14px}@media (max-width:520px){.export-header{display:grid}.export-caption-list div{grid-template-columns:1fr;gap:4px}.export-start .export-actions{grid-template-columns:1fr;display:grid}.export-start .export-actions button{width:100%;min-height:52px}}
