/* R269 — Telegram-inspired AI chat. Paperclip lives inside the message composer. */
.editor-focused-shell .r261-ai-workspace.r266-ai-float.r266-ai-expanded{
 color:#233b4a;background:#f6f8fb;border:1px solid #d7e5f0;border-radius:21px;
 box-shadow:0 23px 72px rgba(19,49,80,.22),0 4px 13px rgba(19,49,80,.09);
}
.editor-focused-shell .r266-ai-float .r261-ai-toolbar{
 position:relative;z-index:2;min-height:60px;padding:11px 13px;
 background:linear-gradient(112deg,rgba(234,246,255,.98),rgba(255,255,255,.98) 64%,rgba(246,238,255,.96));
 border-bottom:1px solid #e3eaf1;box-shadow:0 1px 5px rgba(16,51,80,.025);
}
.editor-focused-shell .r266-ai-float .r261-ai-orb{
 width:37px;height:37px;flex-basis:37px;border-radius:50%;font-size:20px;
 background:linear-gradient(140deg,#63b6f5 0%,#3189e8 58%,#8b69d6 100%);
 box-shadow:0 2px 10px rgba(74,142,231,.27);
}
.editor-focused-shell .r266-ai-float .r261-ai-orb:after{border-radius:50%;border-color:rgba(84,157,238,.17)}
.editor-focused-shell .r266-ai-float .r261-ai-brand{gap:9px}
.editor-focused-shell .r266-ai-float .r261-ai-brand-copy strong{font-size:13px;line-height:1.3;color:#1d384b;letter-spacing:-.01em}
.editor-focused-shell .r266-ai-float .r261-ai-brand-copy>span{color:#778b9c;font-size:10px}
.editor-focused-shell .r266-ai-float .r261-ai-toolbar-right{gap:5px}
.editor-focused-shell .r266-ai-float .r269-ai-mode select{
 min-width:90px;max-width:104px;min-height:31px;padding:5px 18px 5px 8px;
 font:inherit;font-size:10.5px;font-weight:700;color:#387ba8;
 border:1px solid #d9e7f2;border-radius:11px;background:#f3f9ff;
 cursor:pointer;
}
.editor-focused-shell .r266-ai-float .r269-ai-mode select:focus-visible{outline:2px solid #5aa7e9;outline-offset:2px}
.editor-focused-shell .r266-ai-float .r268-drafts-top{
 min-height:31px;padding:6px 8px;font-size:10.5px;font-weight:700;
 color:#416f8b;background:rgba(255,255,255,.89);border:1px solid #dce9f1;border-radius:11px;
}
.editor-focused-shell .r266-ai-float .r261-ai-toggle{
 flex:0 0 31px;min-width:31px;min-height:31px;padding:0;
 border-radius:11px;background:#fff;border:1px solid #deebf2;color:#53778f;
}
.editor-focused-shell .r266-ai-float .r266-ai-toggle-label{display:none}
.editor-focused-shell .r266-ai-float .r261-ai-body{padding:0 11px 10px;background:#f6f8fb}
.editor-focused-shell .r266-ai-float .r266-ai-scroll{
 padding:14px 5px 10px;scrollbar-color:#c7d7e4 transparent;
 background:radial-gradient(circle at 12% 18%,rgba(214,231,246,.16),transparent 32%),
  radial-gradient(circle at 85% 70%,rgba(223,227,246,.17),transparent 38%);
}
/* Working stages are preserved in state; conversation remains the primary visual. */
.editor-focused-shell .r266-ai-float .r261-ai-intro{display:none!important}
.editor-focused-shell .r266-ai-float .r261-ai-stages{display:none!important}
.editor-focused-shell .r266-ai-float .r261-ai-thread,
.editor-focused-shell .r266-ai-float .r260-ai-history{
 display:flex;flex-direction:column;gap:11px;padding:0 3px 13px;margin:0;max-height:none;
 background:transparent;border:0;
}
.editor-focused-shell .r266-ai-float .r261-ai-bubble{
 max-width:91%;padding:10px 13px;border-radius:17px 17px 17px 5px;
 background:#fff;border:1px solid #e5ebf1;color:#2c4254;
 box-shadow:0 2px 4px rgba(35,70,100,.055);font-size:12px;line-height:1.55;
}
.editor-focused-shell .r266-ai-float .r261-ai-bubble.is-user{
 border-color:#d0e6d1;background:#e0f6df;border-radius:17px 17px 5px 17px;
 box-shadow:0 2px 4px rgba(24,90,53,.045);
}
.editor-focused-shell .r266-ai-float .r261-ai-bubble>span{font-size:10px;color:#728e9f}
.editor-focused-shell .r266-ai-float .r261-ai-bubble.is-user>span{color:#4a8860}
.editor-focused-shell .r266-ai-float .r261-ai-bubble p{color:#304556;line-height:1.56;font-size:12px}
.editor-focused-shell .r266-ai-float .r261-ai-review,
.editor-focused-shell .r266-ai-float .r261-ai-audit{
 border-radius:16px;background:#fff;border:1px solid #e1e9f1;
 box-shadow:0 2px 7px rgba(27,76,112,.055);padding:12px;margin:5px 0 12px;
}
.editor-focused-shell .r266-ai-float .r265-checklist{border-radius:15px;background:white}
.editor-focused-shell .r266-ai-float .r268-image-chip{
 margin:6px 0 9px;padding:7px 9px;background:#f2f9ff;border:1px solid #d7e8f6;
 border-radius:15px;box-shadow:0 1px 4px rgba(33,81,116,.045);
}
.editor-focused-shell .r266-ai-float .r268-image-chip img{
 width:44px;height:44px;flex-basis:44px;border-radius:10px;
}
.editor-focused-shell .r266-ai-float .r268-image-chip>span{font-weight:650;color:#3b667d;font-size:10.5px}
.editor-focused-shell .r266-ai-float .r268-image-chip>button{border-radius:9px;min-height:29px}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer{
 position:relative;display:flex;align-items:center;gap:6px;flex:0 0 auto;
 padding:5px 6px 5px 5px;min-height:48px;margin:3px 0 0;
 border:1px solid #d0e0ec;border-radius:20px;background:#fff;
 box-shadow:0 3px 13px rgba(20,57,97,.07);
}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer:focus-within{
 border-color:#87c5ec;box-shadow:0 0 0 3px rgba(52,151,225,.09),0 3px 13px rgba(20,57,97,.06);
}
.editor-focused-shell .r266-ai-float .r269-hidden-upload{
 position:absolute!important;width:1px!important;height:1px!important;
 opacity:0;overflow:hidden;clip-path:inset(100%);pointer-events:none;
}
.editor-focused-shell .r266-ai-float .r269-attach-button{
 flex:0 0 38px;display:grid;place-items:center;width:38px;height:38px;padding:0;
 color:#6a849b;background:transparent;border:0;border-radius:50%;
 cursor:pointer;transition:color .15s,background .15s;
}
.editor-focused-shell .r266-ai-float .r269-attach-button:hover{
 color:#288fd0;background:#eaf5ff;
}
.editor-focused-shell .r266-ai-float .r269-attach-button:focus-visible{
 outline:2px solid #4aa7e8;outline-offset:2px;
}
.editor-focused-shell .r266-ai-float .r269-attach-button svg{display:block}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer textarea{
 min-height:36px;max-height:145px;padding:9px 1px 7px;margin:0;
 font:inherit;font-size:12.4px;line-height:1.5;color:#2d4357;
 background:transparent;resize:none;
}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer textarea::placeholder{color:#97a9b7}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer .r261-ai-send{
 flex:0 0 38px!important;width:38px!important;height:38px!important;
 min-height:38px!important;display:grid;place-items:center;padding:0;border-radius:50%;
 background:linear-gradient(143deg,#48b6ed,#228dd8 67%,#357ac9);color:white;
 box-shadow:0 2px 8px rgba(27,141,215,.18);
}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer .r261-ai-send:hover{filter:brightness(1.05)}
.editor-focused-shell .r266-ai-float .r261-ai-composer.r269-ai-composer .r261-ai-send:disabled{background:#a9c9da;box-shadow:none}
.editor-focused-shell .r266-ai-float .r261-ai-feedback{
 padding:5px 4px 0;margin:0;max-height:52px;min-height:14px;
 color:#778e9d;font-size:10px;line-height:1.45;
}
.editor-focused-shell .r266-ai-float.r269-drop-ready.r266-ai-expanded{
 outline:3px dashed #499ee2;outline-offset:-6px;
}
.editor-focused-shell .r266-ai-float.r269-drop-ready .r261-ai-composer.r269-ai-composer{
 background:#eaf6ff;border-color:#56a7e3;
}
.editor-focused-shell .r266-ai-float.r266-ai-minimized .r261-ai-toolbar{
 background:linear-gradient(110deg,#f1faff,#fff);min-height:0;
}
@media(max-width:650px){
 .editor-focused-shell .r266-ai-float .r261-ai-toolbar{padding:9px 10px;min-height:54px}
 .editor-focused-shell .r266-ai-float .r269-ai-mode select{min-width:76px;max-width:87px;font-size:10px}
 .editor-focused-shell .r266-ai-float .r268-drafts-top{min-height:30px;padding:5px 7px}
 .editor-focused-shell .r266-ai-float .r261-ai-orb{width:31px;height:31px;flex-basis:31px}
 .editor-focused-shell .r266-ai-float .r261-ai-brand-copy>span{display:none}
 .editor-focused-shell .r266-ai-float .r261-ai-body{padding:0 8px 10px}
 .editor-focused-shell .r266-ai-float .r261-ai-bubble{font-size:12px}
}
@media(max-width:365px){
 .editor-focused-shell .r266-ai-float .r261-ai-toolbar-right{gap:3px}
 .editor-focused-shell .r266-ai-float .r261-ai-brand-copy strong{font-size:11px}
 .editor-focused-shell .r266-ai-float .r269-ai-mode select{min-width:70px;max-width:76px}
 .editor-focused-shell .r266-ai-float .r268-drafts-top{padding:5px}
}
@media(prefers-reduced-motion:reduce){
 .editor-focused-shell .r266-ai-float .r269-attach-button{transition:none}
}
