/* Video-only composer geometry. Existing navigation, model accents and quotes own their semantics. */
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87{--v87-control:2.75rem;--v87-gap:.5rem;container-type:inline-size;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-composer-grid{display:block!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87>.gen-composer-price{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-ref-actions{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-ref-dropzone:has(#refs:empty){border:0!important;background:transparent!important;padding:0!important;min-height:0!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-prompt-meta{margin:.25rem 0!important;line-height:1.3;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:var(--v87-gap)!important;min-width:0!important;width:100%!important;padding:.5rem 0 0!important;overflow:visible!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar>:not(.nd-v87-menu){order:0!important;grid-area:auto!important;margin:0!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 :is(.nd-v87-sources,.nd-v87-configuration){display:flex!important;flex:none!important;gap:var(--v87-gap);align-items:center;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-configuration[hidden]{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar :is(.nd-v87-add,.gen-library-button,#gen-settings-toggle,.nd-v87-more){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;gap:.375rem;box-sizing:border-box;min-height:var(--v87-control)!important;height:var(--v87-control)!important;min-width:var(--v87-control)!important;width:auto!important;max-width:none!important;margin:0!important;padding:.5rem .625rem!important;border:1px solid var(--gz-soft-line)!important;border-radius:.5rem!important;background:var(--gz-card)!important;color:var(--gz-ink)!important;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.2;white-space:nowrap!important;cursor:pointer;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar :is(.nd-v87-add,.nd-v87-more,#gen-settings-toggle){width:var(--v87-control)!important;padding:0!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 :is(.nd-v87-add,.nd-v87-more) svg{width:1.125rem;height:1.125rem;flex:none;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 :is(.nd-v87-add,.nd-v87-more)>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-settings-toggle>:not(:last-child):not(svg){display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-settings-toggle::before{content:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-settings-toggle>:last-child{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices{flex:1 1 16rem!important;min-width:0!important;max-width:25rem!important;align-self:center!important;margin-right:auto!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-trigger{display:grid!important;grid-template-columns:1.625rem minmax(0,1fr)!important;gap:.5rem!important;align-items:center;box-sizing:border-box;min-height:var(--v87-control)!important;height:var(--v87-control)!important;width:100%!important;min-width:0!important;padding:.25rem .5rem!important;border-radius:.5rem!important;background:var(--gz-card)!important;border-color:var(--gz-soft-line)!important;border-inline-start-color:var(--model-accent)!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .gen-model-symbol{grid-row:1!important;min-width:0;width:1.625rem!important;height:1.625rem!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.125rem .375rem;min-width:0;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected>strong{grid-column:1;grid-row:1;display:block;font-size:.8125rem!important;line-height:1.2!important;white-space:nowrap;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected>small:first-child{grid-column:2;grid-row:1;font-size:0!important;line-height:1;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-model-tier{display:inline-block!important;font-size:.625rem!important;line-height:1.2;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .gen-selected-model-price{display:block!important;grid-column:1/-1;grid-row:2;font-size:.75rem!important;line-height:1.15;white-space:nowrap;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices :is(.gen-selected-model-context,.nd-model-toggle){display:none!important;}
.nd-v87-model-short,.nd-v87-send-price{display:none;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #generate-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:.5rem;flex:none!important;box-sizing:border-box;min-height:var(--v87-control)!important;height:var(--v87-control)!important;min-width:var(--v87-control)!important;max-width:none!important;width:auto!important;grid-column:auto!important;padding:.5rem .75rem!important;font-size:.875rem!important;line-height:1.2!important;white-space:nowrap!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu{position:fixed!important;inset:auto;margin:0;box-sizing:border-box;width:min(22rem,calc(100vw - 1rem));max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);overflow:auto;padding:.5rem!important;border:1px solid var(--gz-output-line)!important;border-radius:.75rem;background:var(--gz-rail)!important;color:var(--gz-ink)!important;box-shadow:0 .75rem 2rem #0004;z-index:155;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu-section{display:flex;flex-wrap:wrap;gap:.5rem;padding:.375rem;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu-section[hidden]{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu-section+.nd-v87-menu-section{border-top:1px solid var(--gz-soft-line);margin-top:.375rem;padding-top:.75rem;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu-heading{flex:1 0 100%;font-size:.8125rem;line-height:1.5;font-weight:600;color:var(--gz-muted);margin:0;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu .nd-composer-tools{display:block!important;width:100%!important;margin:0!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu :is(.nd-composer-tool-grid,.nd-chat-more){display:flex!important;gap:.5rem;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu :is(button,a){display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px!important;min-width:44px!important;height:auto!important;flex:1!important;max-width:none!important;padding:.625rem!important;border:1px solid var(--gz-soft-line)!important;border-radius:.5rem!important;background:var(--gz-card)!important;color:var(--gz-ink)!important;font-size:.875rem!important;line-height:1.3!important;white-space:normal!important;margin:0!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu .nd-composer-tools-title{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu #gen-settings-toggle{width:auto!important;gap:.5rem;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu #gen-settings-toggle>:last-child{position:static!important;width:auto;height:auto;clip-path:none;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 :is(button,a):focus-visible{outline:2px solid var(--gz-focus)!important;outline-offset:2px;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 :is(.nd-v87-add,.nd-v87-more):hover{background:var(--gz-active)!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] #gen-model-choices{max-width:none!important;flex:1 1 0!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] #generate-btn{min-width:5.25rem!important;padding:.5rem!important;gap:.375rem!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] #generate-btn>:not(.nd-v87-send-price):not(.arrow):not(svg){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] .nd-v87-send-price{display:inline!important;font-size:.875rem;line-height:1.2;font-weight:700;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] #gen-model-choices .nd-model-selected>strong{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] .nd-v87-model-short{display:block;grid-column:1;grid-row:1;font-size:.75rem;line-height:1.2;font-weight:650;white-space:nowrap;}
@media(min-width:720px){
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 .gen-main{grid-template-columns:clamp(10rem,17vw,17rem) minmax(0,1fr)!important;grid-template-areas:'rail viewer' 'rail composer'!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 .gen-feed{grid-area:viewer!important;min-width:0!important;margin:0!important;padding:0!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #gen-selected{box-sizing:border-box;width:100%!important;max-width:none!important;margin-inline:0!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 .gen-composer-wrap{grid-area:composer!important;min-width:0!important;max-width:none!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #gen-history-rail{grid-area:rail!important;min-width:0!important;}
}
@media(max-width:719px){
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87{--v87-control:44px;--v87-gap:8px;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar{padding-top:.375rem!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-model-trigger{min-height:44px!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #generate-btn{min-height:44px!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu .nd-chat-more{display:inline-flex!important;}
}

html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar>.gen-attach{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar>.gen-server-choice[hidden]{display:none!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected{width:100%!important;max-width:100%!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected :is(strong,.nd-v87-model-short){min-width:0!important;}

html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87[data-toolbar-compact="true"] #generate-btn>.nd-v87-send-price{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected>small:first-child{display:block!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar>#generate-btn .arrow{font-size:1rem!important;line-height:1!important;}

html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-settings-toggle>svg{display:block!important;width:1.125rem;height:1.125rem;flex:none;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .gen-composer-bar>#generate-btn>.arrow{display:inline!important;position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip-path:none!important;}

html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu :is(#gen-paste-image,.gen-library-button){display:inline-flex!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu #gen-settings-toggle>:last-child{display:inline!important;}
html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-menu .nd-chat-more{width:auto!important;gap:.5rem!important;}

html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-v87-model-short{overflow:hidden;text-overflow:ellipsis;}
@media(max-width:719px){
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-trigger{grid-template-columns:1rem minmax(0,1fr)!important;gap:.25rem!important;padding:.25rem .375rem!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .gen-model-symbol{width:1rem!important;height:1rem!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 #gen-model-choices .nd-model-selected{column-gap:.125rem!important;}
 html body.studio-shell[data-page="create"].nd-video-toolbar-v87 #generate.nd-toolbar-v87 .nd-model-tier{padding-inline:.25rem!important;}
}
