.qb-editor-wrapper{margin-bottom:20px}.qb-editor-label{display:block;font-weight:600;margin-bottom:7px;color:#333}.qb-required{color:#d00}.qb-editor{width:100%;border:1px solid #ccc;border-radius:6px;background:#fff;overflow:hidden}.qb-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:7px;background:#f5f5f5;border-bottom:1px solid #ddd}.qb-tool,.qb-math-button,.qb-image-button,.qb-clear-button{border:1px solid #ccc;background:#fff;color:#333;padding:5px 9px;border-radius:4px;cursor:pointer;font-size:14px;line-height:1.2}.qb-tool:hover,.qb-math-button:hover,.qb-image-button:hover,.qb-clear-button:hover{background:#e9e9e9}.qb-math-button,.qb-image-button{font-weight:600}.qb-clear-button{color:#a00}.qb-toolbar-separator{width:1px;height:24px;background:#ccc;margin:0 3px}.qb-editor-area{padding:12px;min-height:180px;outline:none;font-size:16px;line-height:1.7;background:#fff;white-space:normal}.qb-editor-area:focus{box-shadow:inset 0 0 0 1px #2684ff}.qb-editor-area p{margin-top:0;margin-bottom:8px}.qb-editor-area ul,.qb-editor-area ol{padding-left:30px}.qb-editor-area img{max-width:100%;height:auto;display:block;margin:8px 0}.qb-editor-hidden{display:none!important}.qb-math-token{display:inline-block;padding:1px 3px;border-radius:3px;background:rgba(13,110,253,.05);cursor:pointer;vertical-align:middle}.qb-math-token:hover{outline:1px dashed #0d6efd}.qb-math-dialog{display:none;position:fixed;z-index:99999;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.45);align-items:center;justify-content:center}.qb-math-dialog-box{width:560px;max-width:calc(100% - 30px);background:#fff;border-radius:8px;padding:20px;box-shadow:0 10px 40px rgba(0,0,0,.25)}.qb-math-dialog-box h3{margin-top:0;margin-bottom:15px}.qb-math-input{width:100%;min-height:90px;padding:10px;border:1px solid #ccc;border-radius:5px;font-family:Consolas,monospace;font-size:15px;resize:vertical;box-sizing:border-box}.qb-math-preview{margin-top:12px;padding:12px;border:1px solid #ddd;border-radius:5px;background:#fafafa;min-height:42px;overflow:auto}.qb-math-help{margin-top:8px;font-size:13px;color:#666;line-height:1.6}.qb-math-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.qb-math-actions button{padding:7px 14px;border:1px solid #ccc;border-radius:5px;cursor:pointer}.qb-math-insert{background:#198754;color:#fff;border-color:#198754!important}.qb-upload-status{font-size:13px;color:#666;margin-left:5px}.qb-upload-error{color:#b02a37}.qb-upload-success{color:#146c43}
