.writer_page__ps5c8{position:relative;display:flex;height:100%;min-height:0;overflow:hidden}.writer_workspace__aAt0o{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;min-height:0;background:var(--background);color:var(--foreground)}.writer_header__7dgtU{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:8px 16px;border-bottom:1px solid var(--border);gap:12px}.writer_panels__hLp6a{--folder-space:280px;--history-space:0px;--reference-space:0px;position:relative;display:flex;flex:1;min-height:0;overflow:hidden}.writer_chat__kzpQC,.writer_document__NghNw,.writer_projects__Mcl8l{display:flex;flex-direction:column;min-height:0;min-width:0}.writer_projects__Mcl8l{flex:0 0 17.5rem;overflow:hidden;transition:flex-basis .2s ease-out}.writer_chat__kzpQC,.writer_projects__Mcl8l{border-right:1px solid var(--border)}.writer_chat__kzpQC{container-type:inline-size;container-name:writer-chat;position:relative;width:540px;min-width:360px;max-width:min(55%,calc(100% - var(--folder-space) - var(--history-space) - var(--reference-space) - 420px));transition:min-width .2s ease-out,max-width .2s ease-out;resize:none;overflow:hidden}.writer_chatResizeHandle__UHLqi{position:absolute;inset:0 0 0 auto;width:6px;z-index:1;cursor:col-resize;touch-action:none}.writer_chatResizeHandle__UHLqi:focus-visible,.writer_chatResizeHandle__UHLqi:hover,.writer_chat__kzpQC[data-resizing=true] .writer_chatResizeHandle__UHLqi{background:var(--primary);opacity:.45;outline:none}.writer_chat__kzpQC[data-resizing=true]{user-select:none}.writer_page__ps5c8[data-compact=true] .writer_chatResizeHandle__UHLqi{display:none}.writer_chatContent__c7x5m{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;flex-shrink:0}.writer_document__NghNw{flex:1}.writer_panels__hLp6a[data-sidebars=false] .writer_projects__Mcl8l{flex-basis:0;border-right:0}.writer_panelHeader__7Z_s5{min-height:49px;padding:6px 12px;flex-shrink:0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.writer_scroll__Tim7z{flex:1;min-height:0;overflow:auto;padding:8px;overscroll-behavior:contain}.writer_chatContent__c7x5m>.writer_scroll__Tim7z{padding-bottom:0;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 24px),transparent)}.writer_history__sqHUz .writer_scroll__Tim7z,.writer_projects__Mcl8l .writer_scroll__Tim7z{padding:0}.writer_documentItem__9_Kt_{width:100%;justify-content:flex-start;gap:8px}.writer_documentToolbar__M5JsJ{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;min-height:49px;padding:4px 12px;border-bottom:1px solid var(--border)}.writer_documentBody__dlLtC{position:relative;display:flex;flex:1;min-height:0;background:var(--muted);color:var(--muted-foreground)}.writer_editor__gtC0O{container-type:inline-size;container-name:writer-editor;display:flex;flex:1;min-width:0;min-height:0;flex-direction:column}.writer_richEditor__C5xJJ{width:100%;min-width:0;min-height:0;flex:1;margin:0 auto 0 0;text-align:left;padding:24px max(64px,calc(100% - 72ch - 24px)) 24px 24px;overflow-y:auto;outline:none;font-size:16px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.writer_richEditorPlaceholder__eZgyW{position:absolute;inset:0 0 auto;pointer-events:none;user-select:none;overflow:hidden;color:var(--muted-foreground);opacity:.5}.writer_richEditor__C5xJJ h1{font-size:2em;font-weight:700;line-height:1.25;margin:.7em 0}.writer_richEditor__C5xJJ h2{font-size:1.5em;font-weight:700;line-height:1.35;margin:.6em 0}.writer_richEditor__C5xJJ h3{font-size:1.2em;font-weight:700;margin:.5em 0}.writer_richEditor__C5xJJ ul{list-style:disc;padding-left:1.5em}.writer_richEditor__C5xJJ ol{list-style:decimal;padding-left:1.5em}.writer_richEditor__C5xJJ hr{margin:1em 0;border-color:var(--border)}.writer_richEditor__C5xJJ blockquote{border-left:2px solid var(--border);padding-left:1em}.writer_message__P7hB5[data-role=USER],.writer_richEditor__C5xJJ ::selection,.writer_richEditor__C5xJJ::selection{background:color-mix(in srgb,var(--primary) 35%,transparent);color:var(--foreground)}.writer_editorStatus__r1Mld{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px;padding:0 8px;font-size:11px;color:var(--muted-foreground)}.writer_message__P7hB5{margin:8px 8px 24px;font-size:16px;line-height:1.75;color:var(--muted-foreground);overflow-wrap:anywhere}.writer_message__P7hB5[data-role=USER]{width:fit-content;max-width:90%;margin-left:auto;padding:10px 16px;border-radius:12px}.writer_message__P7hB5[data-role=USER][data-short=true]{border-radius:999px}.writer_composerImage__WqDMs{border-radius:12px}.writer_messageImage__6wc9C{margin-bottom:8px;border-radius:inherit}.writer_messageAuthor__rXDcM{display:block;font-size:11px;font-weight:600;color:var(--muted-foreground);margin-bottom:6px}.writer_composer__hCFPf{flex-shrink:0;margin-top:auto;padding:0 12px 12px;display:grid;gap:8px}.writer_composerControls__ucV5z{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:0 12px 12px}.writer_composerHint__HOhPV{margin-right:auto;flex-shrink:0;font-size:10px;line-height:1.5;color:var(--muted-foreground)}@media (max-width:767px){.writer_composerControls__ucV5z[data-has-scope=true]{flex-wrap:wrap}.writer_composerControls__ucV5z[data-has-scope=true] .writer_composerHint__HOhPV{flex-basis:100%}}.writer_selection__gNC8D{font-size:12px;display:grid;gap:8px;padding:8px;border-left:2px solid var(--primary);background:var(--muted)}.writer_chatFooter___5Oxd{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px 16px;padding:0 12px max(10px,env(safe-area-inset-bottom))}.writer_context__ZbRfM{min-width:0;flex-wrap:wrap;display:flex;align-items:center;justify-content:flex-start;gap:4px 12px;font-size:11px;line-height:20px;white-space:nowrap;color:var(--muted-foreground)}.writer_error__4PA58,.writer_notice__XdlZy{padding:8px 16px;font-size:12px;border-bottom:1px solid var(--border)}.writer_notice__XdlZy{color:var(--primary)}.writer_error__4PA58{color:var(--destructive)}.writer_historyPanel__9_oZP{flex:0 0 0;min-width:0;overflow:hidden;transition:flex-basis .2s ease-out}.writer_historyPanel__9_oZP[data-open=true]{flex-basis:280px}.writer_history__sqHUz{width:280px;max-width:calc(100vw - 3.75rem);height:100%;display:flex;flex-direction:column;border-left:1px solid var(--border);background:var(--background)}.writer_page__ps5c8[data-auxiliary-overlay=true] .writer_panels__hLp6a .writer_historyPanel__9_oZP{display:flex!important;position:absolute;inset:0 0 0 auto;width:0;z-index:2;transition:width .2s ease-out}.writer_page__ps5c8[data-auxiliary-overlay=true] .writer_panels__hLp6a .writer_historyPanel__9_oZP[data-open=true]{width:min(280px,calc(100vw - 3.75rem))}.writer_page__ps5c8[data-auxiliary-overlay=true] .writer_history__sqHUz{flex-shrink:0}.writer_versionPreview___HpjL{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.7;padding:16px;margin:8px 0;border:1px solid var(--border)}.writer_mobileTabs__jM_q3{display:none}.writer_page__ps5c8[data-compact=true] .writer_header__7dgtU{padding-top:max(8px,env(safe-area-inset-top))}.writer_page__ps5c8[data-compact=true] .writer_mobileTabs__jM_q3{display:flex;padding:0;justify-content:space-between;border-bottom:1px solid var(--border)}.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a>*{display:none!important;width:100%!important;max-width:none;min-width:0;flex:1;resize:none;border-right:0}.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a[data-mobile-view=chat] .writer_chat__kzpQC,.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a[data-mobile-view=document] .writer_document__NghNw,.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a[data-mobile-view=projects] .writer_projects__Mcl8l{display:flex!important}.writer_page__ps5c8[data-compact=true] .writer_composer__hCFPf{padding-bottom:max(12px,env(safe-area-inset-bottom))}.writer_panels__hLp6a[data-chat-open=false] .writer_chat__kzpQC{min-width:0;max-width:0;border-right:0;resize:none}.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a[data-chat-open=false] .writer_chat__kzpQC{display:none!important}@media (prefers-reduced-motion:reduce){.writer_chat__kzpQC,.writer_panels__hLp6a .writer_historyPanel__9_oZP,.writer_projects__Mcl8l{transition:none}}.writer_panels__hLp6a[data-sidebars=false]{--folder-space:0px}.writer_panels__hLp6a:has(.writer_historyPanel__9_oZP[data-open=true]){--history-space:280px}.writer_page__ps5c8[data-auxiliary-overlay=true] .writer_panels__hLp6a .writer_historyPanel__9_oZP{width:0!important}.writer_page__ps5c8[data-auxiliary-overlay=true] .writer_panels__hLp6a .writer_historyPanel__9_oZP[data-open=true]{width:min(280px,calc(100vw - 3.75rem))!important}@container writer-editor (max-width: 820px){.writer_actionLabel__0foED{display:none}.writer_compactAction__HRJb_{width:40px;padding-inline:0;gap:0}}@container writer-editor (max-width: 620px){.writer_generateLabel__CgJ_X{display:none}}.writer_page__ps5c8[data-reference-overlay=true] .writer_panels__hLp6a>.writer_referencePanel__KjtwL{display:flex!important}.writer_page__ps5c8[data-reference-overlay=true] .writer_panels__hLp6a>.writer_projects__Mcl8l[data-reference-folders=true]{position:absolute;inset:0;z-index:46;display:flex!important;background:var(--card)}.writer_panels__hLp6a[data-reference-inline=true]{--reference-space:384px}.writer_page__ps5c8[data-auxiliary-overlay=true] .writer_panels__hLp6a{--history-space:0px}.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a[data-mobile-view=document] .writer_historyPanel__9_oZP{display:flex!important}.writer_page__ps5c8[data-compact=true] .writer_panels__hLp6a:not([data-mobile-view=document]) .writer_historyPanel__9_oZP{display:none!important}@container writer-chat (max-width: 440px){.writer_composerControls__ucV5z{flex-wrap:wrap}.writer_composerHint__HOhPV{flex-basis:100%}}.writer_sceneNavigationList__9K5Ra{display:flex;min-height:0;flex-direction:column;gap:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.writer_sceneNavigationList__9K5Ra::-webkit-scrollbar{display:none}.writer_sceneNavigationViewport__tb_09{position:relative;display:flex;min-height:0}.writer_sceneNavigationMoreAbove__aWRBV,.writer_sceneNavigationMoreBelow__I8Byy{position:absolute;inset-inline:0;height:32px;z-index:1}.writer_sceneNavigationMoreAbove__aWRBV{top:0}.writer_sceneNavigationMoreBelow__I8Byy{bottom:0}.writer_streamPreview__vkEXD{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;min-height:0;background:var(--background)}.writer_sidebarInsertion__z8VFT[data-insertion]:after{content:"";position:absolute;left:12px;right:12px;height:2px;background:var(--primary);pointer-events:none;z-index:20}.writer_sidebarInsertion__z8VFT[data-insertion=before]:after{top:0}.writer_sidebarInsertion__z8VFT[data-insertion=after]:after{bottom:0}.writer_richEditor__C5xJJ ::highlight(writer-ai-change),.writer_richEditor__C5xJJ::highlight(writer-ai-change){background-color:color-mix(in srgb,color-mix(in srgb,var(--primary) 8%,transparent) var(--writer-ai-flash,0%),transparent)}.writer_toolPanels__Vu5TV{flex:0 0 0px;min-width:0;height:100%;overflow:hidden;opacity:0;pointer-events:none;transition:flex-basis .2s ease-out,opacity .2s ease-out}.writer_toolPanels__Vu5TV[data-open=true]{flex-basis:var(--writer-tools-width);opacity:1;pointer-events:auto}.writer_toolPanelsContent__4st0Y{position:relative;contain:layout paint;width:var(--writer-tools-width);min-width:30rem;height:100%;overflow:auto;border-right:1px solid var(--border);background:var(--background)}.writer_toolPanels__Vu5TV[data-overlay=true]{position:absolute;inset:0 0 0 60px;z-index:44;max-width:calc(100% - 60px);transform:translateX(-100%);transition:transform .2s ease-out,opacity .2s ease-out}.writer_toolPanels__Vu5TV[data-overlay=true][data-open=true]{transform:translateX(0)}@media (prefers-reduced-motion:reduce){.writer_toolPanels__Vu5TV{transition:none}}@media (max-width:767px){.writer_toolPanelsContent__4st0Y{width:100%;min-width:0}.writer_toolPanelsContent__4st0Y[data-generator-open=false]>main{display:none}.writer_mobileToolGallery__QpZvG{height:100%;overflow-y:auto}}.writer_standaloneChat__2PCvn{height:100%;flex:0 0 auto;width:480px;min-width:360px;max-width:min(540px,calc(100vw - 60px));background:var(--background)}.writer_standaloneChat__2PCvn .writer_chatContent__c7x5m{flex:1 1 0;height:0;box-sizing:border-box}.writer_standaloneChat__2PCvn .writer_composer__hCFPf{padding-bottom:8px}.writer_standaloneChat__2PCvn[data-open=false]{width:0!important;min-width:0;max-width:0;border:0}@media (max-width:767px){.writer_standaloneChat__2PCvn[data-open=true]{position:fixed;inset:var(--app-header-height,64px) 0 0 60px;z-index:80;width:calc(100vw - 60px)!important;min-width:0;max-width:none}.writer_standaloneChat__2PCvn .writer_chatResizeHandle__UHLqi{display:none}.writer_standaloneChat__2PCvn[data-mobile-overlay=true][data-open]{position:fixed;inset:var(--generator-agent-viewport-top,0) 0 auto;z-index:200;height:var(--generator-agent-viewport-height,100dvh);width:100%!important;min-width:0;max-width:none;border:0;transform:translateX(100%);visibility:hidden;pointer-events:none;transition:transform .2s ease-out,visibility 0s .2s}.writer_standaloneChat__2PCvn[data-mobile-overlay=true][data-open=true]{transform:translateX(0);visibility:visible;pointer-events:auto;transition-delay:0s}.writer_standaloneChat__2PCvn[data-mobile-overlay=true] .writer_chatContent__c7x5m{box-sizing:border-box;width:100%!important;padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:767px) and (prefers-reduced-motion:reduce){.writer_standaloneChat__2PCvn[data-mobile-overlay=true][data-open]{transition:none}}.writer_imageReferences__8cIy4{display:flex;flex-wrap:wrap;gap:8px;padding:12px 12px 0}.writer_imageReference__ONqI2{position:relative;flex:0 0 40px;height:40px}.writer_imageReference__ONqI2>img{width:40px;height:40px;border-radius:9px;object-fit:cover}.writer_imageReferenceNumber__JZf8f{position:absolute;top:-4px;right:-4px;z-index:1;display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:var(--primary);color:var(--primary-foreground);font-size:10px;font-weight:600;pointer-events:none;transition:opacity .15s}.writer_imageReferenceRemove__0BGuH{position:absolute;top:-4px;right:-4px;z-index:2;opacity:0;pointer-events:none;transition:opacity .15s}.writer_imageReference__ONqI2:focus-within .writer_imageReferenceRemove__0BGuH:not(:disabled),.writer_imageReference__ONqI2:hover .writer_imageReferenceRemove__0BGuH:not(:disabled){opacity:1;pointer-events:auto}.writer_imageReference__ONqI2:focus-within .writer_imageReferenceNumber__JZf8f,.writer_imageReference__ONqI2:hover .writer_imageReferenceNumber__JZf8f{opacity:0}.writer_imageReferenceAdd__2zRxQ{width:40px;height:40px;flex:0 0 40px;padding:0}@media (hover:none){.writer_imageReferenceRemove__0BGuH:not(:disabled){opacity:1;pointer-events:auto}.writer_imageReferenceNumber__JZf8f{top:auto;bottom:-4px}.writer_imageReference__ONqI2:focus-within .writer_imageReferenceNumber__JZf8f,.writer_imageReference__ONqI2:hover .writer_imageReferenceNumber__JZf8f{opacity:1}}.writer_messageImages__Gk1K1{display:flex;flex-wrap:wrap;gap:8px}.writer_composerAttachments__9Bz95{display:flex;align-items:flex-start;gap:12px;padding:12px 12px 0}.writer_composerAttachments__9Bz95>.writer_imageReferences__8cIy4{flex:1;min-width:40px;padding:0}.writer_skillPill__l825x{position:relative;min-height:40px;min-width:0;max-width:60%;flex:0 1 auto;margin-left:auto;gap:4px;padding:4px 26px 4px 10px}.writer_skillPillRemove__KcWyN{position:absolute;top:2px;right:2px}.writer_skillPillText___jTwL{display:grid;min-width:0;text-align:left;line-height:14px}.writer_skillPillLabel__ixobX,.writer_skillPillName__s19WH{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.writer_skillPillLabel__ixobX{font-size:10px;font-weight:400}.writer_skillPillName__s19WH{font-size:12px;font-weight:500}.writer_compactComposerSurface__QTPHE{overflow:visible}.writer_composerControls__ucV5z[data-compact=true]{flex-wrap:nowrap}.writer_composerControls__ucV5z[data-compact=true] .writer_composerAttachments__9Bz95{display:contents}.writer_composerControls__ucV5z[data-compact=true] .writer_skillPill__l825x{flex:1 1 140px;max-width:140px;min-height:32px;margin:0 auto 0 0;padding-block:2px}.writer_compactImageReferences__FSgga{position:relative;flex:0 0 32px;padding:0}.writer_compactImageReferences__FSgga .writer_imageReferenceAdd__2zRxQ{position:relative;width:32px;height:32px;flex-basis:32px}.writer_referenceCount__ZreHg{position:absolute;top:-6px;right:-6px;min-width:16px;height:16px;padding:0 3px;justify-content:center;font-size:10px;pointer-events:none}.writer_referenceTileThumbnail___IWKz{width:100%;height:100%;border-radius:inherit;object-fit:cover}.writer_referencePreview__0dHXC{display:none;position:absolute;bottom:100%;left:0;z-index:10;padding-bottom:8px}.writer_referencePreviewGrid__VEb8b{display:grid;grid-template-columns:repeat(3,40px);gap:10px}.writer_compactImageReferences__FSgga:focus-within .writer_referencePreview__0dHXC,.writer_compactImageReferences__FSgga:hover .writer_referencePreview__0dHXC{display:block}@media (min-width:768px){.writer_standaloneChat__2PCvn:has(.writer_compactComposerSurface__QTPHE)[data-open=true]{min-width:400px}}.writer_agentChatFooter__eLHlB{flex-wrap:nowrap;gap:8px;padding-top:0;padding-bottom:8px;font-size:14px;line-height:20px}.writer_agentChatFooter__eLHlB .writer_context__ZbRfM{flex-wrap:nowrap;overflow:hidden}.writer_agentChatFooter__eLHlB .writer_context__ZbRfM button{overflow:hidden}.writer_agentChatFooter__eLHlB .writer_context__ZbRfM button>span{overflow:hidden;text-overflow:ellipsis}