.sidebar .ab-launcher{width:100%;text-align:left;border:0;cursor:pointer;background:rgba(139,92,246,.17);margin-bottom:6px}.sidebar .ab-launcher:hover{background:rgba(139,92,246,.3)}.ab-launcher .sidebar-icon{color:#c4b5fd}.ab-launcher-beta{font-size:8px;letter-spacing:.06em;border:1px solid currentColor;border-radius:4px;padding:2px 4px;margin-left:5px;opacity:.8}
#assistant-beta-dialog{padding:0;border:1px solid #e2e8f0;border-radius:20px;width:min(1120px,calc(100vw - 40px));max-width:none;height:min(880px,calc(100dvh - 48px));max-height:none;margin:auto;background:#f6f7fb;color:#172033;box-shadow:0 28px 90px #0f172a55;overflow:hidden}#assistant-beta-dialog[open]{display:flex;flex-direction:column}#assistant-beta-dialog::backdrop{background:#0f172a80;backdrop-filter:blur(3px)}
.ab-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #e4e7ec;background:white;flex-shrink:0}.ab-dialog-heading{display:flex;align-items:center;gap:12px}.ab-dialog-star{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:#ede9fe;color:#7c3aed;font-size:28px}.ab-dialog-heading h2{font-size:16px;font-weight:650;margin:0;line-height:1.5}.ab-dialog-heading small{font-size:9px;color:#6d28d9;background:#ede9fe;padding:3px 5px;border-radius:4px;margin-left:6px;vertical-align:middle}.ab-dialog-heading p{font-size:12px;color:#667085;margin:2px 0 0}.ab-dialog-controls{display:flex;gap:6px}.ab-dialog-controls a,.ab-dialog-controls button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;color:#475569;background:transparent;border:0;border-radius:8px;cursor:pointer;font-size:24px;text-decoration:none}.ab-dialog-controls a:hover,.ab-dialog-controls button:hover{background:#f1f5f9}.ab-dialog-controls :focus-visible{outline:2px solid #7c3aed;outline-offset:2px}.ab-dialog-body{position:relative;flex:1;min-height:0}.ab-dialog-body iframe{width:100%;height:100%;border:0;display:block}.ab-dialog-body [hidden]{display:none!important}#ab-dialog-loading{padding:32px;text-align:center;font-size:14px;color:#667085}.dark #assistant-beta-dialog{border-color:#334155;background:#111827;color:#edf0f7}.dark .ab-dialog-bar{background:#172033;border-color:#334155}.dark .ab-dialog-controls a,.dark .ab-dialog-controls button{color:#cbd5e1}.dark .ab-dialog-controls a:hover,.dark .ab-dialog-controls button:hover{background:#334155}.dark .ab-dialog-heading p{color:#a5adc0}
@media(max-width:640px){#assistant-beta-dialog{width:100%;height:100dvh;border:0;border-radius:0}.ab-dialog-bar{padding:12px;gap:8px}.ab-dialog-heading{gap:8px}.ab-dialog-heading h2{font-size:14px}.ab-dialog-heading p{font-size:10px}.ab-dialog-star{width:32px;height:32px;font-size:24px}.ab-dialog-controls{gap:2px}.ab-dialog-controls a,.ab-dialog-controls button{width:32px;height:32px}}

#assistant-beta-dialog .ab-icon{width:19px;height:19px;flex-shrink:0;stroke-width:1.8}
#assistant-beta-dialog .ab-dialog-star .ab-icon{width:24px;height:24px}

#assistant-beta-dialog{width:min(880px,calc(100vw - 48px));height:min(820px,calc(100dvh - 48px));background:#fff;border-color:#e9e9ec;border-radius:24px}
.ab-dialog-bar{padding:14px 20px;border-color:#f0f0f2}.ab-dialog-heading p{display:none}.ab-dialog-star{background:transparent;color:#8b5cf6;width:30px;height:30px}.ab-dialog-heading{gap:10px}.ab-dialog-heading h2{font-size:14px}.ab-dialog-heading small{background:#f5f3ff;color:#8b7baa;font-size:8px;letter-spacing:.5px}
.ab-floating-launcher{position:fixed;right:20px;bottom:20px;z-index:10030;width:56px;height:56px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;cursor:pointer;isolation:isolate;padding:3px;box-shadow:0 4px 20px #7c3aed20}
.ab-floating-launcher::before,.ab-floating-launcher::after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(#22c55e,#06b6d4,#6366f1,#d946ef,#f59e0b,#22c55e);animation:ab-orbit 3.2s linear infinite;z-index:-1}.ab-floating-launcher::after{filter:blur(7px);opacity:.5}
.ab-floating-launcher>span{width:100%;height:100%;border-radius:50%;display:grid;place-items:center;background:#fff;color:#8b5cf6}.ab-floating-launcher:hover::after{opacity:.85}.ab-floating-launcher:hover>span{background:#faf7ff}.ab-floating-launcher:focus-visible{outline:3px solid #8b5cf6;outline-offset:5px}
.dark .ab-floating-launcher>span{background:#25262b;color:#c4b5fd}.dark #assistant-beta-dialog,.dark .ab-dialog-bar{background:#1c1d21;border-color:#35363e}.dark .ab-dialog-heading small{background:#302c3a;color:#c4b5fd}
@keyframes ab-orbit{to{transform:rotate(360deg)}}
@media(max-width:640px){#assistant-beta-dialog{width:100%;height:100dvh;border-radius:0;border:0}.ab-floating-launcher{right:16px;bottom:calc(88px + env(safe-area-inset-bottom,0px));width:52px;height:52px}.ab-dialog-bar{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){.ab-floating-launcher::before,.ab-floating-launcher::after{animation:none}}

#assistant-beta-dialog.ab-dialog-contextual{position:fixed;inset:12px 12px 12px auto;margin:0;width:min(460px,calc(100vw - 24px));height:calc(100dvh - 24px);z-index:10050;box-shadow:0 12px 48px #0f172a24}
@media(max-width:640px){#assistant-beta-dialog.ab-dialog-contextual{inset:0;width:100%;height:100dvh;border-radius:0}}

/* Match the assistant composer and launcher color rim. */
@property --ab-dialog-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
#assistant-beta-dialog{
  --ab-dialog-surface:#fff;
  box-sizing:border-box;
  border:3px solid transparent;
  background:linear-gradient(var(--ab-dialog-surface),var(--ab-dialog-surface)) padding-box,conic-gradient(from var(--ab-dialog-angle),#22c55e,#06b6d4,#6366f1,#d946ef,#f59e0b,#22c55e) border-box;
}
#assistant-beta-dialog[open]{animation:ab-dialog-flow 8s linear infinite}
.dark #assistant-beta-dialog{
  --ab-dialog-surface:#1c1d21;
  border-color:transparent;
  background:linear-gradient(var(--ab-dialog-surface),var(--ab-dialog-surface)) padding-box,conic-gradient(from var(--ab-dialog-angle),#22c55e,#06b6d4,#6366f1,#d946ef,#f59e0b,#22c55e) border-box;
}
@keyframes ab-dialog-flow{to{--ab-dialog-angle:360deg}}
@media(prefers-reduced-motion:reduce){#assistant-beta-dialog[open]{animation:none}}
@media(forced-colors:active){#assistant-beta-dialog,.dark #assistant-beta-dialog{background:Canvas;border-color:ButtonText}}

/* O atendimento do Kanban deve ficar livre do botao flutuante global. */
body.kanban-inbox-modal-open .ab-floating-launcher{display:none}
