.MainLayout-module__vIc5Ea__container{background-color:#f5f5f7;width:100vw;height:100dvh;display:flex;position:relative;overflow:hidden}.MainLayout-module__vIc5Ea__sidebar{background-color:#fff;border-right:1px solid #e1e1e3;flex-direction:column;flex-shrink:0;transition:width .3s,min-width .3s;display:flex;overflow:hidden}.MainLayout-module__vIc5Ea__sidebarOpen{width:380px;min-width:380px}.MainLayout-module__vIc5Ea__sidebarClosed{border-right:none;width:0;min-width:0}.MainLayout-module__vIc5Ea__overlay{z-index:40;background-color:#0000004d;position:fixed;inset:0}.MainLayout-module__vIc5Ea__editorArea{flex-direction:column;flex:1;min-width:0;display:flex;position:relative;overflow:hidden}.MainLayout-module__vIc5Ea__toggleButton{z-index:30;cursor:pointer;color:#666;background:#fff;border:1px solid #e1e1e3;border-radius:8px;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex;position:absolute;top:1rem;left:1rem;box-shadow:0 2px 8px #00000014}.MainLayout-module__vIc5Ea__toggleButton:hover{color:#333;background:#f5f5f7;box-shadow:0 4px 12px #0000001f}.MainLayout-module__vIc5Ea__editorWrapper{flex:1;justify-content:center;align-items:flex-start;min-height:0;padding:4rem 2rem 2rem;display:flex;overflow-y:auto}@media (max-width:1024px){.MainLayout-module__vIc5Ea__sidebarOpen{width:320px;min-width:320px}.MainLayout-module__vIc5Ea__editorWrapper{padding:4rem 1.5rem 1.5rem}}@media (max-width:768px){.MainLayout-module__vIc5Ea__sidebar{z-index:50;height:100dvh;position:fixed;top:0;left:0;box-shadow:4px 0 20px #00000026}.MainLayout-module__vIc5Ea__sidebarOpen{width:100%;min-width:0;max-width:360px}.MainLayout-module__vIc5Ea__sidebarClosed{width:0;box-shadow:none}.MainLayout-module__vIc5Ea__editorWrapper{padding:3.5rem 1rem 1rem}.MainLayout-module__vIc5Ea__toggleButton{padding:.4rem;top:.75rem;left:.75rem}}@media (max-width:480px){.MainLayout-module__vIc5Ea__sidebarOpen{max-width:100%}.MainLayout-module__vIc5Ea__editorWrapper{padding:3.5rem .75rem .75rem}}
.AISidebar-module__PCH9zW__sidebarContent{flex-direction:column;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;display:flex}.AISidebar-module__PCH9zW__header{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.AISidebar-module__PCH9zW__header h2{color:#111;letter-spacing:-.01em;margin:0;font-size:.95rem;font-weight:600}.AISidebar-module__PCH9zW__controls{align-items:center;gap:1rem;display:flex}.AISidebar-module__PCH9zW__modelSelector{color:#333;cursor:pointer;background-color:#f9f9fa;border:1px solid #e1e1e3;border-radius:6px;outline:none;padding:.35rem .5rem;font-size:.75rem;transition:all .2s}.AISidebar-module__PCH9zW__modelSelector:hover{border-color:#ccc}.AISidebar-module__PCH9zW__modelSelector:focus{border-color:#06c;box-shadow:0 0 0 2px #0066cc1a}.AISidebar-module__PCH9zW__toggleLabel{cursor:pointer;color:#555;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.AISidebar-module__PCH9zW__toggleLabel input{cursor:pointer}.AISidebar-module__PCH9zW__messages{flex-direction:column;flex:1;gap:1rem;padding:1.5rem;display:flex;overflow-y:auto}.AISidebar-module__PCH9zW__aiMessage,.AISidebar-module__PCH9zW__userMessage{word-wrap:break-word;border-radius:12px;max-width:90%;padding:.75rem 1rem;font-size:.9rem;line-height:1.5}.AISidebar-module__PCH9zW__aiMessage{color:#333;background-color:#f5f5f7;border-bottom-left-radius:2px;align-self:flex-start}.AISidebar-module__PCH9zW__userMessage{color:#fff;background-color:#06c;border-bottom-right-radius:2px;align-self:flex-end}.AISidebar-module__PCH9zW__inputArea{background-color:#fff;border-top:1px solid #f0f0f0;padding:1rem}.AISidebar-module__PCH9zW__inputWrapper{background-color:#f9f9fa;border:1px solid #e1e1e3;border-radius:12px;align-items:flex-end;gap:.5rem;padding:.5rem;transition:all .2s;display:flex}.AISidebar-module__PCH9zW__inputWrapper:focus-within{background-color:#fff;border-color:#06c;box-shadow:0 0 0 3px #0066cc1a}.AISidebar-module__PCH9zW__textarea{resize:none;background:0 0;border:none;border-radius:8px;outline:none;flex:1;min-height:24px;max-height:120px;padding:.5rem .75rem;font-family:inherit;font-size:.9rem;line-height:1.5;overflow-y:auto}.AISidebar-module__PCH9zW__textarea::placeholder{color:#999}.AISidebar-module__PCH9zW__sendButton{cursor:pointer;color:#fff;background:#06c;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:.5rem;transition:all .2s;display:flex}.AISidebar-module__PCH9zW__sendButton:hover:not(:disabled){background:#05a}.AISidebar-module__PCH9zW__sendButton:disabled{cursor:not-allowed;background:#ccc}.AISidebar-module__PCH9zW__typingIndicator{color:#888;margin-left:.5rem;font-size:.8rem;font-style:italic}.AISidebar-module__PCH9zW__headerButtons{align-items:center;gap:.5rem;display:flex}.AISidebar-module__PCH9zW__settingsButton{cursor:pointer;color:#666;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.4rem;transition:all .2s;display:flex}.AISidebar-module__PCH9zW__settingsButton:hover{color:#333;background-color:#f0f0f0}.AISidebar-module__PCH9zW__settingsPanel{background-color:#fafafa;border-bottom:1px solid #f0f0f0;flex-direction:column;gap:.75rem;padding:1rem 1.5rem;display:flex}.AISidebar-module__PCH9zW__settingRow{align-items:center;gap:.75rem;display:flex}.AISidebar-module__PCH9zW__settingRow>label:first-child{color:#555;min-width:50px;font-size:.8rem}.AISidebar-module__PCH9zW__apiKeySection{border-top:1px solid #e8e8e8;margin-top:.25rem;padding-top:.75rem}.AISidebar-module__PCH9zW__apiKeyStatus{color:#28a745;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.AISidebar-module__PCH9zW__apiKeyStatus span{flex:1}.AISidebar-module__PCH9zW__changeKeyButton,.AISidebar-module__PCH9zW__clearKeyButton{color:#06c;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem .5rem;font-size:.75rem}.AISidebar-module__PCH9zW__changeKeyButton:hover{background-color:#0066cc1a}.AISidebar-module__PCH9zW__clearKeyButton{color:#dc3545}.AISidebar-module__PCH9zW__clearKeyButton:hover{background-color:#dc35451a}.AISidebar-module__PCH9zW__addKeyButton{color:#666;cursor:pointer;background:0 0;border:1px dashed #ccc;border-radius:6px;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;font-size:.8rem;transition:all .2s;display:flex}.AISidebar-module__PCH9zW__addKeyButton:hover{color:#06c;background-color:#0066cc0d;border-color:#06c}
.ApiKeyModal-module__fX4kIW__overlay{z-index:1000;background-color:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.ApiKeyModal-module__fX4kIW__modal{background:#fff;border-radius:12px;width:90%;max-width:420px;padding:2rem;box-shadow:0 20px 60px #0000004d}.ApiKeyModal-module__fX4kIW__title{color:#111;margin:0 0 .75rem;font-size:1.25rem;font-weight:600}.ApiKeyModal-module__fX4kIW__description{color:#666;margin:0 0 1.25rem;font-size:.9rem;line-height:1.5}.ApiKeyModal-module__fX4kIW__input{box-sizing:border-box;background-color:#f9f9fa;border:1px solid #e1e1e3;border-radius:8px;outline:none;width:100%;padding:.75rem 1rem;font-family:monospace;font-size:.9rem;transition:all .2s}.ApiKeyModal-module__fX4kIW__input:focus{background-color:#fff;border-color:#06c;box-shadow:0 0 0 3px #0066cc1a}.ApiKeyModal-module__fX4kIW__error{color:#dc3545;margin:.5rem 0 0;font-size:.85rem}.ApiKeyModal-module__fX4kIW__buttons{gap:.75rem;margin-top:1.5rem;display:flex}.ApiKeyModal-module__fX4kIW__cancelButton,.ApiKeyModal-module__fX4kIW__saveButton{cursor:pointer;border-radius:8px;flex:1;padding:.75rem 1rem;font-size:.9rem;font-weight:500;transition:all .2s}.ApiKeyModal-module__fX4kIW__cancelButton{color:#333;background:#f5f5f7;border:1px solid #e1e1e3}.ApiKeyModal-module__fX4kIW__cancelButton:hover{background:#eee}.ApiKeyModal-module__fX4kIW__saveButton{color:#fff;background:#06c;border:none}.ApiKeyModal-module__fX4kIW__saveButton:hover{background:#05a}.ApiKeyModal-module__fX4kIW__hint{color:#888;text-align:center;margin:1.25rem 0 0;font-size:.8rem}.ApiKeyModal-module__fX4kIW__hint a{color:#06c;text-decoration:none}.ApiKeyModal-module__fX4kIW__hint a:hover{text-decoration:underline}
.EditorToolbar-module__nmw1bq__toolbar{z-index:10;background-color:#fff;border-bottom:1px solid #e1e1e3;align-items:center;gap:.5rem;padding:.5rem;display:flex;position:sticky;top:0}.EditorToolbar-module__nmw1bq__toolbar button{cursor:pointer;color:#555;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:.4rem;transition:background-color .2s;display:flex}.EditorToolbar-module__nmw1bq__toolbar button:hover{background-color:#f0f0f0}.EditorToolbar-module__nmw1bq__toolbar button.EditorToolbar-module__nmw1bq__active{color:#06c;background-color:#e6f0ff}.EditorToolbar-module__nmw1bq__divider{background-color:#e1e1e3;width:1px;height:20px;margin:0 .5rem}.EditorToolbar-module__nmw1bq__acceptButton{font-size:.8rem;font-weight:600;color:#24a148!important;border:1px solid #24a148!important;padding:.4rem .8rem!important}.EditorToolbar-module__nmw1bq__acceptButton:hover{background-color:#e6ffec!important}.EditorToolbar-module__nmw1bq__rejectButton{font-size:.8rem;font-weight:600;color:#da1e28!important;border:1px solid #da1e28!important;padding:.4rem .8rem!important}.EditorToolbar-module__nmw1bq__rejectButton:hover{background-color:#ffe6e6!important}@media (max-width:768px){.EditorToolbar-module__nmw1bq__toolbar{flex-wrap:wrap;gap:.25rem;padding:.4rem}.EditorToolbar-module__nmw1bq__toolbar button{padding:.35rem}.EditorToolbar-module__nmw1bq__divider{height:16px;margin:0 .25rem}.EditorToolbar-module__nmw1bq__acceptButton,.EditorToolbar-module__nmw1bq__rejectButton{font-size:.75rem;padding:.3rem .6rem!important}}@media (max-width:480px){.EditorToolbar-module__nmw1bq__toolbar{justify-content:center}.EditorToolbar-module__nmw1bq__acceptButton,.EditorToolbar-module__nmw1bq__rejectButton{flex:1;justify-content:center}}
.RichTextEditor-module__MbZjkG__editorContainer{background-color:#fff;border-radius:8px;flex-direction:column;width:100%;max-width:720px;min-height:800px;display:flex;overflow:hidden;box-shadow:0 1px 3px #00000014,0 4px 12px #0000000d}.RichTextEditor-module__MbZjkG__contentArea{outline:none;flex:1;padding:3rem 4rem}.RichTextEditor-module__MbZjkG__tiptapEditor{outline:none;min-height:500px}.RichTextEditor-module__MbZjkG__tiptapEditor p{color:#333;margin-bottom:1rem;font-size:1rem;line-height:1.7}.RichTextEditor-module__MbZjkG__tiptapEditor h1{color:#111;margin-top:2rem;margin-bottom:1rem;font-size:2rem;font-weight:700;line-height:1.3}.RichTextEditor-module__MbZjkG__tiptapEditor h2{color:#111;margin-top:1.75rem;margin-bottom:.75rem;font-size:1.5rem;font-weight:600;line-height:1.35}.RichTextEditor-module__MbZjkG__tiptapEditor h3{color:#111;margin-top:1.5rem;margin-bottom:.5rem;font-size:1.25rem;font-weight:600;line-height:1.4}.RichTextEditor-module__MbZjkG__tiptapEditor ul,.RichTextEditor-module__MbZjkG__tiptapEditor ol{margin-bottom:1rem;padding-left:1.5rem}.RichTextEditor-module__MbZjkG__tiptapEditor li{margin-bottom:.25rem;line-height:1.7}.RichTextEditor-module__MbZjkG__tiptapEditor blockquote{color:#555;border-left:3px solid #06c;margin-bottom:1rem;margin-left:0;margin-right:0;padding-left:1rem;font-style:italic}.RichTextEditor-module__MbZjkG__tiptapEditor code{background-color:#f5f5f7;border-radius:4px;padding:.15rem .4rem;font-family:SF Mono,Monaco,Inconsolata,Fira Code,monospace;font-size:.9em}.RichTextEditor-module__MbZjkG__tiptapEditor pre{color:#d4d4d4;background-color:#1e1e1e;border-radius:8px;margin-bottom:1rem;padding:1rem;overflow-x:auto}.RichTextEditor-module__MbZjkG__tiptapEditor pre code{background:0 0;padding:0;font-size:.875rem}@media (max-width:1024px){.RichTextEditor-module__MbZjkG__editorContainer{border-radius:0;max-width:100%;min-height:auto}.RichTextEditor-module__MbZjkG__contentArea{padding:2rem 2.5rem}}@media (max-width:768px){.RichTextEditor-module__MbZjkG__editorContainer{box-shadow:none;min-height:calc(100dvh - 100px)}.RichTextEditor-module__MbZjkG__contentArea{padding:1.5rem}.RichTextEditor-module__MbZjkG__tiptapEditor{min-height:300px}.RichTextEditor-module__MbZjkG__tiptapEditor p{font-size:1rem;line-height:1.6}.RichTextEditor-module__MbZjkG__tiptapEditor h1{font-size:1.75rem}.RichTextEditor-module__MbZjkG__tiptapEditor h2{font-size:1.35rem}.RichTextEditor-module__MbZjkG__tiptapEditor h3{font-size:1.15rem}}@media (max-width:480px){.RichTextEditor-module__MbZjkG__contentArea{padding:1rem}.RichTextEditor-module__MbZjkG__tiptapEditor h1{font-size:1.5rem}.RichTextEditor-module__MbZjkG__tiptapEditor h2{font-size:1.25rem}}
.SuggestionBubbleMenu-module__JqDZ8q__bubbleMenu{pointer-events:auto;z-index:50;background-color:#fff;border:1px solid #e1e1e3;border-radius:6px;flex-direction:column;align-items:stretch;gap:.25rem;padding:.35rem .4rem;display:flex;box-shadow:0 2px 10px #0000001a}.SuggestionBubbleMenu-module__JqDZ8q__bubbleMenu button{cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;gap:.35rem;min-width:120px;padding:.35rem .5rem;transition:background-color .2s;display:flex}.SuggestionBubbleMenu-module__JqDZ8q__acceptButton{color:#24a148;font-weight:600}.SuggestionBubbleMenu-module__JqDZ8q__acceptButton:hover{background-color:#e6ffec}.SuggestionBubbleMenu-module__JqDZ8q__rejectButton{color:#da1e28}.SuggestionBubbleMenu-module__JqDZ8q__rejectButton:hover{background-color:#ffe6e6}
