.robot-html-source{display:none!important}.robot-html-editor{display:grid;margin-top:8px;border:1px solid #d7e2f2;border-radius:12px;background:#fff;overflow:hidden;color:#24334c}.robot-html-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:8px;background:#f8faff;border-bottom:1px solid #dce5f2}.robot-html-tabs button{min-height:38px;border:1px solid #d3deed;background:#fff;color:#4b6281;cursor:pointer;font:inherit}.robot-html-tabs button:first-child{border-radius:8px 0 0 8px}.robot-html-tabs button:last-child{border-radius:0 8px 8px 0}.robot-html-tabs button+button{border-left:0}.robot-html-tabs button.is-active{background:#1671df;border-color:#1671df;color:#fff;font-weight:700}.robot-html-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:9px 10px;border-bottom:1px solid #dce5f2;background:#f3f7fc}.robot-html-toolbar button,.robot-html-toolbar select{height:34px;min-width:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:#34506f;padding:5px 8px;cursor:pointer;font:inherit}.robot-html-toolbar button:hover:not(:disabled),.robot-html-toolbar select:hover:not(:disabled){border-color:#c3d2e7;background:#fff;color:#1266d3}.robot-html-toolbar button:disabled,.robot-html-toolbar select:disabled{cursor:not-allowed;opacity:.5}.robot-html-toolbar select{border-color:#d4dfed;background:#fff}.robot-html-canvas,.robot-html-code,.robot-html-preview{min-height:180px;max-height:440px;overflow:auto;padding:14px;border:0;background:#fff;color:#24334c;line-height:1.7;overflow-wrap:anywhere;outline:none}.robot-html-code{display:none;width:100%;resize:vertical;border:0;font:13px/1.7 Consolas,Monaco,monospace;box-sizing:border-box;background:#fbfcfe}.robot-html-preview{display:none;background:#fbfcfe}.robot-html-editor[data-mode=source] .robot-html-toolbar,.robot-html-editor[data-mode=preview] .robot-html-toolbar{display:none}.robot-html-editor[data-mode=source] .robot-html-canvas,.robot-html-editor[data-mode=preview] .robot-html-canvas{display:none}.robot-html-editor[data-mode=source] .robot-html-code{display:block}.robot-html-editor[data-mode=preview] .robot-html-preview{display:block}.robot-html-canvas:focus,.robot-html-code:focus{box-shadow:inset 0 0 0 2px rgba(22,113,223,.35)}.robot-html-canvas:empty:before{content:attr(data-placeholder);color:#9aa8bd;pointer-events:none}.robot-html-canvas[contenteditable=false],.robot-html-code:disabled{background:#f5f7fb;color:#8491a5;cursor:not-allowed}.robot-html-canvas h1,.robot-html-preview h1,.robot-rich-html h1{font-size:1.65em}.robot-html-canvas h2,.robot-html-preview h2,.robot-rich-html h2{font-size:1.4em}.robot-html-canvas h3,.robot-html-preview h3,.robot-rich-html h3{font-size:1.2em}.robot-html-canvas blockquote,.robot-html-preview blockquote,.robot-rich-html blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid #4f7ef7;background:#f3f6fc}.robot-html-canvas pre,.robot-html-preview pre,.robot-rich-html pre{white-space:pre-wrap;padding:10px;border-radius:8px;background:#eef2f7;font-family:Consolas,monospace}.robot-html-image{display:inline-flex;position:relative;vertical-align:middle;max-width:100%;margin:5px 7px 5px 0;padding:4px;border:1px solid #dbe4f3;border-radius:11px;background:#f6f8fc}.robot-html-image img,.robot-html-preview img{display:block;max-width:min(260px,100%);max-height:220px;border-radius:8px;object-fit:contain;background:#eef2f8}.robot-html-image-remove{position:absolute;top:-8px;right:-8px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;background:#d94747;color:#fff;font-size:18px;line-height:1;cursor:pointer;box-shadow:0 2px 7px rgba(32,45,70,.22)}.robot-html-status{display:block;padding:0 12px 10px;color:#7183a1}.robot-html-status.is-error{color:#d23d3d}.robot-rich-message{display:grid;gap:8px;max-width:100%}.robot-rich-message-text{white-space:pre-wrap;overflow-wrap:anywhere}.robot-rich-message-text:empty{display:none}.robot-rich-message img{display:block;max-width:min(100%,420px);max-height:520px;border-radius:12px;object-fit:contain;background:rgba(0,0,0,.04)}.robot-rich-message a,.robot-html-preview a{color:#1769dc;text-decoration:underline;word-break:break-all}.robot-rich-html{display:block;line-height:1.65}.robot-rich-html>*:first-child{margin-top:0}.robot-rich-html>*:last-child{margin-bottom:0}@media(max-width:600px){.robot-html-toolbar{gap:2px;padding:7px}.robot-html-toolbar button,.robot-html-toolbar select{padding:4px 6px}.robot-html-canvas,.robot-html-code,.robot-html-preview{min-height:150px}.robot-html-image{display:flex;margin-right:0}.robot-html-image img{max-width:100%;max-height:260px}}
.robot-html-editor .robot-html-code{display:none!important}.robot-html-editor[data-mode=source] .robot-html-code{display:block!important}
.robot-conversation-preview{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%}.robot-conversation-preview>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.robot-conversation-image-icon{display:inline-flex;flex:0 0 auto;width:15px;height:15px;color:#7f91ad}.robot-conversation-image-icon svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.robot-saved-overview{display:none!important}.robot-html-canvas a{color:#1671df!important;text-decoration:underline!important;text-underline-offset:2px;cursor:pointer}.robot-html-canvas a:visited{color:#6d48c7!important}
