:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) [data-slot=entry-generation-workspace-grid]{align-items:start}@media (min-width:768px){:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) [data-slot=entry-generation-workspace-grid]{grid-template-columns:minmax(248px,280px) minmax(0,1fr);gap:16px;align-items:start}:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) :is(.motion-input-panel,.studio-input-panel){height:auto;max-height:calc(100dvh - var(--shell-header-offset, 4rem) - var(--reference-workspace-bottom-gap, 48px));min-height:0;align-self:start}:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) :is(.motion-input-panel,.studio-input-panel),:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) :is(.motion-studio-panel,.motion-generator-stage--tabs){height:calc(100dvh - var(--shell-header-offset, 4rem) - var(--reference-workspace-bottom-gap, 48px));min-height:0;align-self:stretch}:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) .studio-results-scroll{overflow-y:auto;scrollbar-gutter:stable}}@media (min-width:1200px){:is([data-motion-workspace-layout] .motion-studio-split,.reference-workspace) [data-slot=entry-generation-workspace-grid],html[data-motion-workspace-layout=sibling] .motion-studio-split [data-slot=entry-generation-workspace-grid]{grid-template-columns:280px minmax(0,1fr);gap:18px}}@media (width < 48rem){html:has(.motion-mobile-navigation){--mobile-bottom-nav-height:calc(4rem + env(safe-area-inset-bottom))}.motion-mobile-navigation{height:var(--mobile-bottom-nav-height)}.motion-mobile-navigation nav{padding-bottom:env(safe-area-inset-bottom)}.motion-tab-row{min-height:calc(4rem - 1px);align-items:stretch}.motion-tab-row>:is(a,button){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;color:var(--muted-foreground);font-size:clamp(10px,2.8vw,12px);font-weight:600;line-height:1.15;text-align:center}.motion-tab-icon{display:grid;place-items:center;width:42px;height:28px;border-radius:999px}.motion-tab-icon svg{width:20px;height:20px}.motion-tab-row [aria-current=page]{color:var(--foreground)}.motion-tab-row [aria-current=page] .motion-tab-icon{background:var(--accent);color:var(--accent-foreground)}.motion-tab-create{margin-top:-4px;height:32px;border-radius:10px;background:var(--motion-highlight,var(--primary));color:var(--motion-highlight-ink,var(--primary-foreground))}html:has(.motion-mobile-navigation) .motion-feedback-trigger{bottom:calc(var(--mobile-bottom-nav-height) + .75rem)}body[data-scroll-locked] .motion-mobile-navigation nav{visibility:hidden}}html:has(.motion-mobile-navigation) #entry-generation-composer .motion-inline-template,html:has(.motion-mobile-navigation) #entry-generation-composer:target{scroll-margin-top:calc(var(--shell-header-offset, 4rem) + 12px)}html:has(.motion-mobile-navigation) .motion-inline-template:has(>.motion-trend-trigger){gap:4px;padding:4px;&>.motion-trend-trigger{flex:1;min-width:0;margin:0;padding:4px;border:0;border-radius:8px}&>button:last-child{display:grid;width:44px;min-height:44px;place-items:center;border-radius:8px}&>button:last-child:hover{background:var(--secondary)}}@media (max-width:767px){[data-mobile-template-picker],html:has(.motion-mobile-navigation) :is([data-motion-frame=reference-home],.reference-workspace){& [data-slot=entry-generation-workspace-grid]>[id$=-composer]{scroll-margin-top:calc(var(--shell-header-offset, 4rem) + min(49.5vw, 240px) + 24px)}& .motion-input-panel:has(.motion-inline-template,.motion-reference-inputs),&:has(.motion-template[data-selected=true]) .motion-input-panel{height:auto;max-height:none;overflow:visible}& .motion-input-scroll:has(.motion-inline-template,.motion-reference-inputs),&:has(.motion-template[data-selected=true]) .motion-input-scroll{overflow:visible;flex:none}& .motion-template-grid .motion-template{scroll-margin-top:calc(var(--shell-header-offset, 4rem) + 4px)}& .motion-input-scroll:has(.motion-inline-template) .motion-input-heading{display:none}& .motion-inline-template{margin-bottom:10px;padding:6px 8px}& .motion-input-scroll{container:motion-home-inputs/inline-size;--motion-upload-height:96px}& .motion-input-panel .motion-photo-grid,& .motion-reference-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}& .motion-input-panel .motion-photo-grid[data-role-count="1"],& .motion-input-panel [data-paired-photo-groups] .motion-photo-grid{grid-template-columns:minmax(0,1fr)}& .motion-input-panel [data-paired-photo-groups]{display:flex;flex-wrap:wrap;align-items:start}& [data-paired-photo-groups]>:is(.motion-required-photos,.motion-optional-photos,.motion-role-slot){flex:1 1 8.75rem;min-width:0}& [data-paired-photo-groups]>.motion-photo-group-source{flex-basis:100%}& .motion-input-panel [data-paired-photo-groups]:has(details[open]){align-items:end}& [data-paired-photo-groups] :is(.motion-photo-group-heading,summary){min-height:32px;gap:4px;overflow-wrap:anywhere}@container motion-home-inputs (min-width: 308px){& .motion-input-panel .motion-photo-grid:has(>:nth-child(3)),& .motion-reference-inputs:has(.motion-image-scroll>:nth-child(2)){grid-template-columns:repeat(3,minmax(0,1fr))}}& .motion-input-panel .motion-role-slots .motion-photo-tile,& .motion-reference-inputs .motion-compact-media>:is(.motion-slot-filled,.motion-upload-zone),& .motion-reference-inputs .motion-photo-tile{max-width:none;height:var(--motion-upload-height);aspect-ratio:auto}& .motion-input-panel .motion-role-slots .motion-photo-tile>.motion-upload-zone,& .motion-reference-inputs .motion-photo-tile>.motion-upload-zone{height:100%;min-height:0}& .motion-reference-add,& .motion-reference-inputs:has(>.motion-image-list)>.motion-compact-media{display:contents}& .motion-reference-inputs .motion-slot-filled:has(>.motion-video-tools){display:grid;grid-template-rows:minmax(0,1fr) auto}& .motion-slot-filled>.motion-video-tools{margin:0;border-top:1px solid var(--border);background:var(--secondary)}& .motion-slot-filled>.motion-video-tools>button{width:100%;min-height:30px;justify-content:center;line-height:1.15}& .motion-reference-inputs:has(>.motion-image-list)>.motion-compact-media>.motion-video-tools{order:1;grid-column:1/-2;margin-top:0}& .motion-reference-count{order:1;grid-column:-2/-1;margin-top:0;text-align:end}& .motion-reference-inputs .motion-photo-group-source{order:2}& .motion-studio-panel{order:-1}& .studio-results-scroll:has(.motion-template-panel){max-height:none;overflow:visible;padding:10px}& .motion-template-toolbar{position:static;align-items:center;flex-wrap:nowrap;gap:6px;padding:0 0 10px}& .motion-template-feed-switch,& .motion-template-filters{align-items:center;background:var(--secondary);border:1px solid var(--border);border-radius:999px;padding:3px;margin:0}& .motion-template-filters{flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}& .motion-template-toolbar button{min-height:34px;border-radius:999px;padding-inline:9px;white-space:nowrap}& .motion-template-feed-switch button[aria-pressed=true]{background:var(--motion-highlight,var(--primary));color:var(--motion-highlight-ink,var(--primary-foreground))}& .motion-template-grid[data-layout=masonry]{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-block:3px}& .motion-template-grid>div{flex:0 0 min(40%,180px)}& .motion-template-grid>[data-landscape]{flex-basis:min(88%,427px)}& .motion-template-media{height:min(49.5cqw,240px);transform:none}& .motion-template-media :is(img,video){object-fit:cover}& .motion-template-more{display:none}& .motion-template-details{pointer-events:none;padding-inline-end:4px;gap:4px}& .motion-template-card-action,& .motion-template-name[href]{pointer-events:auto}& .motion-template-card-action{min-width:44px;min-height:44px;border:6px solid transparent;background-clip:padding-box;box-shadow:none;outline-offset:-3px}& [data-landscape] .motion-template-card-action{width:auto;padding-inline:8px}& [data-landscape] .motion-template-card-action>span{display:inline}}}html:has(.motion-feed){overflow:hidden}@media (width < 48rem){body:has(.motion-feed) [data-preview-identity]{top:64px;bottom:auto!important}body:has(.motion-feed) .motion-mobile-navigation nav{background:#191c19;border-color:#3c433c}body:has(.motion-feed) .motion-tab-row>:is(a,button){color:#dce2dc}}.motion-feed{position:fixed;inset:0 0 var(--mobile-bottom-nav-height,4rem);z-index:35;background:#000;color:#fff;isolation:isolate;text-align:left}.motion-feed-rail{position:absolute;inset:0;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}.motion-feed-rail[data-feed-discovery]{overflow-anchor:none}.motion-feed-end,.motion-feed-rail article{position:relative;height:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}.motion-feed-backdrop,.motion-feed-player,.motion-feed-poster{position:absolute;inset:0;width:100%;height:100%}.motion-feed-backdrop{object-fit:cover;filter:blur(32px) brightness(.45);transform:scale(1.15)}.motion-feed-player video{width:100%;height:100%}.motion-feed-play,.motion-feed-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:12px;border-radius:999px;background:#101411be;color:white}.motion-feed-frame:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0009,transparent 18%,transparent 56%,#000c)}.motion-feed-actions,.motion-feed-caption,.motion-feed-status,.motion-feed-top{z-index:1}.motion-feed-top{position:absolute;top:max(12px,env(safe-area-inset-top));inset-inline:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;font-weight:700}.motion-feed-cta,.motion-feed-next,.motion-feed-top a{display:inline-flex;align-items:center;gap:8px;min-height:44px}.motion-feed-browse{pointer-events:auto;padding:0 13px;font-size:13px;background:#161b17b3;border:1px solid #ffffff50;border-radius:999px}.motion-feed-caption{position:absolute;left:18px;right:76px;bottom:20px;pointer-events:none;display:grid;justify-items:start;gap:8px}.motion-feed-caption :is(h1,h2){font:700 clamp(22px,6vw,32px) /1.12 var(--font-heading);text-wrap:balance;text-shadow:0 1px 6px #0008}.motion-feed-caption :is(a,button){pointer-events:auto}.motion-feed-cta{padding:0 18px;border-radius:12px;background:var(--motion-highlight);color:var(--motion-highlight-ink);font-weight:700}.motion-feed-next{font-size:12px;min-height:32px}.motion-feed-actions{position:absolute;right:10px;bottom:24px;display:grid;gap:12px}.motion-feed-actions :is(a,button){display:grid;justify-items:center;gap:3px;font-size:11px;font-weight:600;text-shadow:0 1px 4px #000}.motion-feed-actions span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid #ffffff75;background:#161b17ab}.motion-feed-actions svg{width:20px}.motion-feed-frame{position:relative;height:100%;overflow:hidden;background:#151716}.motion-feed-account,.motion-feed-brand{pointer-events:auto}.motion-feed-account,.motion-feed-brand img{display:none}.motion-feed-end{display:grid;place-content:center;justify-items:center;gap:16px}.motion-feed-end h2{font:700 2rem/1.1 var(--font-heading)}.motion-feed-stack{display:flex;padding:12px}.motion-feed-stack img{width:clamp(56px,12vw,92px);aspect-ratio:9/16;object-fit:cover;border:2px solid white;border-radius:12px;transform:rotate(-8deg)}.motion-feed-stack img:nth-child(2){z-index:1;margin-inline:-12px;transform:translateY(-8px)}.motion-feed-stack img:nth-child(3){transform:rotate(8deg)}@media (min-width:48rem){.motion-feed{bottom:0}.motion-feed-frame{width:min(100%,56.25dvh);margin-inline:auto}.motion-feed-top{top:0;inset-inline:0;max-width:72rem;height:56px;padding-inline:16px;margin-inline:auto}.motion-feed-account,.motion-feed-brand img{display:block}.motion-feed-top .motion-feed-browse{display:none}.motion-feed-caption :is(h1,h2){font-size:clamp(26px,4dvh,36px)}.motion-feed-account button{cursor:pointer}.motion-feed-account button[aria-label]{background:white;color:#202320}}.video-editor-input{gap:0;padding:20px 18px 18px;border-radius:12px}.video-editor-input .motion-input-heading{margin-bottom:24px}.video-editor-references{display:grid;gap:20px}.video-editor-input .studio-upload{width:100%;min-height:96px;border-style:solid;color:var(--foreground)}.video-editor-input .studio-media-actions{grid-template-columns:minmax(0,1fr)}.video-editor-input .studio-media-actions .studio-upload{min-height:72px;aspect-ratio:auto;flex-direction:row}.video-editor-input .studio-prompt{min-height:120px}.video-editor-input .studio-input-footer{margin-top:auto}.video-editor-preview{display:flex;width:100%;height:100%;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;color:var(--muted-foreground);text-align:center;font-size:12px}.video-editor-preview>video{max-height:min(70dvh,680px);width:100%;border-radius:12px;background:var(--motion-media);object-fit:contain}.motion-input-panel.video-upscale-input{padding:20px 18px 18px}.video-upscale-input .motion-input-heading,.video-upscale-source{margin-bottom:24px}.video-upscale-field-label,.video-upscale-resolution>legend{color:var(--foreground);font-size:12px;font-weight:600}.video-upscale-media{margin:10px 0 0}.video-upscale-input .video-upscale-upload{min-height:164px;gap:5px;border:1px solid var(--border);border-radius:10px;background:var(--background)}.video-upscale-upload-icon{display:grid;width:42px;height:42px;place-items:center;margin-bottom:6px;border:1px solid var(--border);border-radius:12px;background:var(--card)}.video-upscale-upload-title{font-size:13px;font-weight:600}.video-upscale-file-hint,.video-upscale-upload-hint{color:var(--muted-foreground);font-size:11px;line-height:1.45}.video-upscale-file-hint{margin:9px 0 0;text-align:center}.video-upscale-file{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--background)}.video-upscale-file-thumbnail{width:64px;height:64px;flex:none;overflow:hidden;border-radius:7px;background:var(--card)}.video-upscale-file-details{display:grid;min-width:0;flex:1;gap:4px;font-size:11px;line-height:1.3}.video-upscale-file-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-upscale-file-details span{color:var(--muted-foreground)}.video-upscale-replace{justify-self:start;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.video-upscale-remove{display:grid;width:28px;height:28px;flex:none;align-self:flex-start;place-items:center;border-radius:50%;color:var(--muted-foreground);cursor:pointer}.video-upscale-remove:focus-visible,.video-upscale-remove:hover{color:var(--foreground);background:var(--secondary)}.video-upscale-resolution .motion-task-choice{min-height:40px;font-size:12px;font-weight:600}.video-upscale-input .motion-input-footer{padding-top:14px;border-top:1px solid var(--border)}.video-upscale-estimate,.video-upscale-estimate-label{display:flex;align-items:center;gap:6px}.video-upscale-estimate{justify-content:space-between;color:var(--muted-foreground);font-size:12px}.video-upscale-estimate-label .motion-input-help{margin-left:-3px}