.ticket-editor{background:#fff;border:1px solid #d9d9d9;border-radius:6px;width:100%;overflow:hidden}.ticket-editor:focus-within{border-color:#1677ff}.editor-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:4px;min-height:46px;padding:6px 8px;display:flex;overflow-x:auto}.editor-button{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:inline-flex}.editor-button:hover{color:#0891b2;background:#fff;border-color:#cbd5e1}.editor-button-active{color:#0891b2;background:#ecfeff;border-color:#a5f3fc}.editor-select{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;min-width:58px;height:32px;padding:0 7px;font-size:12px;transition:all .15s}.editor-select:hover{background:#fff;border-color:#94a3b8}.editor-select:focus{border-color:#06b6d4;box-shadow:0 0 0 2px #06b6d41a}.editor-divider{background:#e5e5e5;width:1px;height:22px;margin:0 5px}.tiptap-editor-content{color:#334155;background:#fff;outline:none;min-height:160px;padding:16px 18px;font-size:14px;line-height:1.7}.tiptap-editor-content:focus{background:#fff}.tiptap-editor-content p{margin:0 0 8px}.tiptap-editor-content h1{font-size:28px;font-weight:700}.tiptap-editor-content h2{font-size:24px;font-weight:700}.tiptap-editor-content h3{font-size:20px;font-weight:600}.tiptap-editor-content ul{padding-left:24px;list-style:outside}.tiptap-editor-content ol{padding-left:24px;list-style:decimal}.tiptap-editor-content a{color:#1677ff;text-decoration:underline}.tiptap-editor-content img{border-radius:6px;max-width:100%;height:auto;margin:10px 0}.tiptap-editor-content iframe{border-radius:6px;max-width:100%}.tiptap-editor-content table{border-collapse:collapse;width:100%;margin:12px 0}.tiptap-editor-content th,.tiptap-editor-content td{border:1px solid #d9d9d9;padding:8px}.tiptap-editor-content th{background:#fafafa;font-weight:600}.tiptap-editor-content hr{border:none;border-top:1px solid #d9d9d9;margin:15px 0}.editor-dropzone{color:#8c8c8c;background:#fafafa;border-top:2px dashed #bfbfbf;align-items:center;gap:5px;min-height:42px;padding:8px 12px;font-size:14px;display:flex}.editor-dropzone-active{color:#1677ff;background:#e6f4ff;border-top-color:#1677ff}.choose-files{color:#1677ff;cursor:pointer;background:0 0;border:none;padding:0}.choose-files:hover{text-decoration:underline}.attachments{border-top:1px solid #f0f0f0}.attachment-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:7px 12px;font-size:13px;display:flex}.attachment-info{align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.attachment-info span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-icon{flex-shrink:0}.attachment-row button{color:#8c8c8c;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:flex}.attachment-row button:hover{color:#ff4d4f}.editor-attachments{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;padding:10px;display:grid}.editor-attachment{border:1px solid #ddd;border-radius:6px;min-width:0;padding:6px 8px}.editor-attachment-info{align-items:center;gap:6px;min-width:0;display:flex}.attachment-filename{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.editor-drop-area{width:50%;margin-top:12px;margin-bottom:12px;margin-left:40px}.editor-drop-box{color:#666;cursor:pointer;background:#fafafa;border:1px dashed #cfcfcf;border-radius:6px;justify-content:center;align-items:center;gap:8px;width:50%;max-width:400px;height:50px;font-size:14px;transition:all .2s;display:flex}.editor-drop-box:hover{color:#7ac143;background:#f8fbf5;border-color:#7ac143}.rich-text-editor{background:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%;transition:border-color .2s,box-shadow .2s;overflow:hidden;box-shadow:0 1px 3px #0f172a0f}.rich-text-editor:focus-within{border-color:#06b6d4;box-shadow:0 0 0 3px #06b6d41a,0 1px 3px #0f172a0f}@media (max-width:768px){.editor-toolbar{overflow-x:auto}.tiptap-editor-content{min-height:150px;padding:12px}.editor-dropzone{font-size:13px}.editor-attachments{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.editor-attachments{grid-template-columns:1fr}}
