/* R268: compact AI chat for customers; no internal model status, footer links or side handles. */
.editor-focused-shell .r266-ai-float.r266-ai-expanded{
 width:min(var(--r268-ai-width,424px),calc(100vw - 24px));
 height:min(var(--r268-ai-height,680px),calc(100dvh - 30px));
 min-width:min(330px,calc(100vw - 24px));min-height:330px;
}
.editor-focused-shell .r266-ai-float .r261-ai-toolbar-right{display:flex;align-items:center;gap:7px}
.editor-focused-shell .r266-ai-float .r268-drafts-top{
 font:inherit;font-size:11px;font-weight:750;border:1px solid #bcdfee;background:#fff;
 color:#2b718e;border-radius:10px;padding:7px 10px;cursor:pointer;
}
.editor-focused-shell .r266-ai-float .r268-drafts-top:hover{background:#eaf7fd}
.editor-focused-shell .r266-ai-float .r268-ai-control-line{
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 margin:2px 0 8px;flex:0 0 auto;
}
.editor-focused-shell .r266-ai-float .r268-ai-mode select{
 width:auto;max-width:192px;min-height:29px;border:1px solid #d6e6ef;
 background:linear-gradient(140deg,#f2f9fd,#fff);color:#326882;
 padding:4px 24px 4px 9px;font-size:11px;font-weight:700;border-radius:9px;
}
.editor-focused-shell .r266-ai-float .r268-attach{
 border:1px solid #c5deec;background:#f5fbff;color:#2b769b;
 font-size:11px;font-weight:750;padding:6px 9px;cursor:pointer;border-radius:9px;
}
.editor-focused-shell .r266-ai-float .r268-attach:hover{background:#e2f5ff}
.editor-focused-shell .r266-ai-float .r268-image-chip{
 display:flex;align-items:center;gap:6px;min-width:0;padding:6px;
 flex:0 0 auto;border:1px solid #daeaf1;background:#f8fcfe;border-radius:12px;margin-bottom:7px;
}
.editor-focused-shell .r266-ai-float .r268-image-chip img{width:35px;height:35px;object-fit:cover;border-radius:8px;flex:0 0 35px}
.editor-focused-shell .r266-ai-float .r268-image-chip>span{font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.editor-focused-shell .r266-ai-float .r268-image-chip>button{
 font-size:10px;background:#fff;color:#286d95;border:1px solid #d7e7ed;border-radius:8px;padding:5px 6px;cursor:pointer;
}
.editor-focused-shell .r266-ai-float .r268-drafts-dialog{
 position:absolute;inset:56px 9px 9px;z-index:9;overflow-y:auto;
 border-radius:14px;background:#fff;border:1px solid #cee3ed;
 box-shadow:0 10px 30px rgba(18,55,80,.2);padding:14px;color:#1c4a62;
}
.editor-focused-shell .r266-ai-float .r268-drafts-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.editor-focused-shell .r266-ai-float .r268-drafts-head>strong{font-size:15px}
.editor-focused-shell .r266-ai-float .r268-drafts-head button{
 color:#3c7795;border:0;background:transparent;font-size:20px;cursor:pointer;
}
.editor-focused-shell .r266-ai-float .r268-drafts-dialog>p{font-size:11px;line-height:1.55;color:#667e8b;margin:10px 0}
.editor-focused-shell .r266-ai-float .r268-snapshot-save{
 width:100%;border-radius:10px;background:#1688ca;border:0;color:white;
 padding:11px;cursor:pointer;font-size:12px;font-weight:750;margin-bottom:9px;
}
.editor-focused-shell .r266-ai-float .r268-snapshots{display:flex;flex-direction:column;gap:7px}
.editor-focused-shell .r266-ai-float .r268-snapshot-row{
 display:flex;align-items:center;gap:6px;border:1px solid #e1edf1;
 background:#f9fcff;border-radius:10px;padding:9px;
}
.editor-focused-shell .r266-ai-float .r268-snapshot-row>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.editor-focused-shell .r266-ai-float .r268-snapshot-row b{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.editor-focused-shell .r266-ai-float .r268-snapshot-row small{font-size:9px;color:#7b919d}
.editor-focused-shell .r266-ai-float .r268-snapshot-row button{
 font-size:10px;border:1px solid #cedfe9;border-radius:7px;background:white;color:#2c6e90;padding:5px 7px;cursor:pointer;
}
.editor-focused-shell .r266-ai-float .r261-ai-provider,
.editor-focused-shell .r266-ai-float .r261-ai-footer{display:none!important}
.editor-focused-shell .r266-ai-float.r266-ai-expanded{touch-action:auto}
@media(max-width:650px){
 .editor-focused-shell .r266-ai-float.r266-ai-expanded{width:auto;height:min(78dvh,690px);min-width:0;min-height:0}
 .editor-focused-shell .r266-ai-float .r268-image-chip{flex-wrap:wrap}
 .editor-focused-shell .r266-ai-float .r268-image-chip>span{min-width:75px}
 .editor-focused-shell .r266-ai-float .r268-drafts-dialog{inset:49px 6px 6px}
}
