/* Incubate360 v3: Feedy, the assistant bubble. Bottom right, on every signed-in screen. */

.fdy-launch{
  position:fixed;right:22px;bottom:22px;z-index:80;
  display:flex;align-items:center;gap:10px;height:54px;padding:0 20px 0 16px;
  border:0;border-radius:99px;cursor:pointer;font-family:inherit;font-size:14.5px;font-weight:650;
  color:#fff;background:linear-gradient(100deg,#6D28E8,#5B21E8 45%,#1E7BF0);
  box-shadow:0 10px 26px rgba(59,45,220,.34),0 2px 6px rgba(0,0,0,.14);
  transition:transform .16s cubic-bezier(.2,.8,.3,1),box-shadow .16s,padding .16s}
.fdy-launch:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(59,45,220,.42)}
.fdy-launch:focus-visible{outline:3px solid #fff;outline-offset:3px}
.fdy-launch svg{width:23px;height:23px;display:block}
.fdy-l-ic{display:flex}
.fdy-l-txt{white-space:nowrap}
.fdy-launch.on{padding:0;width:54px;justify-content:center}
.fdy-launch.on .fdy-l-txt{display:none}

.fdy-panel{
  position:fixed;right:22px;bottom:88px;z-index:80;width:402px;max-width:calc(100vw - 32px);
  height:min(640px,calc(100vh - 130px));display:flex;flex-direction:column;overflow:hidden;
  background:var(--card,#fff);border:1px solid var(--border,#E3E8F2);border-radius:20px;
  box-shadow:0 26px 70px rgba(11,27,63,.22),0 3px 10px rgba(11,27,63,.08);
  opacity:0;transform:translateY(14px) scale(.97);pointer-events:none;
  transition:opacity .18s,transform .18s cubic-bezier(.2,.8,.3,1)}
.fdy-panel.on{opacity:1;transform:none;pointer-events:auto}

.fdy-head{display:flex;align-items:center;gap:11px;padding:14px 12px 14px 16px;flex:none;
  color:#fff;background:linear-gradient(100deg,#231A56,#3A1E8C 55%,#1E4FBF)}
.fdy-h-ic{display:flex;width:32px;height:32px;flex:none;align-items:center;justify-content:center;
  border-radius:10px;background:rgba(255,255,255,.16)}
.fdy-h-ic svg{width:18px;height:18px}
.fdy-h-t{flex:1;min-width:0;line-height:1.25}
.fdy-h-t b{display:block;font-size:15px;font-weight:700}
.fdy-h-s{display:block;font-size:11.4px;color:#C3CEEA;margin-top:1px}
.fdy-h-b{background:none;border:0;cursor:pointer;color:#C3CEEA;padding:7px;border-radius:9px;display:flex}
.fdy-h-b:hover{background:rgba(255,255,255,.14);color:#fff}
.fdy-h-b svg{width:16px;height:16px}

.fdy-log{flex:1;overflow-y:auto;padding:16px 15px 6px;display:flex;flex-direction:column;gap:13px;
  background:var(--canvas,#F5F7FB)}
.fdy-msg{display:flex;gap:9px;align-items:flex-start;max-width:100%}
.fdy-msg.me{justify-content:flex-end}
.fdy-av{flex:none;width:27px;height:27px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(140deg,#7C3AED,#1E7BF0);color:#fff;margin-top:2px}
.fdy-av svg{width:15px;height:15px}
.fdy-b{max-width:86%;padding:11px 13px;border-radius:14px;font-size:13.4px;line-height:1.6;
  background:var(--card,#fff);border:1px solid var(--border,#E3E8F2);color:var(--ink,#0E1B33);
  box-shadow:0 1px 2px rgba(11,27,63,.04)}
.fdy-msg.me .fdy-b{background:linear-gradient(100deg,#5B21E8,#1E7BF0);color:#fff;border:0;
  border-bottom-right-radius:5px}
.fdy-msg.bot .fdy-b{border-bottom-left-radius:5px}
.fdy-b p{margin:0 0 7px}
.fdy-b p:last-child{margin-bottom:0}
.fdy-li{position:relative;padding-left:15px;margin:3px 0}
.fdy-li:before{content:"";position:absolute;left:3px;top:8px;width:5px;height:5px;border-radius:50%;
  background:var(--violet,#5B21E8)}

.fdy-steps{margin:9px 0 2px;padding-left:20px;font-size:13px;line-height:1.6;color:var(--ink-2,#3B4A66)}
.fdy-steps li{margin-bottom:4px}
.fdy-acts{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.fdy-act{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:9px;cursor:pointer;
  font-family:inherit;font-size:12.4px;font-weight:600;color:#fff;border:0;
  background:linear-gradient(100deg,#5B21E8,#1E7BF0)}
.fdy-act:hover{filter:brightness(1.07)}
.fdy-act svg{width:13px;height:13px}
.fdy-cites{margin-top:10px;padding-top:8px;border-top:1px solid var(--border-2,#EEF1F7);
  display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.fdy-c-l{font-size:10.8px;color:var(--muted,#68758C);text-transform:uppercase;letter-spacing:.5px}
.fdy-cite{font-size:11px;padding:2px 8px;border-radius:99px;background:var(--violet-soft,#F1ECFE);
  color:var(--violet,#5B21E8);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.fdy-typing{display:flex;gap:4px;align-items:center;padding:12px 14px;width:fit-content;
  background:var(--card,#fff);border:1px solid var(--border,#E3E8F2);border-radius:14px;border-bottom-left-radius:5px}
.fdy-typing i{width:6px;height:6px;border-radius:50%;background:var(--muted-2,#9AA6BC);display:block;
  animation:fdyb 1.1s infinite ease-in-out}
.fdy-typing i:nth-child(2){animation-delay:.16s}
.fdy-typing i:nth-child(3){animation-delay:.32s}
@keyframes fdyb{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

.fdy-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 15px 4px;flex:none;background:var(--canvas,#F5F7FB)}
.fdy-chip{padding:7px 12px;border-radius:99px;cursor:pointer;font-family:inherit;font-size:12.2px;
  font-weight:600;color:var(--violet,#5B21E8);background:var(--card,#fff);
  border:1px solid var(--violet-soft-2,#DCCFFA);text-align:left;line-height:1.35}
.fdy-chip:hover{background:var(--violet-soft,#F1ECFE)}

.fdy-foot{flex:none;padding:11px 13px 12px;background:var(--card,#fff);border-top:1px solid var(--border,#E3E8F2)}
.fdy-inwrap{display:flex;align-items:flex-end;gap:8px;border:1.5px solid var(--border,#E3E8F2);
  border-radius:13px;padding:6px 6px 6px 13px;background:var(--card,#fff);transition:border-color .15s,box-shadow .15s}
.fdy-inwrap:focus-within{border-color:var(--violet,#5B21E8);box-shadow:0 0 0 3.5px rgba(91,33,232,.11)}
.fdy-in{flex:1;border:0;outline:0;resize:none;font-family:inherit;font-size:13.6px;line-height:1.5;
  padding:8px 0;background:none;color:var(--ink,#0E1B33);max-height:120px}
.fdy-in::placeholder{color:var(--muted-2,#9AA6BC)}
.fdy-send{flex:none;width:38px;height:38px;border:0;border-radius:10px;cursor:pointer;display:flex;
  align-items:center;justify-content:center;color:#fff;
  background:linear-gradient(100deg,#5B21E8,#1E7BF0)}
.fdy-send:hover{filter:brightness(1.07)}
.fdy-send svg{width:17px;height:17px}
.fdy-note{font-size:10.8px;color:var(--muted,#68758C);text-align:center;margin-top:8px;line-height:1.45}

/* on a phone it is a sheet, not a floating card */
@media (max-width:620px){
  .fdy-panel{right:0;left:0;bottom:0;width:auto;max-width:none;height:min(86vh,640px);
    border-radius:20px 20px 0 0;border-bottom:0}
  .fdy-launch{right:16px;bottom:16px;height:50px;padding:0;width:50px;justify-content:center}
  .fdy-launch .fdy-l-txt{display:none}
}

/* keep the bubble clear of the accounts room's oversized action buttons */
@media (max-width:900px){ .fdy-launch{bottom:16px;right:16px} }

[data-theme="dark"] .fdy-panel{box-shadow:0 26px 70px rgba(0,0,0,.55)}
[data-theme="dark"] .fdy-chip{background:var(--card);border-color:var(--border)}
