/* Despani floating chat (x2 t610, t611): fixed floating button bottom right (roadcoach.ai "Ask the AI coach" pattern) + popup window
   anchored above it; optional pinned column (member's choice, never the default); phone: icon-only round button + popup card.
   Markup is built by float.js; included site-wide by themes/despani/chat/_float.ftl. Home-module chrome: black header,
   #7d0001 underline, cream/white card. Everything is scoped under .dfc so the host page CSS never leaks in or out. */
.dfc{--dfc-red:#9b0d14;--dfc-red-dk:#7d0001;--dfc-ink:#222;--dfc-muted:#7a6f63;--dfc-line:#e4dccd;--dfc-cream:#fbf7ef;--dfc-paper:#f4f1ea;
  --dfc-online:#2e9d4f;--dfc-serif:"Noto Serif Georgian","BPG Nino Mtavruli",Georgia,serif;--dfc-sans:"Noto Sans Georgian",Tahoma,Verdana,Arial,sans-serif;
  --dfc-z:2100;--dfc-pin-w:400px;font-family:var(--dfc-sans);color:var(--dfc-ink);font-size:13.5px;line-height:1.4;-webkit-text-size-adjust:100%}
.dfc *,.dfc *::before,.dfc *::after{box-sizing:border-box}
.dfc [hidden]{display:none!important}
.dfc button{font-family:inherit}
.dfc-mark{display:block;flex:none;border-radius:50%;background:#fff url(/colibri/brand/despani-mark-modern.svg) center/82% no-repeat}

/* ---------- launcher: the reference's pill (52px, 16px from the corner, icon + label), Despani dark red ---------- */
.dfc{--dfc-gap:16px;--dfc-bottom:16px}
.dfc-launch{position:fixed;z-index:var(--dfc-z);right:max(var(--dfc-gap),env(safe-area-inset-right));bottom:calc(var(--dfc-bottom) + env(safe-area-inset-bottom,0px));
  display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 20px 0 15px;border:0;border-radius:999px;
  background:linear-gradient(#a3121a,#7d0001);color:#fff;font:700 15.5px/1.2 var(--dfc-sans);cursor:pointer;user-select:none;-webkit-user-select:none;
  box-shadow:0 14px 30px -12px rgba(0,0,0,.6),0 0 0 1px rgba(0,0,0,.35)}
.dfc-launch:hover{background:linear-gradient(#b3161c,#8a0308)}
.dfc-launch[aria-expanded=true]{background:linear-gradient(#262628,#141415)}
.dfc-launch svg{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dfc-launch:focus-visible,.dfc-edge:focus-visible,.dfc button:focus-visible{outline:3px solid #f5c26b;outline-offset:2px}
.dfc-launch .dfc-lt small{display:none}
.dfc.is-open[data-mode=pin] .dfc-launch{display:none}
.dfc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--dfc-online);box-shadow:0 0 0 2px rgba(255,255,255,.7);flex:none}
.dfc-badge{position:absolute;top:-6px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#fff;color:var(--dfc-red-dk);border:2px solid var(--dfc-red-dk);
  font:800 12px/18px var(--dfc-sans);text-align:center}
.dfc-edge{display:none!important;position:fixed;z-index:var(--dfc-z);right:0;top:40%;width:28px;height:96px;padding:0;border:0;border-radius:10px 0 0 10px;border-left:3px solid var(--dfc-red-dk);
  background:linear-gradient(90deg,#1d1d1f,#141415);color:#f2f2f2;cursor:pointer;touch-action:none;box-shadow:-4px 6px 18px rgba(0,0,0,.35)}
.dfc-edge.is-left{right:auto;left:0;border-radius:0 10px 10px 0;border-left:0;border-right:3px solid var(--dfc-red-dk)}
.dfc-edge>span{display:block;writing-mode:vertical-rl;margin:auto;font:700 13px var(--dfc-sans);letter-spacing:.02em}
.dfc-edge .dfc-badge{top:-10px;right:auto;left:-6px}
.dfc-edge.is-left .dfc-badge{left:auto;right:-6px}
.dfc-peek{position:fixed;z-index:var(--dfc-z);right:16px;bottom:80px;width:290px;max-width:calc(100vw - 24px);padding:9px 12px;border:1px solid var(--dfc-line);border-radius:10px;
  background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:13px;text-align:left;cursor:pointer;color:var(--dfc-ink);animation:dfc-rise .2s ease-out}
.dfc-peek .dfc-pr{display:block;margin-bottom:2px;font-size:11px;color:var(--dfc-muted)}
.dfc-peek b{color:#5b2a86}
.dfc-peek .dfc-pt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}

/* ---------- panel ---------- */
.dfc-panel{position:fixed;z-index:calc(var(--dfc-z) + 1);right:max(var(--dfc-gap),env(safe-area-inset-right));bottom:calc(var(--dfc-bottom) + 64px + env(safe-area-inset-bottom,0px));
  width:min(400px,calc(100vw - 32px));height:620px;max-height:calc(100vh - var(--dfc-bottom) - 96px);max-height:calc(100dvh - var(--dfc-bottom) - 96px);
  display:flex;flex-direction:column;overflow:hidden;background:#fff;border:0;border-radius:20px;box-shadow:0 24px 60px -20px rgba(0,0,0,.6),0 0 0 1px rgba(0,0,0,.12);animation:dfc-rise .18s ease-out}
.dfc[data-mode=pin] .dfc-panel{top:0;right:0;bottom:0;left:auto;width:var(--dfc-pin-w);height:auto;max-height:none;border-radius:0;border-left:1px solid var(--dfc-line);border-top:0;border-bottom:0;border-right:0;
  box-shadow:-10px 0 30px rgba(0,0,0,.25);animation:none}
html.dfc-pinned body{margin-right:var(--dfc-pin-w,400px)!important}
html.dfc-pinned body.desp-heritage .desp-wrap:not(.desp-viewbar .desp-wrap){max-width:min(var(--c-page-max,1000px),calc(100vw - var(--dfc-pin-w,400px) - 16px))!important}
html.dfc-pinned .desp-totop{right:calc(var(--dfc-pin-w,400px) + 20px)!important}
.dfc-head{flex:none;display:flex;align-items:center;gap:8px;min-height:62px;padding:9px 10px 9px 14px;background:linear-gradient(#1d1d1f,#141415);border-bottom:2px solid var(--dfc-red-dk);color:#f2f2f2;user-select:none;-webkit-user-select:none}
.dfc-ht{flex:1;min-width:0}
.dfc-ht p{margin:2px 0 0;font-size:12px;color:#c9c2b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dfc-ib.is-close{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.1);color:#fff}
.dfc-ib.is-close:hover{background:#7d0001}
.dfc-head .dfc-mark{width:34px;height:34px}
.dfc .dfc-head h2{margin:0!important;font:600 15.5px/1.25 var(--dfc-serif)!important;color:#fff!important;text-shadow:none!important;background:none!important;border:0!important;padding:0!important;color:#f2f2f2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.01em}
.dfc-head h2 small{margin-left:6px;font:500 11px var(--dfc-sans);color:#b9b2a8}
.dfc-hpill{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 9px;border:1px solid #3a3a3d;border-radius:999px;background:#26262a;color:#e9e9e9;font:600 11.5px var(--dfc-sans);cursor:pointer;white-space:nowrap}
.dfc-hpill[aria-pressed=true]{background:#f1faf3;color:#225f34;border-color:#cfe6d5}
.dfc-hpill .dfc-dot{box-shadow:none}
.dfc-ib{position:relative;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#ddd;cursor:pointer}
.dfc-ib:hover{background:rgba(255,255,255,.1)}
.dfc-ib i{position:absolute;inset:0;margin:auto;display:block}
.dfc-ib.is-min i{width:12px;height:2px;background:currentColor}
.dfc-ib.is-pin i{width:13px;height:13px;border:2px solid currentColor;border-radius:2px}
.dfc-ib.is-pin i::after{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;width:5px;background:currentColor}
.dfc-ib.is-pin[aria-pressed=true] i::after{left:-2px;right:auto}
.dfc-ib.is-x i::before,.dfc-ib.is-x i::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;margin:-1px 0 0 -7px;background:currentColor;transform:rotate(45deg)}
.dfc-ib.is-x i::after{transform:rotate(-45deg)}
.dfc-ib.is-full i{width:12px;height:12px;border-top:2px solid currentColor;border-left:2px solid currentColor;transform:translateY(3px) rotate(45deg)}
.dfc-ib.is-full[aria-pressed=true] i{transform:translateY(-3px) rotate(225deg)}
.dfc-tabs{flex:none;display:flex;border-bottom:1px solid var(--dfc-line);background:var(--dfc-cream)}
.dfc-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;height:40px;padding:0 8px;border:0;border-bottom:3px solid transparent;background:transparent;
  font:700 13px var(--dfc-sans);color:#6b6158;cursor:pointer}
.dfc-tabs button[aria-selected=true]{color:var(--dfc-red-dk);border-bottom-color:var(--dfc-red);background:#fff}
.dfc-n{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--dfc-red);color:#fff;font-size:11px;line-height:18px;text-align:center}
.dfc-ai{padding:2px 5px;border-radius:4px;background:#1d1d1f;color:#fff;font:800 10px var(--dfc-sans);letter-spacing:.04em}
.dfc-pane{flex:1;min-height:0;display:flex;flex-direction:column}
.dfc-rooms{flex:none;display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid var(--dfc-line);background:#fff;overflow-x:auto;scrollbar-width:none}
.dfc-rooms::-webkit-scrollbar{display:none}
.dfc-chip{flex:none;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border:1px solid var(--dfc-line);border-radius:999px;background:#fff;
  font:600 12px var(--dfc-sans);color:#4a4038;cursor:pointer;white-space:nowrap}
.dfc-chip[aria-pressed=true]{background:var(--dfc-red);border-color:var(--dfc-red);color:#fff}
.dfc-chip small{font-weight:500;font-size:10px;opacity:.85}
.dfc-chip .dfc-n{min-width:16px;height:16px;line-height:16px;font-size:10px}
.dfc-chip[aria-pressed=true] .dfc-n{background:#fff;color:var(--dfc-red-dk)}
.dfc-chip:disabled{color:#aaa;border-style:dashed;cursor:default}
.dfc-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:var(--dfc-paper)}
.dfc-pane[data-pane=ai] .dfc-body{background:#fff}
.dfc-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 12px 6px;display:flex;flex-direction:column;gap:6px}
.dfc-day{align-self:center;margin:2px 0 4px;padding:2px 10px;border:1px solid var(--dfc-line);border-radius:999px;background:#fff;font-size:11px;color:var(--dfc-muted)}
.dfc-sys{align-self:center;max-width:92%;text-align:center;font-size:11px;color:var(--dfc-muted)}
.dfc-sys.is-warn{padding:4px 10px;border-radius:6px;background:#fff3d6;color:#7a5200}
.dfc-empty{margin:auto;padding:20px;text-align:center;font-size:12.5px;color:var(--dfc-muted)}
.dfc-m{display:flex;gap:7px;align-items:flex-end;max-width:88%}
.dfc-av{flex:none;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#d8cdbd;color:#5a4636;font:700 12px/28px var(--dfc-sans);text-align:center}
.dfc-av img{display:block;width:100%;height:100%;object-fit:cover}
.dfc-av.is-bot{background:#fff url(/colibri/brand/despani-mark-modern.svg) center/22px no-repeat;border:1px solid var(--dfc-line)}
.dfc-bub{min-width:0;padding:6px 10px 5px;border:1px solid #ece5d8;border-radius:12px 12px 12px 4px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}
.dfc-who{display:block;margin-bottom:1px;font-size:11.5px;font-weight:700;color:#5b2a86;text-decoration:none}
.dfc-t{float:right;margin:4px 0 0 10px;font-size:10px;color:#9a9086}
.dfc-m.is-me{align-self:flex-end;flex-direction:row-reverse}
.dfc-m.is-me .dfc-bub{background:var(--dfc-red);border-color:var(--dfc-red);color:#fff;border-radius:12px 12px 4px 12px}
.dfc-m.is-me .dfc-t{color:#f3c9c9}
.dfc-m.is-me.is-pending{opacity:.6}
.dfc-m.is-bot .dfc-bub{background:#1f1f22;border-color:#1f1f22;color:#f3f3f3}
.dfc-m.is-bot .dfc-who{color:#ffcf8a}
.dfc-m.is-bot .dfc-t{color:#999}
.dfc-tag{margin-left:4px;padding:1px 4px;border-radius:3px;background:var(--dfc-red);color:#fff;font:800 9px var(--dfc-sans);vertical-align:1px}
.dfc-mention{font-weight:700;color:var(--dfc-red)}
.dfc-m.is-me .dfc-mention,.dfc-m.is-bot .dfc-mention{color:#ffd6a0}
.dfc-bub a{color:inherit;text-decoration:underline}
.dfc-typing{flex:none;min-height:18px;padding:0 14px 3px;font-size:11.5px;font-style:italic;color:var(--dfc-muted)}
.dfc-compose{flex:none;display:flex;gap:8px;align-items:flex-end;padding:9px 10px 10px;border-top:1px solid var(--dfc-line);background:#fff}
.dfc-compose textarea{flex:1;min-width:0;height:42px;max-height:120px;margin:0;padding:10px 11px;border:1px solid #d9cfbf;border-radius:8px;background:#fff;
  font:14px/1.4 var(--dfc-sans);color:var(--dfc-ink);resize:none;box-shadow:none}
.dfc-compose textarea:focus{outline:2px solid #e2b4b4;border-color:#c98d8d}
.dfc-btn{flex:none;height:42px;padding:0 14px;border:0;border-radius:8px;background:linear-gradient(#b3161c,#7d0001);color:#fff;font:700 13px var(--dfc-sans);cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center}
.dfc-btn:disabled{opacity:.5;cursor:default}
.dfc-btn.is-sm{height:34px}
.dfc-guest{flex:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:10px 12px;border-top:1px solid var(--dfc-line);background:#fff;font-size:12.5px;color:#5a5048}
.dfc-hint{flex:none;padding:0 12px 8px;background:#fff;font-size:11px;color:var(--dfc-muted)}
.dfc-hint b{color:var(--dfc-red-dk)}
.dfc-err{flex:none;margin:0;padding:6px 12px;background:#fff1f1;color:#8a1010;font-size:12px}
/* online drawer */
.dfc-online{position:absolute;z-index:2;top:0;right:0;bottom:0;width:80%;display:flex;flex-direction:column;background:#fff;border-left:1px solid var(--dfc-line);box-shadow:-10px 0 30px rgba(0,0,0,.12)}
.dfc-online h3{display:flex;align-items:center;justify-content:space-between;margin:0;padding:6px 6px 6px 12px;border-bottom:1px solid var(--dfc-line);background:var(--dfc-cream);font:600 12px var(--dfc-serif);color:var(--dfc-ink)}
.dfc-online h3 .dfc-ib{color:#555}
.dfc-online h4{margin:10px 12px 4px;font:700 10.5px var(--dfc-sans);letter-spacing:.05em;text-transform:uppercase;color:var(--dfc-muted)}
.dfc-online ul{margin:0;padding:0 6px;list-style:none}
.dfc-online .dfc-ol{flex:1;overflow-y:auto;padding-bottom:10px}
.dfc-online li{display:flex;align-items:center;gap:8px;padding:6px;border-radius:6px;font-size:13px}
.dfc-online li:hover{background:var(--dfc-paper)}
.dfc-online li .dfc-av{position:relative;overflow:visible}
.dfc-online li .dfc-av img{border-radius:50%}
.dfc-online li .dfc-av::after{content:"";position:absolute;right:-1px;bottom:-1px;width:9px;height:9px;border-radius:50%;background:var(--dfc-online);border:2px solid #fff}
.dfc-online .dfc-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dfc-online .dfc-nm small{display:block;font-size:10.5px;color:var(--dfc-muted);overflow:hidden;text-overflow:ellipsis}
.dfc-mini{flex:none;height:24px;padding:0 8px;border:1px solid var(--dfc-line);border-radius:6px;background:#fff;font:600 11px var(--dfc-sans);color:var(--dfc-red-dk);text-decoration:none;display:inline-flex;align-items:center}
.dfc-online p{margin:8px 12px;font-size:12px;color:var(--dfc-muted)}
/* AI pane */
.dfc-ctx{flex:none;display:flex;align-items:center;gap:8px;margin:10px 12px 0;padding:7px 6px 7px 10px;border:1px solid #f0dfbd;border-radius:8px;background:#fff6e5;font-size:12px}
.dfc-ctx span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dfc-ctx .dfc-ib{width:24px;height:24px;color:#8a7350}
.dfc-ctx .dfc-ib i::before,.dfc-ctx .dfc-ib i::after{width:10px;margin-left:-5px}
.dfc-private{flex:none;margin:8px 12px 0;font-size:11px;color:var(--dfc-muted)}
.dfc-hello{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 16px 4px;text-align:center}
.dfc-hello .dfc-tile{width:52px;height:52px;border:1px solid var(--dfc-line);border-radius:14px;background:#fff url(/colibri/brand/despani-mark-modern.svg) center/38px no-repeat}
.dfc-hello h3{margin:4px 0 0;font:600 16px var(--dfc-serif);color:var(--dfc-ink)}
.dfc-hello p{margin:0;font-size:12.5px;color:var(--dfc-muted)}
.dfc-starters{display:flex;flex-direction:column;gap:6px;padding:8px 0 4px}
.dfc-starters button{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid var(--dfc-line);border-radius:8px;background:#fff;
  font:600 12.5px var(--dfc-sans);color:#3d342d;text-align:left;cursor:pointer}
.dfc-starters button::after{content:"";flex:none;width:7px;height:7px;margin-top:5px;border-top:2px solid var(--dfc-red);border-right:2px solid var(--dfc-red);transform:rotate(45deg)}
.dfc-starters button:hover{border-color:#d8b9b9}
.dfc-afoot{flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px 0;background:#fff;font-size:11px;color:var(--dfc-muted)}
.dfc-link{padding:0;border:0;background:none;color:var(--dfc-red-dk);font:700 11px var(--dfc-sans);text-decoration:underline;cursor:pointer}
.dfc-left{padding:1px 7px;border:1px solid var(--dfc-line);border-radius:999px;background:var(--dfc-paper);font-weight:700;color:#5a5048}
.dfc-left.is-out{background:#fff1f1;color:#8a1010;border-color:#efc4c4}
.dfc-note{flex:none;margin:0;padding:0 12px 9px;background:#fff;font-size:10.5px;color:var(--dfc-muted);text-align:center}
.dfc-login{margin:6px 12px;padding:12px;border:1px dashed #d6c7ad;border-radius:8px;background:#fff;text-align:center;font-size:12.5px;color:#5a5048}
.dfc-login .dfc-btn{margin-top:8px}
/* phone: the reference's card above an icon-only round button (8px from the sides); swipe the header up = full screen, down = close */
.dfc-grab{display:none}
.dfc[data-mode=sheet] .dfc-panel{left:8px;right:8px;width:auto;bottom:calc(var(--dfc-bottom) + 66px + env(safe-area-inset-bottom,0px));
  height:min(620px,calc(100dvh - var(--dfc-bottom) - 96px - env(safe-area-inset-top,0px)));max-height:none;transition:height .2s ease}
.dfc[data-mode=sheet].is-full .dfc-panel{left:0;right:0;top:0;bottom:0;height:auto;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.dfc[data-mode=sheet].is-full.is-open .dfc-launch{display:none}
.dfc[data-mode=sheet] .dfc-head{touch-action:none}
.dfc[data-mode=sheet] .dfc-compose textarea{font-size:16px}
.dfc[data-mode=sheet] .dfc-tabs button{height:42px}
.dfc-scrim{display:none!important}
@media (max-width:760px){ /* above the phone tab bar (colibri-ui .c-tabbar, 56px, shown up to 760px; hidden in full-screen play) */
  .dfc{--dfc-bottom:calc(16px + var(--dfc-tabbar,0px))}
  body:has(.c-tabbar) .dfc{--dfc-tabbar:56px}
  html.gm-immersive .dfc{--dfc-tabbar:0px}
}
@media (max-width:699px){
  .dfc-launch{width:56px;height:56px;min-height:0;padding:0;justify-content:center}
  .dfc-launch .dfc-lt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .dfc-peek{left:12px;right:12px;width:auto;bottom:calc(var(--dfc-bottom) + 66px + env(safe-area-inset-bottom,0px))}
}
body:has(.dfc-launch) .desp-totop{bottom:84px}
@media (max-width:699px){body:has(.dfc-launch) .desp-totop{bottom:calc(140px + env(safe-area-inset-bottom))}}
@keyframes dfc-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.dfc-panel,.dfc-peek{animation:none!important;transition:none!important}}
@media print{.dfc{display:none!important}}
.dfc a.dfc-btn,.dfc a.dfc-btn:hover,.dfc a.dfc-btn:visited{color:#fff;text-decoration:none}
/* x2 t613: language toggle (ქარ / ENG), plain text segmented control in the header */
.dfc .dfc-lang{flex:none;display:inline-flex;height:26px;padding:2px;box-sizing:border-box;border:1px solid #3a3a3d;border-radius:999px;background:#0e0e0f}
.dfc .dfc-lang button{appearance:none;-webkit-appearance:none;margin:0;min-width:0;min-height:0;height:20px;padding:0 8px;border:0;border-radius:999px;background:transparent;color:#bdb6ad;font:700 11px/20px var(--dfc-sans);letter-spacing:.02em;cursor:pointer;box-shadow:none;text-transform:none}
.dfc .dfc-lang button:hover{color:#fff}
.dfc .dfc-lang button[aria-pressed=true]{background:linear-gradient(#a3121a,#7d0001);color:#fff}
.dfc .dfc-lang button:focus-visible{outline:2px solid #e8b04a;outline-offset:1px}
@media (max-width:420px){.dfc .dfc-lang button{padding:0 6px}.dfc .dfc-ht p{display:none}}
/* x2 t617: smileys (site set) - in messages, the button by the input, the grid picker and the ":" / "/" autocomplete */
.dfc .dfc-sm{display:inline-block;max-height:24px;max-width:48px;width:auto;height:auto;vertical-align:-6px;margin:0 1px;border:0}
.dfc .dfc-compose{position:relative}
.dfc .dfc-compose .dfc-ib.is-sm{align-self:flex-end;width:36px;height:42px;border-radius:8px;color:#8a7f72;background:transparent}
.dfc .dfc-compose .dfc-ib.is-sm svg{width:22px;height:22px;fill:currentColor;display:block;margin:auto}
.dfc .dfc-compose .dfc-ib.is-sm:hover,.dfc .dfc-compose .dfc-ib.is-sm[aria-expanded=true]{color:var(--dfc-red);background:#f6eeee}
.dfc .dfc-smp{position:absolute;left:8px;right:8px;bottom:calc(100% + 6px);z-index:20;display:flex;flex-direction:column;max-height:300px;background:#fff;border:1px solid #d9cfbf;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.22);overflow:hidden}
.dfc .dfc-smp-h{flex:none;display:flex;gap:6px;align-items:center;padding:8px;border-bottom:1px solid var(--dfc-line)}
.dfc .dfc-smp-h input{flex:1;min-width:0;height:32px;margin:0;padding:0 10px;border:1px solid #d9cfbf;border-radius:8px;font:14px var(--dfc-sans);background:#fff;color:#222}
.dfc .dfc-smp-h .dfc-ib{color:#666;width:30px;height:30px}
.dfc .dfc-smp-b{flex:1;min-height:0;overflow:auto;padding:4px 8px 8px;overscroll-behavior:contain}
.dfc .dfc-smp-b h4{margin:8px 2px 4px;font:700 11px var(--dfc-sans);color:var(--dfc-muted);text-transform:none}
.dfc .dfc-smp-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:2px}
.dfc .dfc-smp-g button{appearance:none;display:flex;align-items:center;justify-content:center;height:40px;min-width:0;padding:2px;margin:0;border:0;border-radius:8px;background:transparent;cursor:pointer;box-shadow:none}
.dfc .dfc-smp-g button:hover,.dfc .dfc-smp-g button:focus-visible{background:#f6eeee;outline:none}
.dfc .dfc-smp-g img{max-width:36px;max-height:32px}
.dfc .dfc-ac{position:absolute;left:52px;right:90px;bottom:calc(100% + 4px);z-index:21;max-height:260px;overflow:auto;background:#fff;border:1px solid #d9cfbf;border-radius:10px;box-shadow:0 10px 26px rgba(0,0,0,.2);padding:4px}
.dfc .dfc-ac [role=option]{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:7px;cursor:pointer;font:13px var(--dfc-sans);color:#222}
.dfc .dfc-ac [role=option][aria-selected=true]{background:#f6e6e6}
.dfc .dfc-ac img{width:auto;max-width:36px;max-height:24px;flex:none}
.dfc .dfc-ac small{color:var(--dfc-muted)}
@media (max-width:699px){.dfc .dfc-smp{left:0;right:0;max-height:min(46vh,320px)}.dfc .dfc-smp-g{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}.dfc .dfc-smp-g button{height:44px}.dfc .dfc-ac{left:8px;right:8px}}
/* x2 t619: lower-left resize grip (floating window only; the window stays anchored bottom right) */
.dfc .dfc-rs{display:none}
.dfc[data-mode=float] .dfc-rs{display:block;position:absolute;left:0;bottom:0;z-index:30;width:18px;height:18px;cursor:nesw-resize;touch-action:none;border-bottom-left-radius:20px;
  background:repeating-linear-gradient(45deg,transparent 0 3px,#a99c8a 3px 4.5px);clip-path:polygon(0 0,100% 100%,0 100%);opacity:.85}
.dfc[data-mode=float] .dfc-rs:hover,.dfc.is-resizing .dfc-rs{opacity:1;background:repeating-linear-gradient(45deg,transparent 0 3px,var(--dfc-red) 3px 4.5px)}
.dfc[data-mode=float] .dfc-compose{padding-left:18px}
.dfc.is-resizing,.dfc.is-resizing *{user-select:none!important;-webkit-user-select:none!important}
.dfc.is-resizing .dfc-panel{transition:none!important}
.dfc .dfc-compose textarea{max-height:none}
