.chat-container{width:320px;height:420px;display:flex;flex-direction:column}.chat-messages{flex:1;overflow-y:auto;padding:12px;background:#f9f9f9;border-radius:8px;margin-bottom:12px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.chat-input{display:flex;gap:8px}.message-item{padding:8px 0!important}.message-content{display:flex;flex-direction:column;width:100%}.message-header{display:flex;align-items:center;margin-bottom:6px}.message-avatar{margin-right:8px}.sender-name{font-weight:500;font-size:13px;color:#333;margin-right:8px}.message-time{font-size:11px;color:#999}.message-bubble{padding:10px 12px;border-radius:6px;background:#f0f0f0;margin-left:32px;position:relative;max-width:calc(100% - 32px)}.message-item.user .message-bubble{background:#e1f0ff;border:1px solid #d0e3ff}.message-item.partner .message-bubble{background:#f0f0f0;border:1px solid #e0e0e0}.message-text{font-size:14px;line-height:1.5;color:#333}.message-item.user .message-text{color:#333}.chat-popover .ant-popover-inner{padding:0}.chat-popover .ant-popover-title{padding:12px 16px;border-bottom:1px solid #f0f0f0;font-weight:500}.chat-popover .ant-popover-inner-content{overscroll-behavior:contain;padding:0}@keyframes blink{0%,to{background-color:transparent}50%{background-color:#ff0}}.blink-twice{animation:blink .5s ease-in-out 2}.menu-bar{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px;padding:8px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.menu-bar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;background:#fff;border-radius:6px;cursor:pointer;color:#495057;transition:all .2s ease;position:relative}.menu-bar button:hover,.menu-bar button.is-active{background:#e9ecef;color:#212529}.menu-bar button:disabled{opacity:.5;cursor:not-allowed}.menu-bar button svg{width:18px;height:18px}.dropdown-container{position:relative;display:inline-block}.dropdown-arrow{font-size:10px;margin-left:2px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;min-width:120px;padding:8px 0;margin:2px 0 0;background-color:#fff;border:1px solid #e9ecef;border-radius:6px;box-shadow:0 2px 8px #0000001a}.dropdown-menu button{display:block;width:100%;padding:8px 16px;text-align:left;background:none;border:none;color:#495057;cursor:pointer;transition:all .2s}.dropdown-menu button:hover{background-color:#f8f9fa}.dropdown-menu button.is-active{background-color:#f1f3f5;color:#212529}.color-menu{min-width:160px}.color-menu button{display:flex;align-items:center;gap:8px}.color-circle{width:16px;height:16px;border-radius:50%;border:1px solid #e9ecef}.menu-bar .divider{width:1px;height:24px;background:#e9ecef;margin:0 4px;align-self:center}.bubble-menu{display:flex;background:#fff;padding:4px;border-radius:6px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;background:#fff;border-radius:4px;cursor:pointer;color:#495057;transition:all .2s ease}.bubble-menu button:hover,.bubble-menu button.is-active{background:#e9ecef;color:#212529}.editor-container{max-width:800px;margin:0 auto;padding:8px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.editor-content{border:1px solid #e2e8f0;border-radius:8px;padding:16px;min-height:150px;background:#fff;transition:border-color .2s ease}.editor-content:hover{border-color:#cbd5e0}.editor-content:focus-within{border-color:#4299e1;box-shadow:0 0 0 2px #4299e133}.ProseMirror{min-height:150px;outline:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;color:#2d3748}.ProseMirror>*+*{margin-top:.75em}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{line-height:1.3;color:#1a202c}.ProseMirror h1{font-size:2em;margin-bottom:.5em;font-weight:600}.ProseMirror h2{font-size:1.5em;margin-bottom:.5em;font-weight:600}.ProseMirror h3{font-size:1.25em;margin-bottom:.5em;font-weight:600}.ProseMirror ul,.ProseMirror ol{padding-left:1.5em}.ProseMirror blockquote{border-left:4px solid #e2e8f0;padding-left:1em;margin-left:0;margin-right:0;color:#4a5568;font-style:italic}.ProseMirror pre{background:#f7fafc;padding:1em;border-radius:6px;border:1px solid #e2e8f0;overflow-x:auto}.ProseMirror code{background:#f7fafc;padding:.2em .4em;border-radius:4px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.9em;color:#e53e3e}.ProseMirror img{max-width:100%;height:auto;border-radius:4px}.ProseMirror hr{border:none;border-top:2px solid #e2e8f0;margin:1.5em 0}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#a0aec0;pointer-events:none;height:0}.ProseMirror .text-align-left{text-align:left}.ProseMirror .text-align-center{text-align:center}.ProseMirror .text-align-right{text-align:right}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0;white-space:pre-line}@media (max-width: 768px){.editor-content,.ProseMirror{min-height:100px}.menu-bar{gap:2px}.menu-bar button{width:28px;height:28px}}.range-number-picker{position:relative;display:inline-flex;align-items:center;border:1px solid #d9d9d9;border-radius:6px;padding:0 11px;background:#fff;transition:all .3s;width:fit-content;outline:none}.range-number-picker:hover{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.range-number-picker:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;outline:0}.range-number-picker.disabled{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.range-number-input{border:none!important;box-shadow:none!important;background:transparent!important;flex:1;width:100px}.range-number-input:focus{box-shadow:none!important}.range-number-separator{margin:0 8px;color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-sm .range-number-input{height:24px;font-size:12px;width:80px}.ant-input-number-md .range-number-input{height:32px;width:100px}.ant-input-number-lg .range-number-input{height:40px;font-size:16px;width:120px}.range-number-picker.disabled .range-number-input{background:#f5f5f5!important;cursor:not-allowed}.range-number-picker.disabled .range-number-separator{color:#00000040}.range-number-popover-content{min-width:220px;padding:8px 0}.range-number-presets-title{padding:0 8px 8px;font-size:14px;font-weight:500;color:#000000e0}.range-number-presets{padding:0 8px}.range-number-tag{cursor:pointer;margin:0 4px 4px 0;padding:4px 8px;border-radius:4px;transition:all .3s}.range-number-tag:hover{background-color:#e6f4ff;border-color:#91caff}.range-number-instructions{padding:4px 8px;font-size:12px;color:#8c8c8c;text-align:center}@media (max-width: 768px){.range-number-input{width:80px}.ant-input-number-sm .range-number-input{width:60px}.ant-input-number-lg .range-number-input{width:100px}}
