.dba-root{--dba-accent:#185fa5;--dba-accent-text:#ffffff;--dba-bg:#ffffff;--dba-surface:#f4f5f7;--dba-text:#1f2328;--dba-muted:#5b6470;--dba-border:rgba(0,0,0,.12);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;}
.dba-launcher{position:fixed;right:20px;bottom:20px;z-index:99998;display:inline-flex;align-items:center;gap:9px;height:52px;padding:0 20px;border:0;border-radius:26px;background:var(--dba-accent);color:var(--dba-accent-text);font-size:15px;font-weight:500;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.18);}
.dba-launcher:hover{filter:brightness(.95);}
.dba-launcher svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.dba-panel{position:fixed;right:20px;bottom:20px;z-index:99999;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:var(--dba-bg);color:var(--dba-text);border:1px solid var(--dba-border);border-radius:16px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.22);}
.dba-hidden{display:none !important;}
.dba-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--dba-border);}
.dba-avatar{width:34px;height:34px;border-radius:50%;background:var(--dba-surface);display:flex;align-items:center;justify-content:center;color:var(--dba-accent);flex:0 0 auto;}
.dba-avatar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.dba-htext{flex:1;min-width:0;}
.dba-title{margin:0;font-size:15px;font-weight:500;line-height:1.2;}
.dba-sub{margin:0;font-size:12px;color:var(--dba-muted);line-height:1.3;}
.dba-close{border:0;background:transparent;color:var(--dba-muted);cursor:pointer;font-size:22px;line-height:1;padding:4px 6px;border-radius:8px;}
.dba-close:hover{background:var(--dba-surface);}
.dba-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;}
.dba-row{display:flex;}
.dba-row.dba-u{justify-content:flex-end;}
.dba-bub{max-width:84%;padding:9px 12px;font-size:14px;line-height:1.5;border-radius:14px;white-space:pre-wrap;word-wrap:break-word;}
.dba-b .dba-bub{background:var(--dba-surface);color:var(--dba-text);border-bottom-left-radius:4px;}
.dba-u .dba-bub{background:var(--dba-accent);color:var(--dba-accent-text);border-bottom-right-radius:4px;}
.dba-cta{display:flex;margin-top:10px;}
.dba-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:10px;background:var(--dba-accent);color:var(--dba-accent-text);font-size:14px;font-weight:500;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.12);}
.dba-cta-btn:hover{filter:brightness(.95);}
.dba-err .dba-bub{background:#fdf0ee;color:#8a2a1c;border:1px solid #f3c9c2;}
.dba-retry-wrap{display:flex;margin-top:8px;}
.dba-root .dba-retry{display:inline-flex;align-items:center;padding:7px 14px;border:1px solid var(--dba-border);border-radius:8px;background:var(--dba-bg);color:var(--dba-accent);font-size:13px;font-weight:500;cursor:pointer;}
.dba-root .dba-retry:hover{background:var(--dba-surface);}
.dba-contact{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.dba-contact a{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--dba-border);border-radius:8px;font-size:13px;color:var(--dba-accent);text-decoration:none;background:var(--dba-bg);}
.dba-contact a:hover{background:var(--dba-surface);}
.dba-chips{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px 12px;}
.dba-chips:empty{display:none;}
.dba-chips.dba-chips-off{display:none;}
.dba-chip{padding:6px 11px;border:1px solid var(--dba-border);border-radius:999px;background:var(--dba-bg);color:var(--dba-text);font-size:13px;cursor:pointer;}
.dba-chip:hover{background:var(--dba-surface);}
.dba-input{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--dba-border);}
.dba-input input{flex:1;height:38px;padding:0 12px;border:1px solid var(--dba-border);border-radius:10px;font-size:14px;color:var(--dba-text);background:var(--dba-bg);}
.dba-input input:focus{outline:2px solid var(--dba-accent);outline-offset:0;border-color:transparent;}
.dba-send{flex:0 0 auto;width:38px;height:38px;border:0;border-radius:10px;background:var(--dba-accent);color:var(--dba-accent-text);cursor:pointer;display:flex;align-items:center;justify-content:center;}
.dba-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.dba-typing{display:inline-flex;gap:4px;padding:11px 13px;}
.dba-typing span{width:7px;height:7px;border-radius:50%;background:var(--dba-muted);opacity:.5;animation:dba-bounce 1.2s infinite;}
.dba-typing span:nth-child(2){animation-delay:.2s;}
.dba-typing span:nth-child(3){animation-delay:.4s;}
@keyframes dba-bounce{0%,60%,100%{transform:translateY(0);opacity:.4;}30%{transform:translateY(-4px);opacity:.9;}}
@media (max-width:480px),(max-height:500px) and (pointer:coarse){.dba-root .dba-launcher{right:16px;bottom:16px;width:56px;height:56px;padding:0;gap:0;justify-content:center;border-radius:50% !important;}.dba-launcher svg{width:24px;height:24px;}.dba-launch-text{display:none;}.dba-panel{top:0;right:0;bottom:auto;left:0;width:auto;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;}.dba-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-6px -8px -6px 0;padding:0;font-size:30px;}.dba-input input{font-size:16px;}.dba-head,.dba-input{flex-shrink:0;}.dba-chips{min-height:0;overflow-y:auto;}}
@media (prefers-reduced-motion:reduce){.dba-typing span{animation:none;}}
