/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:host,:root{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-md:8px;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-sans:var(--font-schibsted),ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-display:var(--font-familjen),var(--font-sans);--font-mono:var(--font-jetbrains),ui-monospace,"SF Mono",Menlo,monospace;--breakpoint-2xl:1536px;--text-theme-sm:14px;--text-theme-sm--line-height:20px;--text-theme-xs:12px;--text-theme-xs--line-height:16px;--color-black:#000;--z-index-999:999;--z-index-9999:9999;--z-index-99999:99999;--z-index-999999:999999}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-3{top:calc(var(--spacing) * 3)}.left-0{left:calc(var(--spacing) * 0)}.left-3{left:calc(var(--spacing) * 3)}.z-999{z-index:var(--z-index-999)}.z-9999{z-index:var(--z-index-9999)}.z-99999{z-index:var(--z-index-99999)}.z-999999{z-index:var(--z-index-999999)}.mx-auto{margin-inline:auto}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.h-auto{height:auto}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-dvh{min-height:100dvh}.w-\[150px\]{width:150px}.w-full{width:100%}.max-w-\(--breakpoint-2xl\){max-width:var(--breakpoint-2xl)}.max-w-\[420px\]{max-width:420px}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-24{--tw-translate-y:calc(var(--spacing) * -24);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e+38px}.rounded-md{border-radius:8px}.rounded-sm{border-radius:4px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-current{border-color:currentColor}.border-line{border-color:var(--line)}.border-r-transparent{border-right-color:#0000}.bg-\[color-mix\(in_srgb\,var\(--danger\)_14\%\,var\(--surface\)\)\]{background-color:var(--danger)}@supports (color:color-mix(in lab,red,red)){.bg-\[color-mix\(in_srgb\,var\(--danger\)_14\%\,var\(--surface\)\)\]{background-color:color-mix(in srgb,var(--danger) 14%,var(--surface))}}.bg-black\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-ground{background-color:var(--bg)}.bg-primary{background-color:var(--primary)}.bg-surface{background-color:var(--surface)}.p-6{padding:calc(var(--spacing) * 6)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-\[7px\]{padding-block:7px}.pt-2{padding-top:calc(var(--spacing) * 2)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-12{padding-bottom:calc(var(--spacing) * 12)}.text-left{text-align:left}.font-display{font-family:var(--font-display)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-theme-sm{font-size:var(--text-theme-sm);line-height:var(--tw-leading,var(--text-theme-sm--line-height))}.text-theme-xs{font-size:var(--text-theme-xs);line-height:var(--tw-leading,var(--text-theme-xs--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[28px\]{font-size:28px}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-current{color:currentColor}.text-ink{color:var(--ink)}.text-muted{color:var(--muted)}.text-on-primary{color:var(--on-primary)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.opacity-50{opacity:.5}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.focus\:translate-y-0:focus{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}@media (min-width:768px){.md\:px-8{padding-inline:calc(var(--spacing) * 8)}}@media (min-width:1024px){.lg\:hidden{display:none}}}.billingPanel{gap:16px;display:grid}.billingHero{justify-content:flex-end;align-items:flex-start;gap:20px;display:flex}.billingHero h2{letter-spacing:-.01em;margin:2px 0 4px}.billingHero .caption{max-width:540px;margin:0}.billingHeroActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.billingHeroActions a{align-items:center;gap:6px;text-decoration:none;display:inline-flex}.billingFilterSurface{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:13px;padding:14px;display:grid}@supports (color:color-mix(in lab,red,red)){.billingFilterSurface{background:color-mix(in srgb,var(--surface) 88%,var(--surface-2))}}.billingFilterSurface{box-shadow:none}.billingFilters{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;display:grid}.billingHeroActions .field{width:auto}.billingHeroActions input[type=date]{width:160px}.billingDisclosure{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:0 16px}.billingDisclosure.billingFilterSurface{padding:0 16px;display:block}.billingDisclosure>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:52px;list-style:none;display:flex}.billingDisclosure>summary::-webkit-details-marker{display:none}.billingDisclosure>summary strong{font-weight:600}.billingDisclosure>summary small{color:var(--muted);font-size:13px}.billingDisclosure[open]{padding-bottom:16px}.billingDisclosure[open]>:not(summary)+:not(summary){margin-top:13px}.billingDisclosure .billingBreakdown{margin:0}.billingTypes{border:0;flex-wrap:wrap;gap:7px;margin:0;padding:0;display:flex}.billingTypes legend{width:100%;color:var(--muted);letter-spacing:0;margin-bottom:1px;padding:0;font-size:.75rem;font-weight:600}.billingTypes label{cursor:pointer;position:relative}.billingTypes input{opacity:0;pointer-events:none;position:absolute}.billingTypes label>span{border:1px solid var(--line);border-radius:var(--radius);min-height:30px;color:var(--muted);background:var(--surface);align-items:center;gap:4px;padding:5px 10px;font-size:.78rem;font-weight:600;line-height:1;transition:background .16s,border-color .16s,color .16s;display:inline-flex}.billingTypes label>span svg{width:13px;height:13px}.billingTypes label.selected>span{border-color:var(--primary);color:var(--on-primary);background:var(--primary)}.billingTypes input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.billingTotals{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.billingTotals>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none;padding:14px 15px}.billingBreakdown span,.billingTotals span{color:var(--muted);font-size:.77rem;display:block}.billingTotals strong{letter-spacing:-.01em;margin:5px 0 2px;font-size:1.4rem;display:block}.billingTotals small{color:var(--soft);font-size:.72rem}.billingBreakdown{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.billingBreakdown>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex:1 0 235px;min-width:235px;padding:11px 13px}.billingBreakdown strong{margin-bottom:3px;font-size:.84rem;display:block}.billingSelectionToolbar{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--ink);flex-wrap:wrap;align-items:center;gap:9px;padding:9px 11px;display:flex}@supports (color:color-mix(in lab,red,red)){.billingSelectionToolbar{background:color-mix(in srgb,var(--ink) 7%,var(--surface))}}.billingSelectionToolbar{font-size:.82rem}.billingSelectionToolbar select{flex:230px;min-width:min(320px,100%)}.ghostButton{color:var(--muted);background:0 0;border:0}.billingTableWrap{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none;overflow:auto}.billingTable{border-collapse:separate;border-spacing:0;width:100%;min-width:1120px;font-size:.79rem}.billingTable td,.billingTable th{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap;padding:10px 11px}.billingTable th{z-index:1;color:var(--muted);background:var(--surface);font-size:12px;font-weight:500;position:sticky;top:0}.billingTable td:nth-last-child(-n+2),.billingTable th:nth-last-child(-n+2){text-align:right}.billingBreakdown span,.billingTable small,.billingTable td:nth-last-child(-n+2),.billingTotals strong{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.billingTable tbody tr{transition:background .14s}.billingTable tbody tr:hover{background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.billingTable tbody tr:hover{background:color-mix(in srgb,var(--ink) 5%,var(--surface))}}.billingTable tr:last-child td{border-bottom:0}.billingTable small{max-width:180px;color:var(--muted);text-overflow:ellipsis;margin-top:2px;font-size:.69rem;display:block;overflow:hidden}.billingTable input[type=checkbox]{appearance:none;box-sizing:border-box;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);place-content:center;width:16px;min-width:16px;height:16px;min-height:16px;margin:0;display:grid}.billingTable input[type=checkbox]:checked{border-color:var(--primary);background:var(--primary)}.billingTable input[type=checkbox]:checked:after{content:"";border:solid var(--on-primary);border-width:0 0 2px 2px;width:7px;height:4px;transform:rotate(-45deg)translate(1px,-1px)}.billingTable input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.billingAssetStack{align-items:center;min-width:42px;display:flex}.billingAssetThumb{border:2px solid var(--surface);background:var(--surface-3);width:40px;height:40px;box-shadow:none;border-radius:0;margin-right:-7px;padding:0;overflow:hidden}.billingAssetThumb:focus-visible,.billingAssetThumb:hover{z-index:2;border-color:var(--accent);position:relative}.billingAssetThumb img,.billingAssetThumb video{object-fit:cover;width:100%;height:100%;display:block}.billingAssetMore,.billingAssetPlaceholder{border:1px solid var(--line);border-radius:var(--radius);width:40px;height:40px;color:var(--muted);background:var(--surface-2);place-items:center;font-size:.71rem;font-weight:600;display:grid}.billingAssetPlaceholder svg{width:16px;height:16px}.billingOperation{text-transform:capitalize;align-items:center;gap:5px;font-weight:600;display:inline-flex}.billingOperation svg{width:13px;height:13px;color:var(--ink)}.billingEmpty{margin-top:2px}.billingEmpty>svg{width:20px;height:20px;color:var(--muted)}@media (max-width:980px){.billingFilters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.billingHero{flex-direction:column;align-items:stretch}.billingHeroActions{justify-content:flex-start}.billingFilters,.billingTotals{grid-template-columns:1fr}.billingFilterSurface{padding:12px}.billingTypes{gap:6px}.billingTypes label>span{min-height:28px;padding-inline:9px}}:root{color-scheme:light;--bg:#f3f3f3;--surface:#fff;--surface-2:#f7f7f7;--surface-3:#ebebeb;--input:#fff;--ink:#141414;--muted:#5c5c5c;--soft:var(--muted);--line:#d6d6d6;--line-strong:#8f8f8f;--primary:#141414;--on-primary:#f4f4f4;--accent:#1f6ca8;--accent-2:var(--accent);--accent-ink:#fff;--danger:#a63d35;--ok:#4e7a52;--warn:#9a7424;--shadow:0 8px 24px -6px #0000002e;--radius:4px;--radius-md:8px;--topbar:72px}.dark{color-scheme:dark;--bg:#161616;--surface:#1f1f1f;--surface-2:#262626;--surface-3:#2e2e2e;--input:#262626;--ink:#e8e8e8;--muted:#a8a8a8;--line:#333;--line-strong:#6b6b6b;--primary:#e8e8e8;--on-primary:#1a1a1a;--accent:#8fcbf2;--accent-ink:#141414;--danger:#d9776d;--ok:#7fae83;--warn:#c9a04e;--shadow:0 8px 24px -6px #00000080}.dark .farnerTeamLogo{filter:invert()}.appShellDesktopOnly{display:none!important}.appShellMobileOnly{display:grid!important}.appShell{--accent:var(--app-accent-light,#1f6ca8);--accent-2:var(--accent)}.dark .appShell{--accent:var(--app-accent-dark,#8fcbf2)}.appShellResetInputsButton{border-color:var(--line);background:var(--surface);width:44px;min-height:44px}.appShellSidebar{background:var(--app-shell-sidebar-bg,var(--surface));width:min(240px,100vw - 48px);transform:translate(-100%)}.dark .appShellSidebar{background:var(--app-shell-sidebar-bg-dark,var(--surface))}.appShellMobileOpen .appShellSidebar{transform:translate(0)}.appShellProjectLogo,.appShellProjectMark{border-radius:var(--radius);object-fit:contain;flex:none;width:24px;height:24px}.appShellProjectMark{background:var(--primary);color:var(--on-primary);font:600 12px var(--font-display);place-items:center;display:grid}.appShellMenuButton{background:0 0;border:0}.appShellAvatar{background:var(--ink);border-radius:999px;flex:none;place-items:center;width:24px;height:24px;display:grid}@supports (color:color-mix(in lab,red,red)){.appShellAvatar{background:color-mix(in srgb,var(--ink) 8%,transparent)}}.appShellAvatar{font-size:11px;font-weight:600}.appShellProjectSwitcher:has(select):hover{background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.appShellProjectSwitcher:has(select):hover{background:color-mix(in srgb,var(--ink) 6%,transparent)}}.appShellProjectSwitcher select{opacity:0;cursor:pointer;background-image:none;width:100%;min-height:0;position:absolute;inset:0}.appShellMain{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.appShellTabBar{z-index:999;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:var(--surface);display:flex;position:fixed;inset:auto 0 0}.appShellTabBar button{min-height:56px;color:var(--muted);background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:500;display:flex}.appShellTabBar button[aria-current=page]{box-shadow:inset 0 -2px 0 var(--accent);color:var(--ink);font-weight:600}@media (max-width:1023px){.appShellViewAction{flex-wrap:wrap;justify-content:flex-start;width:100%}}@media (min-width:1024px){.appShellDesktopOnly{display:grid!important}.appShellMobileOnly{display:none!important}.appShellSidebar{width:220px;transform:translate(0)}.appShellMain{padding-bottom:0;padding-left:220px}.appShellTabBar{display:none}}.appShellNavSectionLabel{color:var(--muted)!important}.appShellLogoutButton,.appShellNavItem{box-shadow:none;background:0 0;border:0}.appShellLogoutButton:active:not(:disabled),.appShellLogoutButton:hover:not(:disabled),.appShellNavItem:active:not(:disabled),.appShellNavItem:hover:not(:disabled){background:var(--ink);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.appShellLogoutButton:active:not(:disabled),.appShellLogoutButton:hover:not(:disabled),.appShellNavItem:active:not(:disabled),.appShellNavItem:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 6%,transparent)}}.appShellNavItem[aria-current=page],.appShellNavItem[aria-current=page]:hover:not(:disabled){background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.appShellNavItem[aria-current=page],.appShellNavItem[aria-current=page]:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 8%,transparent)}}.appShellNavItem[aria-current=page],.appShellNavItem[aria-current=page]:hover:not(:disabled){box-shadow:inset 3px 0 0 var(--accent);color:var(--ink);font-weight:600}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px}html.appNavLocked,html.appNavLocked body,html.dialogOpen,html.dialogOpen body{overflow:hidden}body{background:var(--bg);color:var(--ink);font-family:var(--font-sans);text-rendering:optimizelegibility;margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);border-radius:var(--radius);background:var(--input);min-height:44px;color:var(--ink);cursor:pointer;transition:background .1s ease-out,border-color .1s ease-out,color .1s ease-out}button:hover:not(:disabled){border-color:var(--ink)}button:disabled{cursor:not-allowed;opacity:.45}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.01em;font-weight:600}.mono,code,kbd,time{font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:.93em}.billingStatus,.pill.analyzed,.pill.analyzing,.pill.error,.pill.needs_analysis,.pill.promoted,.pill.seeded,.projectApiKeyStatus,.videoStatus{width:fit-content;color:var(--ink);text-transform:capitalize;background:0 0;border:0;align-items:center;gap:6px;padding:0;display:inline-flex}.billingStatus:before,.pill.analyzed:before,.pill.analyzing:before,.pill.error:before,.pill.needs_analysis:before,.pill.promoted:before,.pill.seeded:before,.projectApiKeyStatus:before,.videoStatus:before{content:"";background:var(--status,var(--muted));border-radius:999px;flex:none;width:8px;height:8px}.billingStatus.final,.pill.analyzed,.pill.promoted,.pill.seeded,.projectApiKeyStatus.project,.videoStatus.completed,.videoStatus.ready{--status:var(--ok)}.billingStatus.pending,.pill.analyzing,.pill.needs_analysis,.videoStatus.exporting,.videoStatus.in_progress,.videoStatus.pending,.videoStatus.queued,.videoStatus.running{--status:var(--warn)}.pill.error,.projectApiKeyStatus.missing,.videoStatus.cancelled,.videoStatus.expired,.videoStatus.failed{--status:var(--danger)}.developIn{animation:developIn .4s ease-out both}@keyframes developIn{0%{opacity:.55;filter:saturate(0)brightness(1.06)}}@media (prefers-reduced-motion:reduce){.developIn{animation:none}*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (max-width:640px){input,select,textarea{font-size:16px}}.srOnly{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.farnerTeamLogo{flex:0 auto;width:min(44%,150px);height:auto}.panel h2{color:var(--ink);letter-spacing:0;margin:0;font-size:28px;line-height:1.05}.eyebrow,.label{color:var(--muted);margin:0;font-size:12px;font-weight:500}.libraryActiveReference,.libraryPrimaryNav button{text-align:left;text-transform:capitalize;justify-content:center;align-items:center;gap:10px;display:flex}.iconOnly{place-items:center;width:44px;min-width:44px;padding:0;line-height:0;display:inline-grid}.icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px;height:18px}.libraryActiveReference small{color:var(--soft);font-size:12px;font-weight:500}.groupTypeIcon{width:16px;height:16px;stroke-width:2px;flex:none}.accountButton,.groupTypeIcon{color:var(--muted)}.active{border-color:var(--ink);background:var(--ink)}.active,.active small{color:var(--surface)}@supports (color:color-mix(in lab,red,red)){.active small{color:color-mix(in srgb,var(--surface) 68%,transparent)}}.active .groupTypeIcon{color:currentColor}.busySpinner,.navSpinner{border:2px solid;border-right:2px solid #0000;border-radius:999px;flex:none;width:12px;height:12px;animation:busySpin .72s linear infinite}.navSpinner{width:13px;height:13px}@keyframes busySpin{to{transform:rotate(1turn)}}.panel{width:100%;max-width:1320px;margin-inline:auto}.sectionHead{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.heroHead{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.actionBar,.cardActions,.inlineActions,.renameGroup,.row,.split{align-items:center;gap:10px;display:flex}.split{justify-content:space-between;align-items:flex-start;margin:18px 0}.primary,.secondary{padding:0 14px;font-weight:500}.downloadButton,a.secondary{border:1px solid var(--line);border-radius:var(--radius);min-height:44px;color:var(--ink);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.primary{border-color:var(--primary);background:var(--primary);color:var(--on-primary)}.primary:not(:disabled):hover{background:var(--primary);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.primary:not(:disabled):hover{background:color-mix(in srgb,var(--primary) 86%,var(--bg))}}.primary:not(:disabled):hover{color:var(--on-primary)}.secondary{background:var(--input)}.dangerButton{border-color:var(--danger)}@supports (color:color-mix(in lab,red,red)){.dangerButton{border-color:color-mix(in srgb,var(--danger) 30%,var(--line))}}.dangerButton{background:var(--danger);padding:0 16px}@supports (color:color-mix(in lab,red,red)){.dangerButton{background:color-mix(in srgb,var(--danger) 8%,var(--surface))}}.dangerButton{color:var(--danger);font-weight:600}.dangerButton.iconOnly{justify-content:center;padding:0}.textButton{min-height:auto;color:var(--ink);box-shadow:none;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-weight:600;display:inline-flex}.textButton svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.textButton:hover{text-decoration:underline;box-shadow:none!important;transform:none!important}.dangerText{color:var(--danger)}.iconButton{border-radius:var(--radius);width:44px;min-height:44px;color:var(--ink);background:0 0;border:1px solid #0000;place-items:center;padding:0;text-decoration:none;display:inline-grid}.iconButton svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}a.iconButton{justify-content:center;align-items:center}.iconButton:hover:not(:disabled){background:var(--ink);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.iconButton:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 7%,transparent)}}.dangerIcon{color:var(--danger)}.dangerIcon:hover:not(:disabled){border-color:var(--danger)}@supports (color:color-mix(in lab,red,red)){.dangerIcon:hover:not(:disabled){border-color:color-mix(in srgb,var(--danger) 22%,var(--line))}}.dangerIcon:hover:not(:disabled){background:var(--danger)}@supports (color:color-mix(in lab,red,red)){.dangerIcon:hover:not(:disabled){background:color-mix(in srgb,var(--danger) 8%,var(--surface))}}.notice{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none;margin-bottom:14px;padding:12px 14px}.notice.error{background:var(--danger);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.notice.error{background:color-mix(in srgb,var(--danger) 14%,var(--surface))}}.assetError{color:var(--danger)}.inlineBusy{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);width:fit-content;min-height:38px;color:var(--muted);align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.settingsBusy{z-index:80;box-shadow:var(--shadow);position:fixed;top:64px;left:50%;transform:translate(-50%)}.buttonBusyContent{justify-content:center;align-items:center;gap:8px;display:inline-flex}.readinessNotice{max-width:1180px;margin-inline:auto}.readinessNotice p{margin:0}.readinessNotice p+p{color:var(--muted);margin-top:6px;line-height:1.45}.libraryNav{grid-template-columns:minmax(220px,auto) minmax(220px,360px) auto auto;align-items:stretch;gap:10px;margin-bottom:22px;display:grid}.libraryPrimaryNav{gap:8px;min-width:0;display:flex}.libraryPrimaryNav button{white-space:nowrap;width:auto;min-width:0;padding:0 16px;font-weight:600}.libraryReferenceSelect{min-width:0}.libraryReferenceSelect select{min-height:44px}.libraryActiveReference{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);min-width:0;min-height:44px;color:var(--ink);justify-content:flex-start;padding:0 14px;font-weight:600}.libraryActiveReference span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.addReferenceGroupButton{min-width:132px}.renameGroup{max-width:520px;margin:0}.renameGroup .field{flex:auto}.renameGroup button{white-space:nowrap;align-self:end}.groupSettingsPanel{gap:12px;max-width:760px;margin:-6px 0 22px;display:grid}.thumbnailSelector{align-items:end;gap:10px;display:flex}.thumbnailSelector .field{flex:auto}.thumbnailSelector button{white-space:nowrap}.groupSharingControl{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.groupSharingControl p{color:var(--muted);margin:3px 0 0;font-size:13px}.groupSharingControl button{white-space:nowrap;flex:none}.groupSheetPanel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);gap:12px;margin:-6px 0 16px;padding:12px;display:grid}.groupSheetHead,.groupSheetItem{align-items:start;gap:12px;display:grid}.groupSheetHead{grid-template-columns:minmax(0,1fr) auto}.groupSheetItem{grid-template-columns:minmax(220px,320px) minmax(0,1fr)}.groupSheetHead h3{margin:2px 0 0;font-size:18px;line-height:1.2}.groupSheetControls>button,.groupSheetHead>button{min-height:42px}.groupSheetControls{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.sheetModelField{margin:0}.sheetModelField select{max-width:min(260px,100%);min-height:42px}.groupSheetList{gap:10px;display:grid}.groupSheetCard{background:var(--surface)}.groupSheetDescription{gap:10px;min-width:0;display:grid}.groupSheetDescription textarea{min-height:138px;font-size:13px;line-height:1.45;overflow:hidden}.groupSheetDescription button{justify-self:end}.groupSheetEmpty{background:var(--surface);min-height:auto;padding:14px}input,select,textarea{border:1px solid var(--line);border-radius:var(--radius);background:var(--input);width:100%;color:var(--ink);transition:border-color .18s,box-shadow .18s}input:hover,select:hover,textarea:hover{border-color:var(--line-strong)}input,select{min-height:44px;padding:0 12px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5' fill='none' stroke='%238F8F8F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 18px center;background-repeat:no-repeat;padding-right:52px}textarea{resize:vertical;min-height:230px;padding:14px;line-height:1.5}.field{width:100%;color:var(--muted);gap:6px;font-size:12px;font-weight:500;display:grid}.assetGrid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;display:grid}.composeMain{overflow:hidden}.card,.composeMain,.output,.sheetCard{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.card,.output,.sheetCard{padding:8px 8px 10px;transition:border-color .1s ease-out}.clickableCard:hover{border-color:var(--line-strong)}.clickableCard{cursor:pointer}.thumb{position:relative}.imageButton{width:100%;min-height:auto;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;display:block}.imageButton:hover:not(:disabled){box-shadow:none;transform:none}.thumb img{aspect-ratio:4/3;object-fit:contain;width:100%;display:block}.thumb .pill{margin-top:8px}.sheetActions{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.sheetActionsTitle{margin:0 0 8px}.sheetActionsTitle+.sheetModelField{margin-bottom:10px}.sectionRule{background:var(--line);height:1px;margin:0 0 20px}.sheetActionContent{align-items:center;gap:8px;min-width:0;display:inline-flex}.sheetPinnedIcon{width:16px;height:16px;color:var(--ok);flex:none}.sheetGrid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.sheetCard,.sheetGrid{display:grid}.sheetImage{position:relative}.sheetImage img{aspect-ratio:16/9;object-fit:contain;width:100%;display:block}.sheetImage .pill{margin-top:8px}.cardBody,.preview{padding:8px 2px 0}.card p,.output p,.preview p{color:var(--muted);font-size:14px;line-height:1.45}.card .caption,.cardBody>p:not(.caption):not(.assetError){-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px;display:-webkit-box;overflow:hidden}.caption{font-weight:600;color:var(--ink)!important}.assetType{color:var(--soft);letter-spacing:0;flex:none}.assetType,.pinToggle{font-size:12px;font-weight:600}.pinToggle{border-radius:var(--radius);background:var(--surface-2);min-height:44px;color:var(--muted);box-shadow:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.pinToggle svg{width:15px;height:15px}.pinToggle.pinned{border-color:var(--ok)}@supports (color:color-mix(in lab,red,red)){.pinToggle.pinned{border-color:color-mix(in srgb,var(--ok) 26%,var(--line))}}.pinToggle.pinned{background:var(--ok)}@supports (color:color-mix(in lab,red,red)){.pinToggle.pinned{background:color-mix(in srgb,var(--ok) 12%,var(--surface))}}.pinToggle.pinned{color:var(--ok)}.inlineActions{flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.cardActions{flex-wrap:wrap;margin-top:12px}.pill{border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);background:0 0;padding:2px 6px;font-size:12px;font-weight:500}.chips,.tags{flex-wrap:wrap;gap:6px;display:flex}.tags span{border:1px solid var(--line);background:var(--surface-2);padding:5px 9px;font-size:12px}.characterCheck,.tags span{border-radius:var(--radius);color:var(--muted)}.characterCheck{border-color:var(--line);background:var(--surface);max-width:100%;min-height:44px;align-items:center;gap:8px;padding:4px 10px 4px 5px;font-size:15px;font-weight:600;display:inline-flex}.characterCheck.selected{border-color:var(--accent);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.characterCheck.selected{background:color-mix(in srgb,var(--ink) 6%,var(--surface))}}.characterCheck.selected{color:var(--ink);box-shadow:none}.characterCheck.detected{border-color:var(--accent);border-style:dashed}.characterCheck.selected.detected{border-style:solid}.chipType{border-radius:var(--radius);background:currentColor;padding:2px 6px}@supports (color:color-mix(in lab,red,red)){.chipType{background:color-mix(in srgb,currentColor 12%,transparent)}}.chipType{font-size:10px;font-weight:600;line-height:1}.detectedTrigger{border:1px dashed var(--accent);border-radius:var(--radius);background:var(--surface);min-height:44px;color:var(--ink);align-items:center;gap:8px;padding:4px 10px;font-size:15px;font-weight:600;display:inline-flex}.characterThumb{border:1px solid var(--line);background:var(--surface-2);object-fit:cover;border-radius:0;flex:none;width:34px;height:34px}.generatePanel{max-width:1180px}.settingsStack{gap:18px;display:grid}.settingsHeader{justify-content:space-between;align-items:center;gap:16px;display:flex}.settingsHeader h2{margin:0;font-size:24px}.settingsTabs{flex-wrap:wrap;gap:8px;display:inline-flex}.settingsTabs button{min-width:132px;padding:0 14px;font-weight:600}.adminPanel{gap:12px;display:grid}.createProjectForm{grid-template-columns:1fr;align-items:stretch}.createProjectForm textarea{min-height:96px}.projectCards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.projectCard{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:92px;padding:12px;position:relative;overflow:hidden}.projectCard,.projectCardOpen{text-align:left;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:12px;display:grid}.projectCardOpen{background:0 0;border:0;width:100%;min-height:0;padding:0}.projectCardOpen:hover:not(:disabled){box-shadow:none;transform:none}.projectCard p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:5px 0 0;font-size:14px;line-height:1.45;display:-webkit-box;overflow:hidden}.projectCard .caption{overflow-wrap:anywhere;-webkit-line-clamp:1;margin:0;font-size:15px}.projectCard:focus-within,.projectCard:hover{border-color:var(--line-strong);box-shadow:none}.projectCardWithActions{padding-right:44px;display:block}.projectCardWithActions .projectCardOpen{min-height:68px}.projectDuplicateButton{opacity:.68;width:44px;min-height:44px;position:absolute;top:8px;right:8px}.projectCard:focus-within .projectDuplicateButton,.projectCard:hover .projectDuplicateButton{opacity:1}.projectCreateCard{color:var(--muted);border-style:dashed;grid-template-columns:44px minmax(0,1fr)}.projectCreateCard .caption{color:var(--ink);display:block}.projectCreateIcon{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);width:44px;height:44px;color:var(--ink);place-items:center;font-size:24px;font-weight:600;line-height:1;display:grid}.projectCreateHint{margin-top:5px;font-size:14px;line-height:1.45;display:block}.createProjectForm.projectCreateCard{cursor:default;grid-template-columns:1fr}.projectCardText{min-width:0}.projectCardText .row{align-items:center;min-width:0}.projectCardText .pill{flex:none}.projectThumb{border:1px solid var(--line);background:var(--surface-2);object-fit:cover;border-radius:0;flex:none;width:64px;height:64px}.projectThumbFallback{color:var(--muted);place-items:center;font-weight:600;display:grid}.projectForm{grid-template-columns:repeat(2,minmax(0,1fr));max-width:860px}.projectPromptsPanel{gap:16px;display:grid}.projectLogoField{grid-column:1/-1}.projectLogoControl{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.projectLogoPreview{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);object-fit:contain;width:44px;height:44px}.projectLogoPlaceholder{color:var(--muted);place-items:center;font-weight:600;display:grid}.projectColorControls{flex-wrap:wrap;align-items:center;gap:14px;margin-left:auto;display:flex}.projectColorGroup{align-items:center;gap:8px;min-height:44px;display:inline-flex}.projectColorTitle{white-space:nowrap}.projectColorChoice,.projectColorTitle{color:var(--muted);font-size:12px;font-weight:600}.projectColorChoice{align-items:center;gap:6px;display:inline-flex}.projectColorChoice input{border-radius:var(--radius);cursor:pointer;width:44px;height:44px;min-height:44px;padding:3px}.generationContractFields,.modelDefaultSettings,.tagLanguageSettings,.transientRationale{grid-column:1/-1}.modelDefaultSettings,.tagLanguageSettings{border:0;gap:8px;margin:0;padding:2px 0 4px;display:grid}.modelDefaultSettings{border-top:1px solid var(--line);gap:12px;padding-top:12px}.modelDefaultSettings legend,.tagLanguageSettings legend{color:var(--muted);font-size:13px;font-weight:600}.tagLanguageGrid{flex-wrap:wrap;gap:8px;display:flex}.modelDefaultsGrid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.modelVisibilityGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.modelVisibilityGroup{gap:8px;min-width:0;display:grid}.modelVisibilityTitle{color:var(--muted);font-size:12px;font-weight:600}.modelVisibilityList{flex-wrap:wrap;gap:8px;display:flex}.modelVisibilityItem{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);max-width:100%;min-height:44px;color:var(--ink);align-items:center;gap:7px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.modelVisibilityItem span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.modelVisibilityItem input{width:auto;min-height:auto;margin:0}.videoModelVisibilityGroup{grid-column:1/-1}.videoModelVisibilityGroup .modelVisibilityList{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;display:grid}.videoModelVisibilityGroup .modelVisibilityItem{width:100%}.modelPromptLengthGroup{grid-column:1/-1;gap:8px;min-width:0;display:grid}.modelPromptLengthGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.geminiProfileGrid{grid-template-columns:minmax(0,1fr)}.modelPromptLengthItem{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);grid-template-columns:minmax(150px,1fr) minmax(220px,1.25fr);align-items:center;gap:10px;min-width:0;padding:8px;display:grid}.modelPromptLengthName{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.geminiProfileControl,.geminiProfileControl label{min-width:0}.geminiProfileControl span{white-space:nowrap;padding-inline:10px}.generationContractFields{border-top:1px solid var(--line);gap:12px;margin-top:4px;padding-top:14px;display:grid}.projectSettingsActions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}.projectApiKeyPanel{align-self:start}.projectApiKeyStatus{overflow-wrap:anywhere;max-width:100%;min-height:34px;font-size:13px;line-height:1.35}.projectApiKeyForm{grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.projectApiKeyActions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.backupPanel{align-self:start}.backupActions{flex-wrap:wrap;gap:10px;display:flex}.promptLab{border-top:1px solid var(--line);grid-column:1/-1;gap:12px;margin-top:4px;padding-top:14px;display:grid}.promptLabHead,.promptLabPanelHead,.promptVersion{justify-content:space-between;align-items:center;gap:12px;display:flex}.promptLabHead h3,.promptLabHead p,.promptLabPanelHead h4,.promptLabRationale p,.promptVersion p{margin:0}.transientRationale{padding:8px 10px;font-size:12px}.promptLabColumns{grid-template-columns:minmax(240px,.72fr) minmax(320px,1.28fr);align-items:start;gap:12px;display:grid}.promptVersionNav{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.promptVersionNav>span{color:var(--ink);font-weight:600}.miniIconButton{border-radius:var(--radius);width:44px;min-height:44px}.fieldWithAction{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.fieldWithAction textarea{overflow:hidden}.fieldWithAction>button{white-space:nowrap;align-self:end}.compactActionField{align-items:center}.compactActionField>button{align-self:stretch}.actionWithIcon{justify-content:center;align-items:center;gap:7px;display:inline-flex}.actionWithIcon .icon{width:16px;height:16px}.promptLabPanel,.promptLabRationale,.sheetPromptItem{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.promptLabPanel,.promptLabRationale{padding:12px}.promptVersionList,.sheetPromptList{gap:8px;display:grid}.promptVersion{border-top:1px solid var(--line);padding:10px 0}.promptVersion:first-child{border-top:0}.sheetPromptItem,.sheetPromptPanel{gap:10px;display:grid}.sheetPromptItem{padding:10px}.sheetPromptHeader{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.sheetPromptHeader h5{margin:0;font-size:15px}.sheetPromptHeader small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.sheetPromptItem .field{margin-top:10px}.sheetPromptItem textarea{min-height:112px;font-size:12px;line-height:1.45}.sheetFeedbackField input{min-height:42px}.adminGrid,.adminUsers{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.adminConsole{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.sheetPromptAuditPanel{grid-column:1/-1}.sheetPromptAuditList{gap:10px;display:grid}.sheetPromptAuditItem{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);gap:10px;padding:10px;display:grid}.sheetPromptAuditItem textarea{min-height:128px;font-size:12px;line-height:1.45;overflow:hidden}.adminBlock{gap:12px;padding:14px;display:grid}.adminBlock,.adminBlock.settingsDisclosure,.settingsDisclosure{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.adminBlock.settingsDisclosure,.settingsDisclosure{padding:0 16px;display:block}.settingsDisclosure>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:52px;list-style:none;display:flex}.settingsDisclosure>summary::-webkit-details-marker{display:none}.settingsDisclosure>summary strong{color:var(--ink);font-size:14px;font-weight:600}.settingsDisclosure>summary small{min-height:0;color:var(--muted);font-size:13px}.settingsDisclosure[open]{padding-bottom:16px}.projectForm>.settingsDisclosure{grid-column:1/-1}.settingsDisclosure[open]>:not(summary)+:not(summary){margin-top:12px}.adminBlock textarea{min-height:118px}.newUser{align-self:start}.accessPanel{min-width:0}.adminPanelMeta{color:var(--muted);margin:0;font-size:13px;font-weight:600}.adminPanelActions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.adminPanelHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.adminPanelHead h2{margin:3px 0 0;font-size:22px;line-height:1.1}.adminFormGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.adminFormGrid .field:first-child,.adminFormGrid .field:nth-child(3){grid-column:1/-1}.accessChecks{flex-wrap:wrap;gap:8px 14px;display:flex}.accessChecks label{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.accessChecks input{width:auto;min-height:auto}.projectAccessGrid{border:0;flex-wrap:wrap;gap:8px;min-width:0;margin:0;padding:0;display:flex}.projectAccessGrid legend{width:100%;color:var(--muted);margin-bottom:2px;font-size:13px;font-weight:600}.accessChip{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);min-height:44px;color:var(--ink);align-items:center;gap:7px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.accessChip input{width:auto;min-height:auto;margin:0}.userAccessWorkspace,.userRows{gap:12px;display:grid}.userAccessWorkspace{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start;min-width:0}.userAccessBrowser{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);grid-template-rows:auto auto minmax(0,1fr);gap:8px;min-height:0;max-height:calc(100dvh - 120px);padding:10px;display:grid;position:sticky;top:88px;overflow:hidden}.userAccessSearch{width:100%}.userAccessSummary{color:var(--muted);margin:0;font-size:12px;font-weight:600}.userAccessList{align-content:start;gap:6px;min-height:0;display:grid;overflow:auto}.userAccessOption{text-align:left;background:var(--surface);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:9px 10px;display:grid}.userAccessOption[aria-pressed=true]{border-color:var(--accent);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.userAccessOption[aria-pressed=true]{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.userAccessOption[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}.userAccessOptionIdentity{min-width:0;display:grid}.userAccessOptionIdentity span,.userAccessOptionIdentity strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.userAccessOptionIdentity span{color:var(--muted);font-size:12px}.userAccessOption .roleBadge{min-height:22px;margin-top:0;padding-inline:7px;font-size:10px}.userAccessEmpty{min-height:220px;margin:0}.userAccessCard{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:minmax(180px,.45fr) minmax(360px,1fr) minmax(160px,auto);align-items:start;gap:14px;padding:12px;display:grid}.userAccessEditor{grid-template-columns:minmax(150px,.35fr) minmax(0,1fr);min-width:0}.userAccessEditor .accessActions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:end}.userAccessEditor .accessNote{grid-column:1/-1}.userIdentity{min-width:0}.userIdentity p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0}.roleBadge{border-radius:var(--radius);background:var(--surface-2);min-height:24px;color:var(--muted);text-transform:capitalize;align-items:center;margin-top:10px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.roleBadge.admin,.roleBadge.superadmin{background:var(--ink);color:var(--surface)}.roleBadge.superadmin{box-shadow:inset 0 0 0 1px var(--surface)}@supports (color:color-mix(in lab,red,red)){.roleBadge.superadmin{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--surface) 28%,transparent)}}.accessActions{justify-items:end;gap:8px;display:grid}.accessActionButtons{justify-content:flex-end;gap:8px;display:flex}.userPermissionMatrix{gap:10px;min-width:0;display:grid}.generationCostPermission{width:fit-content;min-height:40px;padding:8px 10px}.generationCostPermission,.permissionProjectRow{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.permissionProjectRow{grid-template-columns:minmax(150px,.4fr) minmax(0,1fr);align-items:start;gap:10px;padding:10px;display:grid}.permissionProjectToggle{background:var(--surface);width:fit-content}.permissionNavGrid{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px 10px;min-width:0;display:grid}.permissionNavCheck{color:var(--ink);align-items:center;gap:7px;font-size:12px;font-weight:600;line-height:1.25;display:inline-flex}.permissionNavCheck input{width:auto;min-height:auto;margin:0}.permissionNavCheck:has(input:disabled){color:var(--muted)}.accessNote{color:var(--muted);font-size:13px;font-weight:600}.compactRoleField{text-align:left;width:min(180px,100%);margin-top:10px}.compactRoleField select{min-height:44px}.compactPasswordField{text-align:left;width:min(220px,100%)}.compactPasswordField input{min-height:44px}.userRow{border-top:1px solid var(--line);gap:10px;padding-top:12px;display:grid}.composeGrid{display:block}.composeMain{padding:16px}.inlineSettings{gap:14px;margin-top:16px;display:grid}.generationControls,.promptAssistBar,.promptTopBar{flex-wrap:wrap;align-items:center;min-width:0;display:flex}.promptTopBar{gap:10px 12px}.promptAssistBar{flex:auto;align-items:flex-start;gap:8px}.generationControls{justify-content:flex-start;gap:10px;padding-top:14px}.promptTopBar .generationControls{flex:640px;padding-top:0}.controlHint{width:100%;color:var(--muted);margin:0;font-size:12px;font-weight:600;line-height:1.35}.characterGroup,.objectGroup{align-items:center;gap:8px;min-width:0;display:flex}.toolbarGroup{flex:260px}.promptAssistBar .toolbarGroup{flex:0 auto}.promptAssistBar .toolbarGroup>.chips{display:contents}.inlineSettings .field{white-space:nowrap;align-items:center;gap:8px;display:flex}.generationSettingPair{align-items:center;gap:12px;min-width:0;display:flex}.outputCountControl select{min-width:118px}.allModelsOutputCount select{min-width:146px}.actionBar{justify-content:flex-end;margin-top:14px}.modelField select,.ratioField select,.resolutionField select{width:fit-content}.inlineSettings select{min-height:44px;padding-left:12px;padding-right:52px}.modelField select{max-width:min(280px,100%)}.modelField select,.ratioField select{field-sizing:content;width:auto;min-width:0}.ratioField select{max-width:min(120px,100%)}.resolutionField select{field-sizing:content;width:auto;min-width:0;max-width:min(150px,100%)}.qualityField select{field-sizing:content;width:auto;min-width:0;max-width:min(120px,100%)}.promptField textarea{min-height:44px;padding:8px 14px;font-size:18px;line-height:1.45;overflow:hidden}.promptReferenceSlot{flex-wrap:wrap;flex:none;align-items:center;gap:6px;min-width:0;display:flex}.promptReferencePicker,.promptReferencePreview{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);max-width:100%;min-height:44px;color:var(--muted);align-items:center;gap:8px;font-size:15px;font-weight:600;display:inline-flex}.promptReferencePicker{cursor:pointer;justify-content:center;width:44px;padding:0}.promptReferencePicker:hover{border-color:var(--ink);color:var(--ink)}.promptReferencePicker svg{width:18px;height:18px}.promptReferencePreview{padding:4px 6px 4px 4px}.promptReferencePreview img{object-fit:cover;border-radius:0;width:34px;height:34px}.promptReferencePreview span{text-overflow:ellipsis;white-space:nowrap;max-width:min(140px,24vw);overflow:hidden}.promptReferenceRemove{width:44px;height:44px;min-height:44px}.miniStats{color:var(--muted);margin-top:10px}.miniStats span{font-size:12px}.preview{border-top:1px solid var(--line);gap:16px;padding:16px 0 0;display:grid}.previewPrompt,.previewReferences{min-width:0}.previewPrompt{padding-right:4px}.optimizedPromptField{gap:10px;display:grid}.inlineSettings .optimizedPromptField{white-space:normal;align-items:stretch;display:grid}.optimizedPromptField textarea{min-height:118px;color:var(--muted);font-size:14px;line-height:1.5;overflow:hidden}.generationBackgroundLayoutField textarea,.generationCanvasField textarea,.generationNegativePromptField textarea,.generationObjectiveField textarea,.generationStyleContractField textarea,.optimizedPromptField textarea,.sheetPromptAuditItem textarea,.sheetPromptItem textarea,.storyboardDirectionField textarea{tab-size:2;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,monospace}.previewPrompt p:last-child{color:var(--muted);margin:14px 0 0;font-size:14px;line-height:1.5}.strip{grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px;margin-top:10px;display:grid}.strip img{aspect-ratio:1;object-fit:cover;border-radius:0;width:100%}.generateInline{margin-left:auto}.ghost{background:0 0;border-color:#0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:500;display:inline-flex}.ghost:hover:not(:disabled){background:var(--ink);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.ghost:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 7%,transparent)}}.ghost svg{width:16px;height:16px}.artCard{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:8px;min-width:0;margin:0;padding:8px 8px 10px;font-size:13px;display:flex}.artCard figcaption{color:var(--muted);justify-content:space-between;gap:8px;display:flex}.artCard figcaption strong{color:var(--ink);font-weight:600}.artCardMedia{background:0 0;border:0;border-radius:0;min-height:0;padding:0;display:block}.artCardMedia img,.artCardPending{aspect-ratio:16/9;object-fit:cover;border-radius:0;width:100%;display:block}.artCardPending{background:var(--ink);place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.artCardPending{background:color-mix(in srgb,var(--ink) 9%,transparent)}}.artCardPending{color:var(--muted);text-transform:capitalize}.imageStudio{gap:16px;display:grid}.imageStudioGrid{flex-wrap:wrap;align-items:flex-start;gap:32px;display:flex}.imageComposer{background:0 0;border:0;flex:520px;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;max-width:680px;padding:0;display:grid;overflow:visible}.composerCard,.composerOptions{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.composerCard .promptField{gap:4px;padding:14px 16px 0}.composerLabel{color:var(--muted);font-size:12px;font-weight:500}.composerCard .promptField textarea{min-height:132px;color:var(--ink);resize:vertical;background:0 0;border:0;padding:4px 0 12px;font-size:16px;line-height:1.55}.composerReferences{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.composerReferences .detectedTrigger,.composerReferences .referenceChip{min-height:44px;padding:4px 10px 4px 4px;font-size:13px;font-weight:500}.composerReferences .characterThumb,.composerReferences .promptReferencePreview img{border:0;width:32px;height:32px}.referenceChipHint{color:var(--muted)}.composerReferences .promptReferencePicker{width:auto;color:var(--ink);background:0 0;border-color:#0000;padding:0 10px;font-size:13px;font-weight:500}.composerReferences .promptReferencePicker:hover{background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.composerReferences .promptReferencePicker:hover{background:color-mix(in srgb,var(--ink) 7%,transparent)}}.composerCard .inlineSettings{padding:0 16px 16px}.composerAdvanced>summary,.composerOptions>summary{cursor:pointer;align-items:center;list-style:none;display:flex}.composerAdvanced>summary::-webkit-details-marker,.composerOptions>summary::-webkit-details-marker{display:none}.composerOptions>summary{min-height:52px;color:var(--ink);gap:12px;padding:0 16px}.composerOptions>summary strong{font-weight:600}.composerOptions>summary span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.composerAdvanced>summary svg,.composerOptions>summary svg{width:16px;height:16px;color:var(--muted);flex:none;transition:transform .15s ease-out}.composerOptions[open]>summary>svg{transform:rotate(180deg)}.composerAdvanced[open]>summary>svg{transform:rotate(90deg)}.composerOptionsBody{gap:16px;padding:4px 16px 16px;display:grid}.composerOptionsPair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.countStepper{border:1px solid var(--line);border-radius:var(--radius);background:var(--input);justify-content:space-between;align-items:center;min-height:44px;display:flex}.countStepper button{width:44px;padding:0;font-size:18px}.countStepper .mono{color:var(--ink);font-size:14px}.segmentedControl.composerRatios{flex-wrap:wrap;width:fit-content;max-width:100%;display:flex}.composerAdvanced{border-top:1px solid var(--line)}.composerAdvanced>summary{min-height:44px;color:var(--muted);gap:8px;font-size:13px;font-weight:500}.composerAdvanced .composerOptionsPair{padding-top:4px}.composerOptionsPair .field select{width:100%;min-width:0;max-width:none}.composerActions,.composerSubmit{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.composerActions{justify-content:space-between}.composerEstimate{color:var(--muted)}.composerSubmit .primary{min-width:200px;padding:0 16px;font-weight:500}.composerLatest{flex:360px;gap:12px;min-width:0;display:grid}.composerLatestHead{justify-content:space-between;align-items:baseline;display:flex}.composerLatestHead h2{margin:0;font-size:20px}.composerLatestHead .textButton{font-size:13px;font-weight:500}.latestGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;display:grid}@media (max-width:1023px){.composerActions{bottom:calc(57px + env(safe-area-inset-bottom));z-index:5;border-top:1px solid var(--line);background:var(--bg);flex-wrap:nowrap;margin:0 -16px;padding:10px 16px;position:sticky}.composerImprove{flex:none;width:44px;padding:0}.composerImproveText{display:none}.composerSubmit{flex-wrap:nowrap;flex:1 1 0;min-width:0}.imageModeSwitch{width:100%}.composerSubmit .primary{flex:1;min-width:0}}.editSourceCard{overflow:hidden}.editSourceHead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:8px 8px 8px 16px;display:flex}.editSourceHead>span:first-child{flex:200px;min-width:0;display:grid}.editSourceHead strong{font-weight:600}.composerReferences span.referenceChip>span,.editSourceHead>span:first-child>span,.videoFrameSlotBody span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.editColorPicker,.editSourceActions,.editTools,.videoFrameSlotActions{gap:4px;display:flex}.composerReferences span.referenceChip{border:1px solid var(--line);border-radius:var(--radius);align-items:center;gap:8px;max-width:220px;display:inline-flex}.editCanvasBlock{border-top:1px solid var(--line);display:grid}.editCanvasStage{background:var(--bg);place-items:center;min-width:0;display:grid}.editCanvasFrame{max-width:100%;display:grid;position:relative}.editCanvasFrame img{object-fit:contain;-webkit-user-select:none;user-select:none;border-radius:0;max-width:100%;max-height:calc(100dvh - 320px);display:block}.editToolRail{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:4px;padding:4px 8px;display:flex}.editColorSwatch{width:44px;min-height:44px;box-shadow:inset 0 0 0 10px var(--surface),inset 0 0 0 11px var(--line);border:0;border-radius:999px;padding:0}.editColorSwatch.active{box-shadow:inset 0 0 0 8px var(--surface),inset 0 0 0 10px var(--ink)}.brushSizeControl{align-items:center;min-height:44px;padding:0 8px;display:flex}.brushSizeControl input{width:88px;min-height:auto;accent-color:var(--ink);padding:0}.editTools{margin-left:auto}.editTool{width:44px;color:var(--muted);padding:0}.editTool.active{background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.editTool.active{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.editTool.active{color:var(--ink)}.editTool svg{width:18px;height:18px}.editOverlay{z-index:1000;background:var(--bg);grid-template-rows:auto minmax(0,1fr);gap:16px;padding:16px 24px;display:grid;position:fixed;inset:0;overflow:auto}.editTopBar{justify-content:space-between;align-items:center;gap:16px;display:flex}.editTopBar h2{margin:2px 0 0;font-size:20px}.editWorkspace{grid-template-columns:minmax(0,1fr) minmax(320px,380px);align-items:start;gap:24px;display:grid}.editWorkspace>.imageComposer{position:sticky;top:24px}.editWorkspace .composerSubmit{flex:200px}.editWorkspace .composerSubmit .primary{flex:1;min-width:0}.editWorkspace>.editCanvasBlock{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.editOverlay .editCanvasFrame img{max-height:calc(100dvh - 160px)}.videoFrameSlotGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.videoFrameSlot{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;display:grid}.videoFrameSlot img,.videoFrameSlotIcon{object-fit:cover;border-radius:0;width:64px;height:48px}.videoFrameSlotIcon{background:var(--ink);place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.videoFrameSlotIcon{background:color-mix(in srgb,var(--ink) 6%,transparent)}}.videoFrameSlotIcon{color:var(--muted)}.videoFrameSlotIcon svg{width:18px;height:18px}.videoFrameSlotBody{min-width:0;display:grid}.videoFrameSlotBody strong{font-weight:600}.videoReferenceEmpty{color:var(--muted);margin:0;font-size:13px}@media (max-width:1023px){.editWorkspace{grid-template-columns:1fr;gap:16px}.editWorkspace>.imageComposer{display:contents}.editCanvasFrame img{max-height:62dvh}.editOverlay{padding:12px 16px}.editOverlay .composerActions{border:0;margin:0;padding:0;position:static}}@media (max-width:520px){.composerOptionsPair{grid-template-columns:minmax(0,1fr)}}.referenceGrid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:10px;display:grid}.referenceGrid figure{min-width:0;margin:0}.referenceGrid img{aspect-ratio:1;object-fit:cover;border-radius:0;width:100%;display:block}.referenceGrid figcaption{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:11px;line-height:1.25;display:-webkit-box;overflow:hidden}.drawerSourceImage{text-align:left;grid-template-columns:72px minmax(0,1fr);justify-content:start;gap:10px;width:100%;min-height:0;padding:8px;display:grid}.drawerSourceImage img{object-fit:cover;border-radius:0;width:72px;height:72px}.drawerSourceImage span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px 12px;display:grid}.historyHeaderControls{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.segmentedControl.historyFilters{grid-template-columns:repeat(3,minmax(0,1fr));width:300px}.historyVectorModelField{min-width:190px}.historyVectorModelField select{width:100%;min-height:44px}.searchField{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:0 10px;display:grid}.searchField:focus-within{border-color:var(--ink);box-shadow:0 0 0 2px #17171714}.searchFieldIcon{width:17px;height:17px;color:var(--muted)}.searchField input{width:100%;min-width:0;height:38px;box-shadow:none;color:var(--ink);background:0 0;border:0;padding:0}.searchField input:focus-visible{outline:none}.searchClearButton{border-radius:var(--radius);width:44px;height:44px;min-height:44px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.searchClearButton:focus-visible,.searchClearButton:hover{background:var(--surface-2);color:var(--ink)}.searchClearButton svg{width:16px;height:16px}.historySearchField{flex:0 0 260px;width:260px;max-width:260px}.history .emptyState{grid-column:1/-1}.historyLoadMore{grid-column:1/-1;justify-content:center;display:flex}.historyView{gap:20px;display:grid}.historyFilterPanel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:16px;display:grid}.historyLayout{align-items:flex-start;gap:32px;display:flex}.historyLayout>.history{flex:999 480px;min-width:0}.historyCard{min-height:0;color:var(--ink);font:inherit;text-align:left;font-size:13px;transition:border-color .1s ease-out}.historyCard:hover:not(:disabled){border-color:var(--line-strong)}.historyCard>img{aspect-ratio:16/9;object-fit:cover;border-radius:0;width:100%;display:block}.historyCardTitle{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.historyCardMeta{color:var(--muted);justify-content:space-between;gap:8px;display:flex}.historyCardMeta strong{color:var(--ink);font-weight:600}.historyOverlay{z-index:99999;background:#00000073;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.historyInspector{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);width:min(1180px,100%);max-height:calc(100dvh - 48px);box-shadow:var(--shadow);grid-template-rows:repeat(7,auto) 1fr;grid-template-columns:minmax(0,1fr) 360px;align-content:start;gap:12px 24px;padding:20px;display:grid;overflow:auto}.historyInspector>*{grid-column:2}.historyInspector>:is(.artCardMedia,.artCardPending,.historyInspectorVideo){grid-area:1/1/-1;align-self:start}.historyInspectorHead .iconOnly{width:44px}.historyInspectorVideo{background:var(--color-black);width:100%;max-height:calc(100dvh - 88px);display:block}.historyInspectorHead{color:var(--muted);justify-content:space-between;align-items:center;margin:-8px -8px -8px 0;font-size:12px;font-weight:500;display:flex}.historyInspector .artCardMedia img,.historyInspector .artCardPending{aspect-ratio:auto;object-fit:contain;max-height:calc(100dvh - 88px)}.historyInspector .artCardPending{aspect-ratio:16/9}.historyInspectorPrompt{overflow-wrap:anywhere;margin:0;font-size:14px}.inspectorSection{border-top:1px solid var(--line);padding-top:8px}.inspectorSection>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:500;display:flex}.inspectorFacts{grid-template-columns:auto minmax(0,1fr);gap:6px 16px;margin:4px 0 12px;font-size:13px;display:grid}.inspectorFacts dt{color:var(--muted)}.inspectorFacts dd{overflow-wrap:anywhere;margin:0}.inspectorToolbar{flex-wrap:wrap;gap:2px;margin:0 -10px;display:flex}.inspectorTool{position:relative}.inspectorTool:hover:not(:disabled){background:var(--ink);border-color:#0000}@supports (color:color-mix(in lab,red,red)){.inspectorTool:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 7%,transparent)}}.inspectorTool[aria-pressed=true]{background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.inspectorTool[aria-pressed=true]{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.inspectorTool.inspectorDanger{color:var(--danger);margin-left:auto}.inspectorTool[data-tip]:focus-visible:after,.inspectorTool[data-tip]:hover:after{z-index:2;border-radius:var(--radius);background:var(--ink);color:var(--bg);content:attr(data-tip);white-space:nowrap;pointer-events:none;padding:4px 8px;font-size:12px;font-weight:500;position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%)}.inspectorTool.inspectorDanger:after{left:auto;right:0;transform:none}.inspectorPrompt{gap:8px;margin:4px 0 12px;display:grid}.inspectorPrompt>span{color:var(--muted);font-size:12px;font-weight:500}.inspectorPrompt>p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;margin:0;font-size:13px;overflow:auto}.inspectorReferences{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;display:grid}.inspectorReferences button{border-color:var(--line);padding:0;overflow:hidden}.inspectorReferences img{aspect-ratio:1;object-fit:cover;border-radius:0;width:100%;display:block}@media (max-width:1023px){.historyOverlay{align-items:end;padding:0}.historyInspector{border-radius:var(--radius-md) var(--radius-md) 0 0;grid-template-rows:none;grid-template-columns:minmax(0,1fr);max-height:92dvh;padding:16px}.historyInspector>*,.historyInspector>:is(.artCardMedia,.artCardPending,.historyInspectorVideo){grid-area:auto/1}.historyInspector .artCardMedia img,.historyInspectorVideo{max-height:50dvh}}.videoFrameAction{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:44px;color:var(--ink);cursor:pointer;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-weight:600;display:inline-flex}.videoFrameAction svg{width:16px;height:16px}.videoToggle{border:1px solid var(--line);border-radius:var(--radius);min-height:44px;color:var(--muted);align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.videoToggle input{width:auto;min-height:auto}.composerOptions .videoToggle{color:var(--ink);place-self:end start;font-weight:500}.videoClipMedia{border-radius:0;position:relative;overflow:hidden}.videoClipMedia img,.videoClipMedia video{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.videoClipMedia video{background:var(--color-black)}.storyboardHistoryPlaceholder{aspect-ratio:16/9;width:100%;color:var(--muted);align-content:center;place-items:center;gap:8px;font-weight:600;display:grid}.storyboardHistoryPlaceholder svg{width:32px;height:32px}.videoStatus{margin-top:8px;font-size:12px}.generationJobMedia>.videoStatus{margin:0;position:absolute;top:10px;left:10px}.videoPreviewButton{border-color:var(--line);background:var(--surface);width:44px;min-height:44px;color:var(--ink);position:absolute;top:10px;right:10px}.storyboardPanel{max-width:1280px}.storyboardLibrary{gap:16px;display:grid}.emptyState.storyboardLibraryEmpty{border:1px dashed var(--line-strong);background:var(--surface);text-align:center;align-content:center;justify-items:center;gap:8px;width:100%;max-width:none;min-height:min(520px,60dvh)}.storyboardLibraryEmpty>p:last-child{max-width:420px;color:var(--muted);margin:0}.storyboardLibraryEmptyIcon{border:1px solid var(--line);border-radius:var(--radius);background:var(--ink);place-items:center;width:56px;height:56px;display:grid}@supports (color:color-mix(in lab,red,red)){.storyboardLibraryEmptyIcon{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.storyboardLibraryEmptyIcon{color:var(--ink)}.storyboardLibraryEmptyIcon svg{width:26px;height:26px}.storyboardEditorBar{justify-content:space-between}.storyboardGallery{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.storyboardControls,.storyboardCreateHeader,.storyboardEditorBar,.storyboardHeaderActions,.storyboardReferenceBar,.storyboardSceneActions,.storyboardTimelineHead{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.storyboardBrief,.storyboardComposer,.storyboardSceneCard,.storyboardTimeline,.storyboardWorkspace{gap:14px;display:grid}.storyboardComposer,.storyboardTimeline,.storyboardWorkspace{margin-top:16px}.storyboardBrief,.storyboardSceneCard,.storyboardTimeline{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:14px}.storyboardSceneCard{grid-template-columns:minmax(180px,260px) minmax(0,1fr);align-items:start;gap:12px}.storyboardControls .field,.storyboardPicker .field{width:auto}.storyboardModelField{min-width:220px}.storyboardReferenceBar{align-items:stretch}.videoPosterFallback{aspect-ratio:16/9;background:var(--surface-2);width:100%;color:var(--muted);place-items:center;gap:8px;font-weight:600;display:grid}.videoPosterFallback svg{width:28px;height:28px}.storyboardReferenceChip{border:1px solid var(--line);border-radius:var(--radius);max-width:240px;min-height:44px;color:var(--muted);align-items:center;gap:8px;padding:6px 8px;font-size:12px;font-weight:600;display:inline-flex}.storyboardReferenceChip img{object-fit:cover;border-radius:0;width:32px;height:32px}.storyboardReferenceChip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storyboardReferenceChip button{width:44px;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0}.storyboardPicker{justify-content:space-between;align-items:center;gap:12px;display:flex}.storyboardHeaderActions{flex-wrap:nowrap;justify-content:flex-start;min-width:0}.storyboardHeaderActions .storyboardModelField{flex:1 1 0;min-width:0}.storyboardHeaderActions button{flex:none}.storyboardSceneGrid{grid-template-columns:1fr;gap:14px;display:grid}.storyboardSceneActions{place-content:start flex-start;padding-top:2px}.storyboardSceneActions .primary,.storyboardSceneActions .secondary{min-width:150px}.storyboardPromptWithAction{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.storyboardInlineClipAction,.storyboardInlineKeyframeAction{min-width:170px}.storyboardSceneMediaColumn{align-content:start;justify-self:start;gap:8px;width:100%;max-width:260px;display:grid}.storyboardSceneMediaColumn>*{min-width:0;max-width:100%}.storyboardSceneMedia{background:var(--surface-2);border-radius:0;width:100%;position:relative;overflow:hidden}.storyboardEmptyFrame,.storyboardSceneMedia img{aspect-ratio:16/9;object-fit:cover;width:100%;color:var(--muted);place-items:center;font-size:12px;font-weight:600;display:grid}.storyboardEmptyFramePending{box-sizing:border-box;aspect-ratio:auto;border:1px dashed var(--line);background:var(--surface);text-align:center;border-radius:0;align-content:center;gap:4px;min-height:88px;padding:12px}.storyboardEmptyFramePending strong{color:var(--ink)}.storyboardEmptyFramePending span{color:var(--muted);font-size:11px;font-weight:600}.storyboardKeyframePreview{width:100%;min-height:0;box-shadow:none;cursor:zoom-in;background:0 0;border:0;border-radius:0;padding:0;line-height:0;display:block}.storyboardKeyframePreview:active:not(:disabled),.storyboardKeyframePreview:hover:not(:disabled){box-shadow:none;background:0 0;border-color:#0000}.storyboardKeyframeActions,.storyboardSceneQuickRow{align-items:center;gap:8px;display:flex}.storyboardSceneQuickRow{width:100%}.storyboardSceneQuickActions{justify-content:flex-end;align-items:center;gap:8px;min-width:0;margin-left:auto;display:inline-flex}.storyboardKeyframePreview img{display:block}.storyboardKeyframeRemove{z-index:2;background:var(--surface);color:var(--danger);position:absolute;bottom:10px;right:10px}.storyboardSceneMedia .pill{position:absolute;top:10px;right:10px}.storyboardSceneEnabled{width:fit-content}.storyboardSceneFields{gap:10px;min-width:0;display:grid}.storyboardSceneField{min-width:0;color:var(--muted);letter-spacing:0;gap:5px;font-size:11px;font-weight:600;display:grid}.storyboardSceneFields input,.storyboardSceneFields select,.storyboardSceneFields textarea,.storyboardSceneMediaColumn select{border:1px solid var(--line);border-radius:var(--radius);background-color:var(--surface-2);width:100%;color:var(--ink);font:inherit;padding:10px 12px}.storyboardSceneFields input,.storyboardSceneFields select,.storyboardSceneFields textarea{font-size:13px;line-height:1.45}.storyboardMiniGrid select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238F8F8F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:36px}.storyboardSceneFields textarea{resize:vertical;min-height:84px}.storyboardSceneFields .videoToggle{justify-self:start}.storyboardSceneOrder,.storyboardTimelineActions{align-items:center;gap:6px;display:inline-flex}.storyboardSceneMediaColumn .storyboardInlineKeyframeAction{width:100%;min-width:0}.storyboardMiniGrid{grid-template-columns:1fr;gap:8px;display:grid}.storyboardTimeline{gap:12px}.storyboardTimelineHead{justify-content:space-between}.storyboardTimelineStrip{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.storyboardTimelineSettings{padding-top:2px}.storyboardTimelineSettings .storyboardRenderModelField{flex:280px;min-width:min(280px,100%)}.storyboardTimelineSettings .controlHint{flex-basis:100%}.storyboardTimelineItem{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);position:relative;overflow:hidden}.storyboardTimelineItem img,.storyboardTimelineItem video,.storyboardTimelinePlaceholder{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.storyboardTimelineItem p{color:var(--muted);margin:0;padding:8px 10px 10px;font-size:12px;font-weight:600}.storyboardTimelineActions{z-index:1;position:absolute;top:8px;right:8px}.storyboardTimelineActions .iconButton{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111827b8;border-color:#ffffff5c;width:44px;min-height:44px}.storyboardExport{gap:10px;display:grid}.storyboardExport video{background:var(--color-black);border-radius:0;width:100%;max-height:520px}.storyboardStudio{gap:18px;margin-top:12px;display:grid}.storyboardStudioAudio,.storyboardStudioExports,.storyboardStudioHeader,.storyboardStudioHeaderActions,.storyboardStudioHeaderLead,.storyboardStudioInspectorActions,.storyboardStudioInspectorHead,.storyboardStudioProductionActions,.storyboardStudioProductionHead,.storyboardStudioTimelineHead{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.storyboardStudioHeader,.storyboardStudioInspectorHead,.storyboardStudioProductionHead,.storyboardStudioTimelineHead{justify-content:space-between}.storyboardStudioHeaderLead{min-width:0}.storyboardStudioHeader h2,.storyboardStudioInspector h3,.storyboardStudioProduction h3{color:var(--ink);margin:0}.storyboardStudioBack{align-items:center;gap:2px;display:inline-flex}.storyboardStudioBack svg{width:17px}.storyboardSaveState{color:var(--muted);font-size:12px;font-weight:600}.storyboardSaveState.isDirty,.storyboardSaveState.isSaving{color:var(--ink)}.storyboardSaveState.isConflict{color:var(--danger)}.storyboardStudioConflict{border:1px solid var(--danger);flex-wrap:wrap;align-items:center;gap:10px;display:flex}@supports (color:color-mix(in lab,red,red)){.storyboardStudioConflict{border:1px solid color-mix(in srgb,var(--danger) 45%,var(--line))}}.storyboardStudioConflict{border-radius:var(--radius);background:var(--danger);padding:10px 12px}@supports (color:color-mix(in lab,red,red)){.storyboardStudioConflict{background:color-mix(in srgb,var(--danger) 8%,var(--surface))}}.storyboardStudioConflict{color:var(--ink);font-size:13px;font-weight:600}.storyboardStudioCanvas{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-template-columns:minmax(0,1.65fr) minmax(270px,.75fr);align-items:start;display:grid;overflow:hidden}.storyboardStudioPreview{aspect-ratio:16/9;background:#000;width:100%;max-height:60vh;display:grid;position:relative}.storyboardStudioPreview img,.storyboardStudioPreview video{object-fit:contain;width:100%;height:100%;min-height:0}.storyboardStudioPreviewEmpty{color:#e8e8e8;text-align:center;place-content:center;justify-items:center;gap:12px;padding:32px;display:grid}.storyboardStudioPreviewEmpty svg{width:36px;height:36px;color:var(--ink)}.storyboardStudioPreviewMeta{border-radius:var(--radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#141414d1;border:1px solid #333;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex;position:absolute;inset:auto 12px 12px}.storyboardStudioPreviewMeta span{color:#e8e8e8;font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.storyboardStudioBrief{border-left:1px solid var(--line);background:var(--surface-2);align-content:start;gap:12px;max-height:60vh;padding:16px;display:grid;overflow:auto}.storyboardStudioAdvanced label,.storyboardStudioBrief label,.storyboardStudioFields label{color:var(--muted);gap:6px;font-size:12px;font-weight:600;display:grid}.storyboardStudioAdvanced label>span,.storyboardStudioBrief label>span,.storyboardStudioFields label>span{justify-content:space-between;align-items:center;gap:8px;display:flex}.storyboardStudioAdvanced input,.storyboardStudioAdvanced textarea,.storyboardStudioBrief input,.storyboardStudioBrief select,.storyboardStudioBrief textarea,.storyboardStudioFields input,.storyboardStudioFields select,.storyboardStudioFields textarea{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--ink);font:inherit;padding:9px 10px;line-height:1.45}.storyboardStudioAdvanced textarea,.storyboardStudioBrief textarea,.storyboardStudioFields textarea{resize:vertical}.storyboardStudioAdvanced,.storyboardStudioBrief details{border-top:1px solid var(--line);gap:10px;padding-top:12px;display:grid}.storyboardStudioAdvanced summary,.storyboardStudioBrief summary{cursor:pointer;color:var(--ink);font-size:13px;font-weight:600}.storyboardStudioInspector,.storyboardStudioProduction,.storyboardStudioTimeline{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:14px;padding:16px;display:grid}.storyboardStudioTimeline{z-index:2;position:sticky;top:12px}.storyboardStudioTimelineStrip{scroll-snap-type:x proximity;gap:10px;padding-bottom:4px;display:flex;overflow-x:auto}.storyboardStudioTarget{color:var(--muted);gap:3px;font-size:11px;font-weight:600;display:grid}.storyboardStudioTarget input{width:94px;font:inherit;padding:7px}.storyboardStudioShot,.storyboardStudioTarget input{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);color:var(--ink)}.storyboardStudioShot{min-width:250px;text-align:left;scroll-snap-align:start;cursor:pointer;grid-template-columns:34px 100px;padding:0;display:grid;position:relative;overflow:hidden}.storyboardStudioShot:hover{border-color:var(--line-strong)}.storyboardStudioShot.isSelected{border-color:var(--accent);outline:1px solid var(--accent)}.storyboardStudioShotGrip{color:var(--muted);place-self:center}.storyboardStudioShot img,.storyboardStudioShotEmpty{object-fit:cover;background:var(--ink);width:100px;height:76px;display:block}@supports (color:color-mix(in lab,red,red)){.storyboardStudioShot img,.storyboardStudioShotEmpty{background:color-mix(in srgb,var(--ink) 8%,var(--surface-2))}}.storyboardStudioShotEmpty{color:var(--ink);place-items:center;font-weight:600;display:grid}.storyboardStudioShot>span:last-child{grid-column:1/-1;gap:2px;padding:9px 10px;display:grid}.storyboardStudioShot strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.storyboardStudioShot small{color:var(--muted);font-size:11px;font-weight:600}.storyboardStudioShotPlay{border-radius:var(--radius);background:var(--primary);width:22px;height:22px;color:var(--on-primary);padding:4px;position:absolute;top:8px;right:8px}.storyboardStudioInspectorGrid{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);gap:20px;display:grid}.storyboardStudioFields{align-content:start;gap:12px;display:grid}.storyboardStudioFieldRow{grid-template-columns:130px minmax(0,1fr);gap:10px;display:grid}.storyboardStudioToggle{grid-auto-flow:column;align-items:center;width:fit-content;color:var(--ink)!important;justify-content:start!important;display:flex!important}.storyboardStudioToggle input{width:18px;height:18px}.storyboardStudioReferences{border-radius:var(--radius);background:var(--surface-2);align-content:start;gap:8px;padding:14px;display:grid}.storyboardStudioReferences p{margin:0}.storyboardStudioEntityGrid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(54px,auto);gap:8px;max-height:254px;display:grid;overflow:auto}.storyboardStudioEntityGrid button>span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.35;display:-webkit-box;overflow:hidden}.storyboardStudioEntityGrid button{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);text-align:left;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:7px;padding:5px;font-size:11px;font-weight:600;display:grid}.storyboardStudioEntityGrid button.isSelected{border-color:var(--accent);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.storyboardStudioEntityGrid button.isSelected{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.storyboardStudioEntityGrid img{object-fit:cover;border-radius:0;width:42px;height:32px}.storyboardStudioSelectedReferences{gap:8px;padding-top:4px;display:flex;overflow-x:auto}.storyboardStudioSelectedReferences figure{min-width:88px;max-width:88px;color:var(--muted);margin:0;font-size:10px}.storyboardStudioSelectedReferences img{object-fit:cover;border-radius:0;width:88px;height:56px}.storyboardStudioVariants{border-top:1px solid var(--line);gap:10px;padding-top:14px;display:grid}.storyboardStudioVariants p{margin:0}.storyboardStudioVariantGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.storyboardStudioVariantGrid article{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);overflow:hidden}.storyboardStudioVariantGrid article.isApproved{border-color:var(--ok)}.storyboardStudioVariantEmpty,.storyboardStudioVariantGrid img,.storyboardStudioVariantGrid video{aspect-ratio:16/9;object-fit:cover;background:var(--surface);width:100%;display:block}.storyboardStudioVariantEmpty{color:var(--muted);place-items:center;font-size:12px;display:grid}.storyboardStudioVariantGrid article>div:last-child{justify-content:space-between;align-items:center;gap:8px;padding:8px;font-size:11px;font-weight:600;display:flex}.storyboardStudioShotActions{flex-wrap:wrap;gap:10px;display:flex}.storyboardStudioGenerationPicker{color:var(--muted);gap:4px;font-size:11px;font-weight:600;display:grid}.storyboardStudioGenerationPicker select{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);max-width:260px;min-height:38px;color:var(--ink);font:inherit;padding:7px}.storyboardStudioProductionBody{border-top:1px solid var(--line);gap:14px;padding-top:14px;display:grid}.storyboardStudioAudio{border-radius:var(--radius);background:var(--surface-2);color:var(--muted);padding:10px;font-size:12px;font-weight:600}.storyboardStudioAudio label{align-items:center;gap:6px;display:inline-flex}.storyboardStudioAudio input[type=range]{width:110px}.storyboardStudioExports a{text-decoration:none}.storyboardStudioAssembly{gap:8px;display:grid}.storyboardStudioAssembly video{background:#000;border-radius:0;width:min(100%,980px);max-height:60vh}@media (max-width:760px){.storyboardStudioCanvas,.storyboardStudioInspectorGrid{grid-template-columns:1fr}.storyboardStudioBrief{border-top:1px solid var(--line);border-left:0}.storyboardStudioPreview{min-height:0;max-height:none}.storyboardStudioBrief{max-height:none}.storyboardStudioTimeline{position:static}.storyboardStudioHeader,.storyboardStudioInspectorHead,.storyboardStudioProductionHead,.storyboardStudioTimelineHead{align-items:stretch}.storyboardStudioHeaderActions,.storyboardStudioInspectorActions,.storyboardStudioProductionActions{width:100%}.storyboardStudioHeaderActions>*,.storyboardStudioInspectorActions>*,.storyboardStudioProductionActions>*{flex:160px}.storyboardStudioEntityGrid{grid-template-columns:1fr}}.editCanvas,.editNotes{width:100%;height:100%;position:absolute;inset:0}.editCanvas{touch-action:none;cursor:crosshair}.editNotes{pointer-events:none}.editNotePin{border:2px solid var(--ink);background:var(--warn);width:44px;min-height:44px;color:var(--on-primary);pointer-events:auto;border-radius:999px;place-items:center;padding:0;font-size:13px;font-weight:600;display:grid;position:absolute;transform:translate(-50%,-50%)}.editNotePin.active{outline:2px solid var(--accent);outline-offset:2px}.editNoteEditor{z-index:4;border:1px solid var(--line);border-radius:var(--radius-md);width:min(280px,100% - 24px);box-shadow:var(--shadow);pointer-events:auto;gap:8px;padding:12px;display:grid;transform:translate(-50%,calc(-100% - 18px))}.editNoteEditor,.editNoteEditor:after{background:var(--surface);position:absolute}.editNoteEditor:after{border-right:1px solid var(--line);border-bottom:1px solid var(--line);content:"";width:14px;height:14px;bottom:-8px;left:50%;transform:translate(-50%)rotate(45deg)}.editNoteEditorActions{justify-content:flex-end;gap:8px;display:flex}.iconTextButton{align-items:center;gap:7px;min-height:44px;display:inline-flex}.iconTextButton svg{width:16px;height:16px}.output{align-content:start;gap:8px;display:grid}.history .output{content-visibility:auto;contain-intrinsic-size:260px}.generationJobMedia{aspect-ratio:16/9;background:var(--ink);place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab,red,red)){.generationJobMedia{background:color-mix(in srgb,var(--ink) 9%,transparent)}}.generationJobMedia{color:var(--muted)}.generationJobMedia>svg{width:34px;height:34px}.generationJobErrorDisclosure{min-width:0}.generationJobErrorDisclosure summary{cursor:pointer;width:fit-content;color:var(--danger);font-size:14px;font-weight:600;list-style:none}.generationJobErrorDisclosure summary::-webkit-details-marker{display:none}.generationJobErrorDisclosure summary:after{content:"+";margin-left:6px}.generationJobErrorDisclosure[open] summary:after{content:"−"}.generationJobErrorDisclosure .assetError{border-radius:var(--radius);background:var(--danger);margin-top:6px;padding:8px 10px}@supports (color:color-mix(in lab,red,red)){.generationJobErrorDisclosure .assetError{background:color-mix(in srgb,var(--danger) 7%,var(--surface))}}.generationJobErrorDisclosure .assetError{overflow-wrap:anywhere;font-size:12px}.outputImageButton{min-height:auto;box-shadow:none;background:0 0;border:0;padding:0}.outputImageButton:hover:not(:disabled){box-shadow:none;transform:none}.outputImageButton img{aspect-ratio:16/9;object-fit:cover;border-radius:0;width:100%;display:block}.outputBody{padding-inline:2px}.outputBody,.outputHead{gap:8px;min-width:0;display:grid}.outputHead .caption{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:40px;margin-top:0;line-height:20px;display:-webkit-box;overflow:hidden}.outputToolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.outputActions{flex-wrap:nowrap;flex:none;justify-content:flex-end;gap:6px;margin-left:auto;display:flex}.empty,.emptyState{color:var(--muted)}.emptyState{border:1px dashed var(--line-strong);border-radius:var(--radius);background:var(--surface);max-width:520px;padding:22px}@supports (color:color-mix(in lab,red,red)){.emptyState{background:color-mix(in srgb,var(--surface) 68%,transparent)}}.compactEmpty{max-width:360px;padding:14px}.uploadDropzone{cursor:pointer;border-style:dashed;align-content:center;gap:10px;max-width:420px;min-height:168px;margin:0 0 16px;transition:border-color .16s,background .16s,color .16s;display:grid}.uploadDropzone:focus-within,.uploadDropzone:hover{border-color:var(--accent);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.uploadDropzone:focus-within,.uploadDropzone:hover{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.uploadDropzone:focus-within,.uploadDropzone:hover{color:var(--ink)}.compactUploadDropzone{justify-content:space-between;align-items:center;gap:14px;max-width:none;min-height:auto;padding:14px;display:flex}.compactUploadDropzone span:nth-of-type(2){flex:auto}.dropzoneInput{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dropzoneAction{border-radius:var(--radius);background:var(--ink);color:var(--surface);justify-self:start;padding:8px 12px;font-size:13px;font-weight:600}.modalLayer{z-index:100000;background:#17171757;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modalPanel{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);width:min(92vw,440px);box-shadow:var(--shadow);gap:16px;padding:18px;display:grid}.assetDeveloperPanel{gap:14px;max-width:1180px;display:grid}.assetDeveloperComposer{gap:0;display:grid}.assetDeveloperForm{gap:12px;display:grid}.assetDeveloperIdentity{grid-template-columns:minmax(260px,.8fr) minmax(280px,1.2fr);align-items:center;gap:10px;display:grid}.assetBriefField textarea,.assetNameField input{font-size:18px;font-weight:600}.assetBriefField textarea{min-height:118px;margin-top:0;overflow:hidden}.assetDeveloperSource{flex:0 auto}.assetSourcePicker{cursor:pointer;padding:4px 12px}.assetSourcePicker:hover{border-color:var(--ink);color:var(--ink)}.assetSourcePicker svg{width:18px;height:18px}.assetSourcePreview{max-width:min(100%,260px)}.assetDeveloperControls{padding-top:2px}.assetDeveloperControls .generationSettingPair{flex-wrap:wrap}.assetDeveloperControls .field{width:auto}.assetGenerateButton{margin-left:auto}.assetApproveButton,.assetGenerateButton{min-height:44px;padding:0 16px;font-weight:600}.assetDeveloperLibrary,.assetDeveloperWorkspace{gap:14px;display:grid}.assetDeveloperGallery{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.assetDevelopmentCard{overflow:hidden}.assetDevelopmentMedia{width:100%;box-shadow:none;cursor:zoom-in;background:0 0;border:0;border-radius:0;padding:0;line-height:0;display:grid}.assetDevelopmentMedia:active:not(:disabled),.assetDevelopmentMedia:hover:not(:disabled){box-shadow:none;background:0 0;border-color:#0000}.assetDevelopmentMedia img{aspect-ratio:1;object-fit:contain;background:var(--surface);width:100%;display:block}.assetDeveloperDetailGrid{grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);align-items:start;gap:16px;display:grid}.assetDeveloperDetailImage{border:1px solid var(--line);background:var(--surface);width:100%;min-height:0;box-shadow:none;cursor:zoom-in;border-radius:0;padding:0;line-height:0;display:grid;overflow:hidden}.assetDeveloperDetailImage img{aspect-ratio:1;object-fit:contain;background:var(--surface-2);width:100%;display:block}.assetDeveloperDetailPanel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:12px;min-width:0;padding:14px;display:grid}.assetDeveloperDetailPanel .field{width:100%;color:var(--muted);font-size:12px;font-weight:600}.assetDeveloperDetailControls .field{width:auto;color:inherit;font-size:inherit;font-weight:inherit}.assetDeveloperDetailPanel input,.assetDeveloperDetailPanel textarea{margin-top:6px}.assetDeveloperDetailPanel textarea{min-height:132px}.assetDeveloperDetailActions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.assetDeveloperSourceEvidence{align-items:center;gap:10px;padding-top:2px;display:flex}.assetDeveloperSourceEvidence .label{color:var(--muted);margin:0;font-size:12px;font-weight:600}.assetDeveloperSourceEvidence img{border:1px solid var(--line);object-fit:cover;background:var(--surface-2);border-radius:0;width:76px;height:76px}.modalActions,.modalHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.modalHead h3{margin:2px 0 0;font-size:22px}.segmentedControl{border-radius:var(--radius);background:var(--ink);border:0;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:2px;padding:3px;display:inline-grid}@supports (color:color-mix(in lab,red,red)){.segmentedControl{background:color-mix(in srgb,var(--ink) 6%,transparent)}}.segmentedControl label{cursor:pointer;display:grid}.segmentedControl input{opacity:0;pointer-events:none;width:1px;height:1px;min-height:0;margin:0;position:absolute}.segmentedControl span{min-height:44px;color:var(--muted);white-space:nowrap;border-radius:3px;place-items:center;padding:0 14px;font-size:13px;font-weight:500;display:grid}.segmentedControl input:checked+span{background:var(--surface);box-shadow:0 0 0 1px var(--line);color:var(--ink)}.segmentedControl input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.generationSourceDialog{grid-template-rows:auto auto minmax(0,1fr);width:min(94vw,920px);max-height:min(760px,88dvh);display:grid;overflow:hidden}.generationSourceSearch{grid-template-columns:auto minmax(0,1fr) auto;margin-bottom:12px}.generationSourceGrid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;gap:12px;padding-right:4px;overflow:auto}.generationSourceCard,.generationSourceGrid{align-content:start;min-height:0;display:grid}.generationSourceCard{text-align:left;background:0 0;border:0;grid-template-rows:auto 16px;gap:6px;min-width:0;padding:0;overflow:hidden}.generationSourceThumb{aspect-ratio:1;border:1px solid var(--line);background:var(--surface-2);border-radius:0;width:100%;display:block;overflow:hidden}.generationSourceCard img{object-fit:cover;width:100%;height:100%;display:block}.generationSourceCard:focus-visible .generationSourceThumb,.generationSourceCard:hover .generationSourceThumb{border-color:var(--ink);box-shadow:0 0 0 2px #17171714}.generationSourceCard:focus-visible{outline:none}.generationSourceCaption{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:16px;overflow:hidden}.lightbox{z-index:100000;background:#171717c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.lightboxPanel{border-radius:var(--radius-md);background:var(--surface);width:min(96vw,1280px);max-height:94dvh;box-shadow:var(--shadow);border:1px solid #ffffff2e;gap:12px;padding:14px;display:grid}.lightboxTop{justify-content:space-between;gap:12px;min-width:0}.lightboxActions,.lightboxTop{align-items:center;display:flex}.lightboxActions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:10px}.compactDownload{align-items:center;min-height:44px;padding-inline:14px;text-decoration:none;display:inline-flex}.lightboxIconButton{border-color:var(--line);border-radius:var(--radius);background:var(--surface);width:44px;min-height:44px;color:var(--ink)}.lightboxTop p{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.lightboxMedia{object-fit:contain;border-radius:0;max-width:100%;max-height:calc(94dvh - 92px);margin:0 auto;display:block}.lightboxPanel video{background:var(--color-black);width:100%}.compareViewer{min-height:0}.compareCanvas{border-radius:var(--radius);background:var(--color-black);width:fit-content;max-width:100%;margin:0 auto;position:relative;overflow:hidden}.compareCanvas .lightboxMedia{border-radius:0}.compareEnhanced{position:absolute;inset:0;overflow:hidden}.compareEnhanced img{object-fit:contain;width:100%;height:100%}.compareDivider{background:#fff;width:2px;position:absolute;inset-block:0;transform:translate(-1px);box-shadow:0 0 0 1px #00000059}.compareLabel{border-radius:var(--radius);background:var(--surface);color:var(--ink);padding:5px 8px;font-size:12px;font-weight:500;position:absolute;inset-block-start:12px}.compareLabelOriginal{inset-inline-start:12px}.compareLabelEnhanced{inset-inline-end:12px}.compareSliderLabel{max-width:620px;margin:10px auto 0;display:block}.compareSliderLabel input{width:100%;min-height:44px}.workflowModeSettings{border:0;gap:10px;padding:0;display:grid}.workflowModeSettings legend{margin-bottom:8px;font-weight:600}.workflowModeControl{width:fit-content}.workflowModeControl small{color:var(--ink);letter-spacing:0;margin-inline-start:5px;font-size:.68rem}.imageWorkflowModeControl{flex:none;grid-template-columns:repeat(2,minmax(104px,1fr));width:fit-content;min-width:0}.imageWorkflowModeControl span{white-space:nowrap;padding-inline:12px}.imageWorkflowModeControl input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.enhancedPill{color:var(--ink);border-color:var(--line-strong);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.enhancedPill{background:color-mix(in srgb,var(--ink) 8%,transparent)}}.textureDetailAction{white-space:nowrap;color:var(--ink)}.videoCompareGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.videoCompareGrid figure{gap:6px;min-width:0;margin:0;display:grid}.videoCompareGrid figcaption{color:var(--muted);font-size:12px;font-weight:600}.compareVersionToggle{display:none}.drawerLayer{z-index:45;background:#17171747;justify-content:flex-end;display:flex;position:fixed;inset:0}.detailDrawer{border-left:1px solid var(--line);background:var(--surface);width:min(92vw,560px);height:100dvh;box-shadow:var(--shadow);grid-template-rows:auto auto minmax(0,1fr);gap:14px;padding:18px;display:grid;overflow:auto}.drawerActions,.drawerTop{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.drawerTop h2{margin:4px 0 0;font-size:22px;line-height:1.15}.drawerImage{border:1px solid var(--line);background:var(--surface-2);min-height:auto;padding:0;overflow:hidden}.drawerImage img{object-fit:contain;width:100%;max-height:380px;display:block}.drawerForm{align-content:start;gap:14px;display:grid}.drawerForm textarea{min-height:150px}.fieldHint{color:var(--muted);font-size:12px;font-weight:600;line-height:1.35}.drawerForm .tagEditor{min-height:96px}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}.busySpinner,.navSpinner{border-right-color:currentColor}}@media (min-width:1600px){.assetGrid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media (max-width:1360px){.appShellMain>header:has(.historyHeaderControls){flex-direction:column;align-items:stretch;padding-block:12px}.appShellMain>header:has(.historyHeaderControls)>div:last-child{width:100%}.historyHeaderControls{flex-wrap:wrap;justify-content:flex-start;width:100%}.segmentedControl.historyFilters{flex:260px;width:auto}.historyVectorModelField{flex:220px;min-width:0}.historySearchField{flex:180px;width:auto;max-width:none}}@media (max-width:980px){.shell{grid-template-rows:auto minmax(0,1fr)}.rail{flex-direction:column;align-items:flex-start;height:auto;padding:16px 20px;position:static}.brand{justify-content:space-between;width:100%}.projectSelector{width:min(100%,240px)}.shell>.rail nav{flex-wrap:wrap;width:100%}.workspace{padding:20px}.preview{min-height:auto}.composeGrid{grid-template-columns:1fr}.settingsHeader{flex-direction:column;align-items:flex-start}.historyHeaderControls{flex-wrap:wrap}.historySearchField{max-width:none}.historyVectorModelField{flex:190px}.history{grid-template-columns:repeat(2,minmax(0,1fr))}.generationSourceGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.output{grid-template-columns:1fr}.outputHead{display:grid}.outputActions{justify-content:flex-start}.adminConsole,.adminFormGrid,.adminGrid,.adminUsers,.modelDefaultsGrid,.modelPromptLengthGrid,.modelVisibilityGrid,.permissionProjectRow,.projectApiKeyForm,.promptLabColumns,.userAccessCard,.userAccessWorkspace{grid-template-columns:1fr}.userAccessBrowser{max-height:360px;position:static}.fieldWithAction,.modelPromptLengthItem{grid-template-columns:1fr}.accessActions{justify-items:stretch}.userAccessEditor .accessActions{grid-template-columns:1fr}.accessActionButtons{justify-content:stretch}.projectApiKeyActions{justify-content:flex-start}.accessActionButtons .secondary{flex:1}.assetDeveloperIdentity,.groupSheetItem{grid-template-columns:1fr}}@media (max-width:640px){.imageWorkflowModeControl{flex:100%;width:100%}.historyHeaderControls{flex-basis:100%}.rail,.workspace{padding:14px}.lightbox{padding:8px}.lightboxPanel{width:100%;max-height:98dvh}.lightboxTop{flex-direction:column;align-items:flex-start}.lightboxActions{justify-content:flex-start;width:100%}.compactDownload{flex:auto;justify-content:center}.compareVersionToggle{border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:8px;display:grid;overflow:hidden}.compareVersionToggle button{background:var(--surface);border:0;border-radius:0;min-height:44px}.compareVersionToggle button.selected{background:var(--ink);color:var(--surface)}.videoCompareGrid{display:block}.videoCompareGrid figure{display:none}.videoCompareGrid figure.mobileSelected{display:grid}.brand{flex-direction:column;align-items:flex-start;gap:8px}.projectSelector{width:100%}.panel h2,.rail h1{font-size:24px}.actionBar,.cardActions,.groupSharingControl,.inlineActions,.output,.renameGroup,.sectionHead,.shell>.rail nav{grid-template-columns:1fr;display:grid}.groupSharingControl button{width:100%}.heroHead{padding:0}.generationControls,.generationSettingPair,.promptTopBar{flex-direction:column;align-items:stretch}.promptAssistBar{scrollbar-width:thin;flex-wrap:nowrap;align-items:center;width:100%;max-width:100%;max-height:none;padding:0 0 4px;overflow:auto hidden}.promptAssistBar .toolbarGroup{flex:none}.promptAssistBar .toolbarGroup>.chips{flex-wrap:nowrap;gap:8px;display:flex}.promptAssistBar .characterCheck,.promptAssistBar .detectedTrigger{flex:none;max-width:220px}.promptAssistBar .characterCheck>span:not(.chipType){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.promptTopBar .generationControls{width:100%}.characterGroup,.inlineSettings .field,.objectGroup{align-items:center;display:flex}.inlineSettings .field,.inlineSettings select{width:100%}.generationSettingPair{gap:8px}.groupSheetHead,.history{grid-template-columns:1fr}.groupSheetControls,.groupSheetDescription button,.groupSheetHead>button{width:100%}.groupSheetControls{flex-direction:column;align-items:stretch}.sheetModelField select{width:100%;max-width:none}.generationSourceDialog{max-height:92dvh}.historyHeaderControls,.historySearchField,.historyVectorModelField,.segmentedControl.historyFilters{width:100%}.historyHeaderControls{grid-template-columns:1fr;display:grid}.historySearchField{flex-basis:100%}.generationSourceGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.assetDeveloperControls{grid-template-columns:1fr;justify-items:stretch;width:100%;display:grid}.assetApproveButton,.assetDeveloperControls .field,.assetDeveloperControls .generationSettingPair,.assetDeveloperControls select,.assetGenerateButton,.assetSourcePicker{width:100%}.assetGenerateButton{margin-left:0}.assetDeveloperDetailGrid,.assetDeveloperGallery{grid-template-columns:1fr}.assetDeveloperDetailActions,.assetDeveloperViewBar{grid-template-columns:1fr;justify-items:stretch;display:grid}.storyboardControls,.storyboardCreateHeader,.storyboardEditorBar,.storyboardHeaderActions,.storyboardPicker,.storyboardReferenceBar,.storyboardSceneActions,.storyboardTimelineHead,.storyboardTimelineSettings{flex-direction:column;align-items:stretch}.storyboardControls .field,.storyboardControls button,.storyboardControls select,.storyboardCreateHeader button,.storyboardEditorBar button,.storyboardHeaderActions button,.storyboardInlineClipAction,.storyboardInlineKeyframeAction,.storyboardPicker .field,.storyboardPicker button,.storyboardReferenceBar button,.storyboardReferenceBar label,.storyboardTimelineHead button,.storyboardTimelineSettings .field,.storyboardTimelineSettings select{width:100%}.storyboardGallery,.storyboardMiniGrid,.storyboardPromptWithAction,.storyboardSceneCard,.storyboardSceneGrid,.storyboardTimelineStrip{grid-template-columns:1fr}.storyboardSceneMedia{max-width:none}.storyboardSceneOrder{align-self:flex-start}.iconOnly{width:100%}.outputActions{flex-wrap:wrap;justify-content:flex-start;width:100%;margin-left:0}.libraryActiveReference,.libraryNav,.libraryPrimaryNav,.libraryPrimaryNav button,.libraryReferenceSelect,.renameGroup,.settingsTabs,.settingsTabs button{width:100%}.libraryNav{grid-template-columns:1fr}.libraryPrimaryNav{grid-template-columns:1fr 1fr;display:grid}.assetGrid,.sheetGrid{grid-template-columns:1fr}.detailDrawer{width:100vw;padding:14px}.drawerActions,.drawerTop{grid-template-columns:1fr;display:grid}}.storyboardWorkflow{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);padding:20px}.storyboardWorkflow ol{grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 20px;padding:0;list-style:none;display:grid}.storyboardWorkflow li{border-bottom:3px solid var(--line);color:var(--muted);gap:4px;padding:12px;display:grid}.storyboardWorkflow li[aria-current]{color:var(--ink);border-color:var(--accent);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.storyboardWorkflow li[aria-current]{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.storyboardWorkflow li span{font-size:13px}.storyboardSelectedTake,.storyboardWorkflowNext{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.storyboardWorkflowNext>div:first-child{flex:340px}.storyboardSelectedTake h4,.storyboardWorkflowNext h3{margin:4px 0 8px}.storyboardWorkflowButtons{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.storyboardSelectedTake{background:var(--ink);padding:20px}@supports (color:color-mix(in lab,red,red)){.storyboardSelectedTake{background:color-mix(in srgb,var(--ink) 6%,var(--surface))}}.storyboardSelectedTake{border:1px solid var(--line);color:var(--ink);border-radius:var(--radius);margin:16px 0}.storyboardAgentSelection{border-radius:var(--radius);width:fit-content;color:var(--ink);background:var(--ink);align-items:center;gap:5px;margin-top:8px;padding:4px 6px;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.storyboardAgentSelection{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.storyboardAgentSelection{font-size:11px;font-weight:600}.storyboardAgentSelection svg{width:13px;height:13px}.storyboardSelectedTake>.storyboardWorkflowButtons:last-child,.storyboardSelectedTake>p{flex-basis:100%}.storyboardSelectedTake>div:first-child{flex:320px}.storyboardWorkflowCosts{border-top:1px solid var(--line);gap:6px;margin-top:16px;padding-top:12px;font-size:14px;display:grid}.storyboardActionNotice{z-index:12;background:var(--ok);padding:14px 18px;position:sticky;top:12px}@supports (color:color-mix(in lab,red,red)){.storyboardActionNotice{background:color-mix(in srgb,var(--ok) 14%,var(--surface))}}.storyboardActionNotice{color:var(--ink);border:1px solid var(--line);border-radius:var(--radius)}.storyboardActionNotice.isError{background:var(--danger)}@supports (color:color-mix(in lab,red,red)){.storyboardActionNotice.isError{background:color-mix(in srgb,var(--danger) 14%,var(--surface))}}.storyboardStudioHeaderMenu{max-width:100%}.storyboardStudioBrief summary,.storyboardStudioHeaderMenu summary,.storyboardStudioShotSettings>summary,.storyboardStudioVariants>summary{cursor:pointer;padding:12px 0;font-weight:600}.storyboardStudioVariantGrid article.isSelected{outline:2px solid var(--accent);outline-offset:2px}.storyboardStudioVariantGrid article>div{gap:10px;display:grid}.storyboardStudioVariantGrid article>div>span{flex-wrap:wrap;gap:8px;display:flex}.storyboardFinishedFilm{justify-items:start;gap:12px;display:grid}.storyboardFinishedFilm video{background:#000;border-radius:0;width:100%;max-height:65vh}@media (max-width:700px){.storyboardWorkflow{padding:14px}.storyboardWorkflow ol{gap:4px}.storyboardWorkflow li{padding:8px 4px}.storyboardSelectedTake button,.storyboardWorkflowButtons,.storyboardWorkflowNext button{width:100%}}.storyboardWorkflow>.storyboardStudioToggle{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.storyboardWorkflow>.storyboardStudioToggle input{flex:none}.storyboardWorkflow>.storyboardStudioToggle small{color:var(--muted);margin-left:8px}@media (max-width:700px){.storyboardWorkflow>.storyboardStudioToggle small{flex-basis:100%;margin-left:24px}}.storyboardFinishedFilm a.primary,.storyboardWorkflow a.primary{border-radius:var(--radius);justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;font-weight:600;text-decoration:none;display:inline-flex}.storyboardRenderModes{flex-wrap:wrap;gap:8px;display:flex}.storyboardRenderModes button[aria-pressed=true]{border-color:var(--accent);background:var(--ink)}@supports (color:color-mix(in lab,red,red)){.storyboardRenderModes button[aria-pressed=true]{background:color-mix(in srgb,var(--ink) 8%,var(--surface))}}.storyboardRenderModes button[aria-pressed=true]{color:var(--ink)}.storyboardWholeMovie{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);gap:18px;min-width:0;padding:20px;display:grid}.storyboardWholeMovieSettings{flex-wrap:wrap;align-items:end;gap:16px;display:flex}.storyboardWholeMovie label{gap:8px;font-size:14px;display:grid}.storyboardWholeMovie select,.storyboardWholeMovie textarea{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:100%;min-width:0;max-width:100%;color:var(--ink);font:inherit;padding:10px}.storyboardWholeMovie .storyboardStudioToggle{align-items:center;gap:8px;padding-bottom:10px;display:flex}.storyboardWholeMoviePreview,.storyboardWholeMovieTake{gap:12px;min-width:0;display:grid}.storyboardWholeMoviePreview textarea{resize:vertical;font-family:ui-monospace,monospace;font-size:13px;line-height:1.6}.storyboardWholeMovie summary{cursor:pointer;padding:10px 0;font-weight:600}.storyboardWholeMovieRefs{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px;display:grid}.storyboardWholeMovieRefs figure{min-width:0;margin:0}.storyboardWholeMovieRefs img{object-fit:contain;background:var(--surface-2);width:100%;height:170px}.storyboardWholeMovieRefs figcaption{overflow-wrap:anywhere;gap:4px;font-size:13px;display:grid}.storyboardWholeMovieTake video{background:#000;border-radius:0;width:100%;max-height:65vh}@media (max-width:700px){.storyboardWholeMovie{padding:14px}.storyboardWholeMovieSettings>label{width:100%}.storyboardRenderModes button{flex:100%}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}