:root{color:#dedfe2;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--muted:#999ca4;--line:#303238;--accent:#bbdb9c;--mono:ui-monospace, Consolas, monospace;background:#141517;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.45}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}button,a{color:inherit}a{text-decoration:none}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button,summary,a{transition:background .12s,color .12s}input,textarea{color:#eee;background:#111215;border:1px solid #42454d;border-radius:4px;width:100%;padding:8px 10px}input:focus,textarea:focus{border-color:#96aa82;outline:none}input::placeholder,textarea::placeholder{color:#8a8d97}label{font-size:12px}h1,h2,p{margin:0}small{color:var(--muted);font-size:11px}svg{flex-shrink:0}.button,.icon-button,.text-button,.sync-button{white-space:nowrap;background:#25272d;border:1px solid #3b3d44;border-radius:4px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:7px 10px;font-size:12px;display:inline-flex}.button:hover:not(:disabled),.sync-button:hover:not(:disabled){background:#33363c}.button.primary{background:var(--accent);border-color:var(--accent);color:#202919}.primary:hover:not(:disabled){background:#ccebad}.icon-button{color:#b0b2bb;background:0 0;border:0;border-radius:3px;width:28px;height:28px;min-height:28px;padding:5px}.icon-button:hover:not(:disabled){color:#fff;background:#373940}.text-button{color:#becdb0;background:0 0;border:0;min-height:25px;padding:3px}.text-button:hover{color:#e0f0d2}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{border-bottom:1px solid var(--line);background:#1a1b1e;flex-shrink:0;align-items:center;gap:26px;height:50px;padding:0 14px;display:flex}.brand{letter-spacing:-.5px;white-space:nowrap;font-size:17px;font-weight:650}.brand span{color:#aaaeb6;font-weight:400}.app-actions{align-items:center;gap:7px;margin-left:auto;display:flex}.menu{position:relative}.menu summary{cursor:pointer;list-style:none}.menu summary::-webkit-details-marker{display:none}.menu-content{z-index:10;background:#25262b;border:1px solid #494b54;border-radius:5px;width:196px;padding:5px;position:absolute;top:35px;right:0;box-shadow:0 8px 25px #0006}.menu-content button,.menu-content a{text-align:left;background:0 0;border:0;border-radius:3px;align-items:center;gap:9px;width:100%;padding:9px;font-size:12px;display:flex}.menu-content button:hover,.menu-content a:hover{background:#393b42}.add-bar{border-bottom:1px solid var(--line);background:#1a1b1e;align-items:center;gap:10px;padding:10px 14px;display:flex}.add-bar label{white-space:nowrap;color:#c0c2c8;font-size:12px}.add-bar textarea{resize:vertical;flex:1;height:34px;min-height:34px;max-height:130px;padding:8px 10px;font-size:12px;line-height:17px}.add-bar .button{min-width:68px;height:34px}.workspace{flex:1;min-width:0;padding:8px}.player-grid{--player-min-width:402px;align-items:start;gap:6px;display:grid}.player-tile{background:#1c1d21;border:1px solid #393b42;border-radius:3px;min-width:0;overflow:hidden}.player-tile.is-source{border-color:#728261}.player-tile.is-dragging{opacity:.6}.player-tile.is-drop-target{outline:2px solid var(--accent);outline-offset:-2px}.is-reordering .player-frame{pointer-events:none}.reorder-handle{cursor:grab;flex:0 0 20px;width:20px;padding:2px}.reorder-handle:active{cursor:grabbing}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.player-heading{background:#202125;flex-shrink:0;align-items:center;gap:10px;height:36px;padding:0 7px;display:flex}.player-heading>strong{text-overflow:ellipsis;white-space:nowrap;min-width:35px;font-size:12px;font-weight:550;overflow:hidden}.player-heading>time{font:11px var(--mono);color:#aeb1b8;white-space:nowrap;margin-left:auto}.player-actions{align-items:center;gap:2px;display:flex}.workspace-controls{border-left:1px solid var(--line);align-items:center;gap:2px;margin-left:3px;padding-left:3px;display:flex}.sync-button{color:#cbdcc0;background:#272a25;border-color:#444c3d;height:26px;min-height:26px;margin-right:4px;padding:4px 7px;font-size:10px}.sync-button.selected{color:#e1eed6;background:#3a4730;border-color:#687c55}.player-frame{aspect-ratio:16/9;background:#080809;width:100%;min-height:300px;position:relative;overflow:auto}.twitch-embed{min-width:400px;min-height:300px;position:absolute;inset:0}.twitch-embed iframe{border:0;display:block;width:100%!important;height:100%!important}.kick-player{position:absolute;inset:0}.kick-player video{object-fit:contain;background:#000;width:100%;height:100%;display:block}.boundary-state{z-index:2;text-align:center;pointer-events:none;background:#111216f2;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:20px;display:flex;position:absolute;inset:0}.boundary-state strong{font-size:17px;font-weight:500}.boundary-state p{color:#b1a586;font-size:12px}.boundary-state .button{pointer-events:auto}.seek-hold{color:#cbdcc0;flex-shrink:0;align-items:center;display:flex}.buffer-status{color:#cbdcc0;flex-shrink:0;align-items:center;gap:8px;padding:3px 10px;font-size:11px;display:flex}.buffer-status>span{flex:1}.buffer-status .text-button{font-size:11px}.player-error{color:#e1c3a9;background:#302923;align-items:center;gap:10px;padding:6px 10px;font-size:11px;display:flex}.player-error .text-button{margin-left:auto;font-size:11px;text-decoration:underline}.demo-screen{background:#202820;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;inset:0}.demo-screen>span{color:#8e9b89;font-size:10px;position:absolute;top:13px;left:14px}.demo-screen>strong{color:#c6d5bb;font-size:28px;font-weight:400}.demo-screen>time{font:24px var(--mono);color:#9cac91}.demo-screen input{width:calc(100% - 36px);accent-color:var(--accent);position:absolute;bottom:18px;left:18px;right:18px}.demo-banner{color:#afbea4;background:#293125;justify-content:space-between;align-items:center;gap:10px;padding:5px 15px;font-size:11px;display:flex}.demo-banner .text-button{font-size:11px}.empty{justify-content:center;align-items:center;min-height:350px;display:flex}.empty-state{text-align:center;padding:60px 20px}.empty-state h1{letter-spacing:-.4px;font-size:21px;font-weight:500}.empty-state p{color:var(--muted);margin:12px 0 20px;font-size:13px;line-height:1.8}.empty-state .text-button{font-size:12px}.timeline{--timeline-margin:8px;--timeline-padding:10px;--label-width:101px;--time-width:120px;--link-width:28px;--lane-gap:10px;--track-left:calc(var(--label-width) + var(--lane-gap));--track-right:calc(var(--time-width) + var(--link-width) + 2 * var(--lane-gap));margin:0 var(--timeline-margin) 8px;border:1px solid var(--line);padding:8px var(--timeline-padding) 10px;background:#1b1c20;border-radius:3px;flex-shrink:0}.timeline-toolbar{align-items:center;gap:9px;margin-bottom:4px;display:flex}.timeline-toolbar time{font:11px var(--mono);color:#9fa2ab}.timeline-clock{white-space:nowrap;align-items:center;display:flex}.timezone-toggle{color:#9fa2ab;font:11px var(--mono);background:0 0;border:0;border-radius:3px;min-height:28px;padding:5px 4px}.timezone-toggle:hover{color:#fff;background:#373940}.timeline-toolbar strong{color:#dde0e5;margin:0 5px;font-weight:500}.timeline-toolbar>span{color:#9699a2;margin-left:auto;font-size:10px}.timeline-toggle{width:32px;height:24px;min-height:24px;padding:0}.timeline-ruler{margin:0 var(--track-right) 4px var(--track-left);color:#9699a2;font:10px var(--mono);justify-content:space-between;display:flex}.timeline-lanes{position:relative}.timeline-row{grid-template-columns:var(--label-width) minmax(0, 1fr) var(--time-width) var(--link-width);align-items:center;gap:var(--lane-gap);min-height:24px;display:grid}.timeline-recording{align-items:center;gap:3px;min-width:0;display:flex}.timeline-remove{flex:0 0 24px;width:24px;height:24px;min-height:24px;padding:3px}.timeline-recording>span{text-overflow:ellipsis;white-space:nowrap;color:#b9bcc3;font-size:11px;overflow:hidden}.timeline-track{background:repeating-linear-gradient(90deg,#0000,#0000 calc(25% - 1px),#35373f calc(25% - 1px) 25%);border-left:1px solid #35373f;border-right:1px solid #35373f;flex:1;height:17px;position:relative}.timeline-range{background:#495041;border-radius:1px;min-width:1px;height:9px;position:absolute;top:4px}.timeline-range.active{background:#94ac7d}.timeline-range.drifted{background:#8b7048}.timeline-track i{z-index:1;background:#dcebcf;width:1px;position:absolute;top:0;bottom:0}.timeline-position{font:11px var(--mono);color:#bfc6b7;text-align:right;flex-shrink:0}.timeline-position time{display:block}.timeline-position small{font:10px var(--mono);color:#aaaeb7;padding-top:2px;display:block}.timeline-position.drifted small,.timeline-position.changed small,.timeline-position.before,.timeline-position.ended{color:#cdb793}.timeline-track .actual-playhead{z-index:2;background:#dcab68;width:3px;position:absolute;top:-2px;bottom:-2px;transform:translate(-50%)}.timeline-track .actual-playhead.aligned{background:#d8efc2}.timeline-seeker{left:calc(var(--track-left) - 3px);right:calc(var(--track-right) - 3px);width:calc(100% - var(--track-left) - var(--track-right) + 6px);cursor:ew-resize;appearance:none;z-index:2;color:#0000;background:0 0;border:0;height:100%;margin:0;padding:0;position:absolute;top:0;bottom:0}.timeline-seeker:focus{outline-offset:2px;background:0 0;outline:1px solid #80976e}.timeline-seeker::-webkit-slider-runnable-track{background:0 0;height:100%}.timeline-seeker::-webkit-slider-thumb{appearance:none;background:0 0;border:0;width:6px;height:100%}.timeline-seeker::-moz-range-track{background:0 0;height:100%}.timeline-seeker::-moz-range-thumb{background:0 0;border:0;width:6px;height:100%}.timeline-seeker:hover{background:#dcebcf08}.notice{color:#e3cba9;background:#362c20;border-bottom:1px solid #5a4930;justify-content:space-between;align-items:center;gap:10px;padding:8px 14px;font-size:12px;display:flex}.undo-notice{background:#242820;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;padding:2px 8px;font-size:11px;display:flex}.undo-notice>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-list{flex-direction:column;gap:5px;display:flex}.order-row{align-items:center;gap:6px;display:flex}.order-row>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.order-row>select{color:inherit;font:inherit;background:#111215;border:1px solid #42454d;border-radius:3px;padding:5px}.lookup-errors{color:#dfb2ab;background:#302322;padding:5px 14px;font-size:12px}.lookup-errors>div{align-items:baseline;gap:15px;padding:5px 0;display:flex}.lookup-errors strong{overflow-wrap:anywhere;max-width:35%;font-size:11px;font-weight:500}.lookup-errors span{flex:1}.watch-mode{background:#080809;height:100dvh;overflow:auto}.watch-mode>.topbar,.watch-mode>.add-bar{display:none}.watch-mode .workspace{flex:1;min-height:0;padding:3px;display:flex}.watch-mode .player-grid{flex:1;align-content:stretch;align-items:stretch;gap:3px;width:100%}.watch-mode .player-tile{border-radius:0;flex-direction:column;display:flex}.watch-mode .player-frame{aspect-ratio:auto;flex:1;min-height:300px}.watch-mode .timeline{--timeline-margin:3px;--timeline-padding:8px;margin:0 var(--timeline-margin) 3px;padding:4px var(--timeline-padding) 6px}.watch-mode .timeline-toolbar{margin-bottom:0}.watch-mode .timeline-toolbar>span{display:none}.watch-mode .demo-banner{padding:2px 10px;font-size:10px}dialog{color:#e0e2e7;background:#23252b;border:1px solid #4e515b;border-radius:6px;width:min(440px,100vw - 28px);max-height:90vh;padding:0;box-shadow:0 14px 70px #0008}dialog::backdrop{background:#090a0cb8}.modal-content{padding:20px}.modal-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;display:flex}.modal-heading h2{font-size:17px;font-weight:550}.form-stack{flex-direction:column;gap:17px;display:flex}.form-stack label{flex-direction:column;gap:7px;display:flex}.form-stack form{flex-direction:column;gap:10px;display:flex}.form-stack form+form{border-top:1px solid var(--line);padding-top:16px}.form-stack form>.button{align-self:flex-start}.form-stack p,.help-content p{color:#b0b4be;font-size:12px;line-height:1.8}.form-stack a{color:#c5d8b6;text-decoration:underline}.form-stack code{overflow-wrap:anywhere;background:#15171b;border:1px solid #3f434d;border-radius:3px;padding:10px;font-size:11px}.help-content p+p{margin-top:15px}.help-content strong{color:#e0e3e9}.error{color:#ebb1a3;font-size:12px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (min-width:1650px){.player-grid{--player-min-width:530px}}@media (max-width:700px){.topbar{gap:13px;height:46px;padding:0 9px}.brand{font-size:15px}.app-actions{gap:4px}.app-actions>.button{min-height:28px;padding:5px 7px}.app-actions>.button span{display:none}.app-actions .watch-button{width:30px}.add-bar{gap:7px;padding:8px}.add-bar label{display:none}.add-bar textarea{white-space:normal;min-height:36px;font-size:11px}.add-bar .button{min-width:54px;font-size:11px}.workspace{padding:5px}.player-grid{gap:5px}.player-heading{gap:5px;height:34px;padding:0 5px}.player-heading>strong{font-size:11px}.player-heading>time{font-size:10px}.player-actions{gap:0}.player-actions .icon-button{width:25px}.sync-button{margin-right:1px;padding:3px 5px;font-size:9px}.player-frame{min-height:300px}.timeline{--timeline-margin:5px;--timeline-padding:6px;--label-width:70px;--time-width:112px;--lane-gap:7px;margin:0 var(--timeline-margin) 5px;padding:6px var(--timeline-padding)}.timeline-toolbar time,.timezone-toggle{font-size:9px}.timeline-toolbar>span{display:none}.timeline-recording>span,.timeline-position{font-size:10px}.timeline-ruler{font-size:8px}.demo-banner{padding:3px 9px;font-size:10px}.demo-banner .text-button{font-size:10px}.lookup-errors>div{flex-direction:column;gap:3px}.lookup-errors strong{max-width:100%}.watch-mode .workspace{min-height:auto;display:block}.watch-mode .player-grid{display:grid}.watch-mode .player-frame{aspect-ratio:16/9}.empty-state{padding:40px 15px}.empty-state h1{font-size:19px}.empty-state p{font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.workspace:not(.empty){flex:0}.watch-mode .workspace:not(.empty){flex:1}.balanced-grid{height:100dvh}.balanced-grid .workspace:not(.empty){flex:1;min-height:min-content;display:flex}.balanced-grid .player-grid{flex:1;align-items:stretch;width:100%}.balanced-grid .player-tile{flex-direction:column;display:flex}.balanced-grid .player-frame{aspect-ratio:auto;flex:1}@media (max-width:700px){.add-bar textarea{height:52px}}.provider-label{color:var(--muted);font-size:11px}.external-recording{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;min-height:300px;padding:24px;display:flex}.external-recording>strong{overflow-wrap:anywhere;max-width:42ch}.external-recording>time{font-family:monospace;font-size:24px}.external-recording>p{margin:0}.external-recording>small{color:var(--muted);max-width:36ch}
