.editor-workspace{z-index:30;background:var(--background);color:var(--foreground);flex-direction:column;height:100dvh;display:flex;position:fixed;inset:0;overflow:auto}.editor-project-bar{background:var(--card);border-bottom:0;flex-shrink:0;align-items:center;gap:16px;padding:8px 16px;display:flex}.editor-project-content{flex:1;min-width:0}.editor-project-inner{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.editor-project-main{flex:1;align-items:center;gap:16px;min-width:0;display:flex}.editor-title{flex:1;min-width:100px}.editor-title form{gap:0}.editor-title input{height:36px;padding:0 8px;font-size:16px}.editor-title form>div[data-title-status=saved]{display:none}.editor-title form>div[aria-live]:has(button){display:flex}.editor-project-inner>[aria-label]{flex-wrap:nowrap}.editor-layout{flex:1;grid-template-rows:minmax(0,1fr) 184px auto;grid-template-columns:96px 320px minmax(0,1fr);gap:12px;min-height:0;padding:4px 12px 12px;display:grid}.editor-layout--inspector-collapsed{grid-template-columns:96px minmax(0,1fr)}.editor-tool-rail{border:1px solid var(--border);border-radius:var(--radius-2xl);background:var(--card);flex-direction:column;grid-area:1/1;align-items:center;gap:8px;min-width:0;padding:12px 6px;display:flex}.editor-tool-rail .editor-tool-button{border-radius:var(--radius-xl);flex-direction:column;gap:4px;width:82px;height:auto;min-height:60px;padding:6px 2px;font-size:10px;line-height:1.1;display:flex}.editor-tool-rail .editor-tool-button span{white-space:normal;overflow-wrap:normal;text-align:center;max-width:100%;display:block}.editor-inspector{border:1px solid var(--border);border-radius:var(--radius-2xl);background:var(--card);overscroll-behavior:contain;flex-direction:column;grid-area:1/2;gap:20px;width:100%;min-width:0;min-height:0;padding:20px 16px;display:flex;overflow:auto}.video-style-inspector{container-type:inline-size}.video-style-inspector__scope,.video-style-inspector__treatment,.video-style-inspector__background-actions,.video-style-inspector__background-tabs{grid-template-columns:minmax(0,1fr);width:100%;display:grid}.video-style-inspector__scope>*,.video-style-inspector__treatment>*,.video-style-inspector__background-actions>*,.video-style-inspector__background-tabs>*{width:100%;min-width:0;min-height:44px}.video-style-inspector__background-tabs{height:auto}.video-style-inspector__background-tabs>[data-slot=tabs-trigger]{height:44px}.video-style-inspector__background-presets{grid-template-columns:minmax(0,1fr)}.video-style-inspector__background-presets>button{min-width:0;min-height:44px}@container (width>=180px){.video-style-inspector__scope{grid-template-columns:repeat(2,minmax(0,1fr))}.video-style-inspector__treatment{grid-template-columns:repeat(3,minmax(0,1fr))}.video-style-inspector__treatment>*{padding-inline:6px}.video-style-inspector__background-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width>=240px){.video-style-inspector__background-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.video-style-inspector__background-tabs,.video-style-inspector__background-presets{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=280px){.video-style-inspector__background-presets{grid-template-columns:repeat(4,minmax(0,1fr))}}.editor-stage-container{grid-area:1/3;min-width:0;min-height:0}.editor-layout>.editor-stage-container,.editor-layout>.editor-stage-container>.editor-stage{display:contents}.editor-layout .editor-preview{grid-area:1/3}.editor-layout.editor-layout--inspector-collapsed .editor-preview{grid-column:2}.editor-stage{flex-direction:column;height:100%;min-height:0;display:flex}.editor-preview{background:var(--background);flex:1;justify-content:center;align-items:center;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.editor-preview-media{width:auto;max-width:100%;height:100%;min-height:0}.editor-preview-media>div{width:100%;height:100%}.editor-preview-media>div>video{object-fit:contain}.editor-playback-error{width:auto;max-height:80%;position:absolute;bottom:16px;left:16px;right:16px;overflow:auto}.editor-dock{border:1px solid var(--border);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;background:var(--card);border-bottom:0;flex-direction:column;flex-shrink:0;gap:6px;padding:10px 16px 6px;display:flex}.editor-layout .editor-dock{grid-area:2/1/auto/-1;overflow-y:auto}.editor-dock-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.editor-dock-toolbar>div{gap:8px}.editor-dock-toolbar label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.editor-dock-toolbar div.min-w-\[12rem\]{min-width:0}.editor-dock-toolbar button{height:36px;min-height:36px}.editor-dock-minimal{gap:2px;padding-block:8px}.editor-dock-toolbar-minimal{justify-content:flex-start}.editor-track-minimal{padding-bottom:0}.editor-style-scrubber{cursor:pointer;outline:none;align-items:center;min-height:44px;display:flex;position:relative}.editor-style-scrubber:focus-visible{outline:2px solid var(--ring);outline-offset:-2px;border-radius:8px}.editor-style-scrubber-rail{background:var(--muted);border-radius:999px;width:100%;height:8px;display:flex;overflow:hidden}.editor-style-scrubber-rail>span{border-right:1px solid var(--card);background:color-mix(in oklab, var(--primary) 32%, var(--muted));min-width:2px}.editor-style-scrubber-playhead{background:var(--primary);pointer-events:none;border-radius:999px;width:2px;position:absolute;top:9px;bottom:9px;transform:translate(-1px)}.editor-style-scrubber-playhead:before{content:"";background:var(--primary);border-radius:999px;width:10px;height:10px;position:absolute;top:-1px;left:-4px}.editor-cut-actions{flex-wrap:wrap;gap:4px;display:flex}.editor-cut-actions button{padding:0 10px;font-size:12px}.editor-timeline-meta{justify-content:space-between;align-items:center;gap:12px;min-height:24px;display:flex}.editor-timeline-scroll{overscroll-behavior-x:contain;scrollbar-color:var(--muted-foreground) var(--muted);overflow-x:auto}.editor-track{min-width:100%;padding-bottom:4px;position:relative}.editor-ruler{cursor:crosshair;outline-offset:-2px;height:28px;color:var(--muted-foreground);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:10px;display:flex}.editor-ruler:focus-visible{outline:2px solid var(--ring)}.editor-segment{white-space:nowrap;background:var(--muted);border:1px solid var(--border);text-align:left;border-radius:6px;flex-direction:column;justify-content:center;gap:4px;width:100%;height:100%;padding:4px 10px;font-size:12px;display:flex;overflow:hidden}.editor-segment-selected{background:color-mix(in oklab, var(--primary) 14%, var(--card));border-color:var(--primary)}.editor-segment:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.editor-playhead{background:var(--primary);pointer-events:none;width:2px;position:absolute;top:17px;bottom:0}.editor-playhead:before{content:"";background:var(--primary);border-radius:3px;width:10px;height:10px;position:absolute;top:0;left:-4px}.editor-reset{align-items:center;gap:8px;height:28px;display:flex}.editor-dock>div[aria-live]:empty{display:none}.editor-dock>div[aria-live]{min-height:0}.editor-clip-panel{border:1px solid var(--border);border-radius:0 0 var(--radius-2xl) var(--radius-2xl);background:var(--card);border-top:0;grid-area:3/1/auto/-1;min-width:0;min-height:0;margin-top:-12px;overflow:hidden}.editor-clips-card{border-radius:inherit;box-shadow:none;border:0;gap:0;padding:8px 16px}.editor-clips-content{align-items:center;gap:12px;padding:0;display:flex}.editor-clip-actions{flex-shrink:0;order:2;max-width:40%}.editor-clip-actions button{height:34px;min-height:34px;font-size:12px}.editor-clip-scroll{overscroll-behavior:contain;flex:1;min-width:0;overflow:auto}.editor-clip-list{flex-direction:row;gap:8px;width:max-content;display:flex}.editor-clip{flex-wrap:nowrap;gap:4px;width:210px;padding:6px;position:relative}.editor-clip-menu{gap:0}.editor-clip-feedback:empty{display:none}.editor-clip-feedback{font-size:12px}.editor-recorder-layout{flex:1;grid-template-columns:minmax(0,1fr) minmax(360px,420px);gap:16px;min-height:0;padding:16px;display:grid;overflow:hidden}.editor-recorder-layout .editor-stage-container{grid-area:1/1;min-height:0;overflow:auto}.editor-recorder-layout .editor-clip-panel{border-top:0;grid-area:1/2;min-height:0;display:flex;overflow:hidden}.recorder-side-panel{flex-direction:column;gap:12px;width:100%;min-height:0;display:flex}.recorder-side-panel .recorder-setup-card{flex:1}.recorder-setup-card .recorder-setup-actions{z-index:10;background:var(--card);order:-2;padding-bottom:8px;position:sticky;top:0}.recorder-setup-card .recorder-setup-disabled-reason{order:-1}@media (width<=1000px){.editor-project-inner{gap:4px}.editor-project-main{flex-wrap:wrap;gap:4px}.editor-inspector{width:100%;padding:12px}.editor-layout:not(.editor-layout--inspector-collapsed){grid-template-columns:96px 280px minmax(0,1fr)}.editor-cut-actions button{padding:0 6px;font-size:11px}.editor-dock-toolbar{justify-content:flex-start}}@media (width<=700px),(height<=550px){.editor-workspace{width:100%;max-width:100%;height:auto;min-height:100dvh;position:absolute;overflow:visible}.editor-project-bar{flex-direction:column;align-items:stretch;padding:8px}.editor-project-bar>a{align-self:flex-start}.editor-project-inner,.editor-project-main{width:100%;min-width:0}.editor-layout{flex-direction:column;flex:none;gap:12px;min-height:0;padding:8px;display:flex}.editor-layout.editor-layout--inspector-collapsed .editor-preview{grid-column:auto}.editor-layout:not(.editor-layout--inspector-collapsed){grid-template-columns:none}.editor-tool-rail{flex-flow:wrap;justify-content:center;width:100%;padding:6px}.editor-tool-rail .editor-tool-button{flex-direction:row;width:auto;height:36px;font-size:12px}.editor-inspector{gap:8px;width:100%;max-height:min(70vh,520px);padding:12px}.editor-stage-container{flex:none;width:100%;min-width:0}.editor-stage{height:auto}.editor-preview{flex:none;height:240px;min-height:0;padding:0}.editor-dock{border:1px solid var(--border);border-radius:var(--radius-2xl);width:100%;min-width:0;padding:8px;overflow-y:visible}.editor-dock-toolbar{min-width:0}.editor-timeline-meta{flex-wrap:wrap;min-width:0}.editor-timeline-meta>span{overflow-wrap:anywhere}.editor-clip-panel{border:1px solid var(--border);border-radius:var(--radius-2xl);flex:none;width:100%;min-width:0;margin-top:0}.editor-clips-card{padding:8px}.editor-clip-scroll{flex-basis:100%;width:100%}.editor-clips-content{flex-wrap:wrap}.editor-clip-actions{max-width:100%}.editor-recorder-layout{flex-direction:column;padding:8px;display:flex;overflow:visible}.editor-recorder-layout .editor-clip-panel{order:1;height:min(620px,100dvh - 180px);min-height:460px}.editor-recorder-layout .editor-stage-container{order:2;overflow:visible}}.editor-clips-card>[data-slot=card-header]{display:none}
