.bdp-ai {
--bdp-blue: #0b5cff;
--bdp-ink: #182235;
--bdp-muted: #71819a;
--bdp-line: #e2e9f3;
--bdp-soft: #f7faff;
--bdp-user: #eaf2ff;
}
.bdp-ai [hidden] { display: none !important; }
.bdp-ai .screen-reader-text,
.bdp-ai__launcher > .screen-reader-text {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
clip-path: inset(50%) !important;
white-space: nowrap !important;
border: 0 !important;
word-wrap: normal !important;
}
.bdp-ai {
position: fixed;
left: var(--bda-vv-left, 0px);
top: var(--bda-vv-top, 0px);
width: var(--bda-vv-width, 100vw);
height: var(--bda-vv-height, 100dvh);
box-sizing: border-box;
z-index: 99999;
color: var(--bdp-ink);
font-family: inherit;
pointer-events: none;
}
.bdp-ai > * { pointer-events: auto; }
.bdp-ai__teaser {
position: absolute;
right: 8px;
bottom: 82px;
display: flex;
align-items: flex-start;
gap: 8px;
width: min(270px, calc(var(--bda-vv-width, 100vw) - 24px));
box-sizing: border-box;
padding: 12px 12px 12px 14px;
border: 1px solid var(--bdp-line);
border-radius: 14px;
background: #fff;
box-shadow: 0 12px 28px rgba(24, 50, 86, .14);
font-size: 13px;
line-height: 1.45;
animation: bdp-ai-teaser-in 220ms ease-out both;
}
.bdp-ai__teaser button {
flex: 0 0 auto;
min-width: 40px;
min-height: 40px;
margin: -8px -8px 0 0;
padding: 8px;
border: 0;
background: transparent;
color: #8491a5;
font-size: 18px;
line-height: 1;
cursor: pointer;
}
.bdp-ai__launcher {
position: absolute;
right: max(8px, env(safe-area-inset-right));
bottom: max(8px, env(safe-area-inset-bottom));
display: grid;
place-items: center;
width: 64px;
height: 64px;
box-sizing: border-box;
padding: 2px;
border: 3px solid var(--bdp-blue);
border-radius: 50%;
background: #fff;
box-shadow: 0 12px 30px rgba(11, 92, 255, .2);
overflow: hidden;
isolation: isolate;
line-height: 0;
font-size: 0;
cursor: pointer;
}
.bdp-ai__launcher:hover,
.bdp-ai__launcher:focus-visible { background: #f3f7ff; border-color: #0848c7; }
.bdp-ai__launcher:focus-visible,
.bdp-ai__close:focus-visible,
.bdp-ai__product:focus-visible,
.bdp-ai__quick-options button:focus-visible,
.bdp-ai__form > button:focus-visible { outline: 2px solid #0b5cff; outline-offset: 2px; }
.bdp-ai button,
.bdp-ai textarea { touch-action: manipulation; }
.bdp-ai__launcher-mark,
.bdp-ai__avatar { display: block; overflow: hidden; border-radius: 50%; }
.bdp-ai__launcher-mark { position: relative; width: 100%; height: 100%; box-sizing: border-box; overflow: hidden; isolation: isolate; }
.bdp-ai__avatar { position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate; background: #eef5ff; }
.bdp-ai__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bdp-ai__launcher-mark .bdp-ai__avatar { width: 100%; height: 100%; }
.bdp-ai__avatar--header { width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; border: 2px solid #e2ecfb; }
.bdp-ai__panel {
position: absolute;
top: var(--bda-panel-top, 8px);
right: 8px;
display: flex;
flex-direction: column;
width: min(420px, calc(var(--bda-vv-width, 100vw) - 16px));
height: var(--bda-panel-height, min(760px, calc(var(--bda-vv-height, 100dvh) - 16px)));
max-height: var(--bda-panel-height, calc(var(--bda-vv-height, 100dvh) - 16px));
box-sizing: border-box;
overflow: hidden;
border: 0;
border-radius: 18px;
background: #fff;
box-shadow: 0 18px 54px rgba(23, 35, 55, .16);
overscroll-behavior: contain;
-webkit-font-smoothing: antialiased;
}
.bdp-ai__panel[hidden] { display: none !important; }
.bdp-ai__header { display: flex; align-items: center; gap: 10px; min-height: 62px; flex: 0 0 auto; padding: 10px 14px; border-bottom: 1px solid #edf1f6; background: #fff; }
.bdp-ai__header > div { min-width: 0; flex: 1; }
.bdp-ai__header strong, .bdp-ai__header small { display: block; }
.bdp-ai__header strong { font-size: 15px; }
.bdp-ai__header small { margin-top: 3px; color: #8b96a7; font-size: 12px; }
.bdp-ai__close { min-width: 40px; min-height: 40px; margin-left: auto; padding: 8px; border: 0; background: transparent; color: var(--bdp-ink); font-size: 26px; line-height: 1; cursor: pointer; }
.bdp-ai__close:hover { color: var(--bdp-blue); }
.bdp-ai__messages { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 16px 16px 12px; background: #fff; scroll-behavior: smooth; }
.bdp-ai__message { display: block; width: fit-content; max-width: 86%; margin: 0 0 12px; padding: 2px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #26364f; font-size: 14px; line-height: 1.58; overflow-wrap: anywhere; white-space: pre-wrap; }
.bdp-ai__message::before { display: none; content: none; }
.bdp-ai__message--assistant { margin-right: auto; }
.bdp-ai__message--assistant:not(.bdp-ai__welcome) { padding-right: 8px; }
.bdp-ai__message--user { max-width: 82%; margin-left: auto; padding: 8px 11px; border-radius: 12px 12px 4px 12px; background: var(--bdp-user); color: #183f86; }
.bdp-ai__welcome { max-width: 86%; padding: 2px 0 8px; }
.bdp-ai__bullet { display: inline-block; width: 18px; color: var(--bdp-blue); font-weight: 800; }
.bdp-ai__body { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.bdp-ai__message > div + div { margin-top: 4px; } .bdp-ai__quick { display: flex; flex-direction: column; flex: 0 0 auto; gap: 4px; box-sizing: border-box; max-height: none; overflow: visible; overflow-x: hidden; padding: 5px 8px 3px; border-top: 1px solid #edf1f6; background: #fff; white-space: normal; width: calc(100% - 1px); }
.bdp-ai__quick-section { border: 1px solid #dce6f5; border-radius: 10px; background: #fff; overflow: hidden; overflow-x: hidden; }
.bdp-ai__quick-section + .bdp-ai__quick-section { margin-top: 2px; }
.bdp-ai__quick-toggle { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; min-height: 34px; cursor: pointer; color: #2b4668; background: #f6f9ff; }
.bdp-ai__quick-toggle:hover,
.bdp-ai__quick-toggle:focus-visible,
#bdp-ai-consultant .bdp-ai__quick-toggle:hover,
#bdp-ai-consultant .bdp-ai__quick-toggle:focus-visible { background: #ebf2ff !important; color: #163e76 !important; border-color: #9ebcff !important; }
.bdp-ai__quick-toggle:focus-visible { outline: 2px solid #9bb9ff; outline-offset: -2px; }
.bdp-ai__quick-toggle-text { font-size: 12px; font-weight: 700; letter-spacing: -0.1px; }
.bdp-ai__quick-toggle:hover .bdp-ai__quick-toggle-text,
.bdp-ai__quick-toggle:hover .bdp-ai__quick-arrow,
.bdp-ai__quick-toggle:focus-visible .bdp-ai__quick-toggle-text,
.bdp-ai__quick-toggle:focus-visible .bdp-ai__quick-arrow,
#bdp-ai-consultant .bdp-ai__quick-toggle:hover .bdp-ai__quick-toggle-text,
#bdp-ai-consultant .bdp-ai__quick-toggle:hover .bdp-ai__quick-arrow,
#bdp-ai-consultant .bdp-ai__quick-toggle:focus-visible .bdp-ai__quick-toggle-text,
#bdp-ai-consultant .bdp-ai__quick-toggle:focus-visible .bdp-ai__quick-arrow { color: #163e76 !important; }
#bdp-ai-consultant .bdp-ai__product:hover,
#bdp-ai-consultant .bdp-ai__product:hover *,
#bdp-ai-consultant .bdp-ai__quick-options button:hover,
#bdp-ai-consultant .bdp-ai__quick-options button:hover * { color: #163e76 !important; }
.bdp-ai__quick-arrow { margin-left: auto; color: #6f84a5; font-size: 16px; transition: transform 220ms ease; transform-origin: center; }
.bdp-ai__quick-section.is-open .bdp-ai__quick-arrow { transform: rotate(180deg); }
.bdp-ai__quick-body { padding: 4px 6px 5px; }
.bdp-ai__quick-title { margin: 0 0 4px; color: var(--bdp-muted); font-size: 12px; font-weight: 700; line-height: 1.35; display: none; }
.bdp-ai__product-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px; min-width: 0; }
.bdp-ai__product-group { display: grid; width: 100%; gap: 4px; min-width: 0; }
.bdp-ai__product-group > strong { color: #3d5b8d; font-size: 12px; line-height: 1.3; margin: 0; }
.bdp-ai__product-options { display: flex; flex-wrap: wrap; gap: 4px; }
.bdp-ai__product,
.bdp-ai__quick-options button { display: inline-flex; width: fit-content; max-width: 100%; min-width: 0; flex: 0 0 auto; padding: 6px 8px; min-height: 36px; border: 1px solid #d6e2f4; border-radius: 10px; background: #f6f8ff; box-shadow: none; color: #21498f; font: inherit; font-size: 12px; line-height: 1.45; text-align: left; cursor: pointer; white-space: normal; }
.bdp-ai__product:hover,
.bdp-ai__quick-options button:hover,
#bdp-ai-consultant .bdp-ai__product:hover,
#bdp-ai-consultant .bdp-ai__quick-options button:hover { background: #eaf1ff !important; color: #163e76 !important; border-color: #9ebcff !important; }
.bdp-ai__product.is-selected { background: #0b5cff; border-color: #0b5cff; color: #fff; box-shadow: 0 2px 7px rgba(11, 92, 255, .22); }
.bdp-ai__product:focus-visible,
.bdp-ai__quick-options button:focus-visible,
#bdp-ai-consultant .bdp-ai__product:focus-visible,
#bdp-ai-consultant .bdp-ai__quick-options button:focus-visible { outline: 2px solid #9bb9ff; outline-offset: 1px; color: #163e76 !important; }
.bdp-ai__quick-options { display: flex; flex-wrap: wrap; width: 100%; gap: 4px 6px; align-items: stretch; }
.bdp-ai__input-notice { flex: 0 0 auto; margin: 0; padding: 6px 12px; color: #475569; background: #f8fafc; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.bdp-ai__form { display: flex; align-items: flex-end; gap: 8px; flex: 0 0 auto; box-sizing: border-box; padding: 9px 12px 11px; border-top: 1px solid #edf1f6; background: #fff; }
.bdp-ai__form textarea { flex: 1; min-width: 0; min-height: 78px; max-height: 138px; resize: none; overflow-y: auto; box-sizing: border-box; padding: 10px 11px; border: 1px solid #c9d9ee; border-radius: 10px; background: #fff; color: #172b4d; caret-color: var(--bdp-blue); font: inherit; font-size: 14px; line-height: 1.4; }
.bdp-ai__form textarea::placeholder { color: #7f8fa5; opacity: 1; }
.bdp-ai__form textarea:focus { border-color: #8fb5ff; outline: 2px solid #dbe8ff; outline-offset: 1px; }
.bdp-ai__form > button { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; padding: 0; border: 1px solid #0848c7; border-radius: 10px; background: #0b5cff; color: #fff; box-shadow: none; cursor: pointer; line-height: 1; }
.bdp-ai__form > button:hover { background: #063fae; }
.bdp-ai__form > button:disabled { opacity: .65; cursor: wait; }
.bdp-ai__form > button svg { display: block; width: 22px; height: 22px; overflow: visible; color: #fff; }
.bdp-ai__form > button svg path { fill: none !important; stroke: currentColor !important; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bdp-ai-teaser-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
.bdp-ai {
left: 0 !important;
top: 0 !important;
width: 100vw !important;
height: 100dvh;
max-height: 100dvh;
max-width: 100vw;
overflow: hidden;
overflow-x: hidden;
box-sizing: border-box;
padding: 0;
border: 0;
}
.bdp-ai__launcher {
width: 58px;
height: 58px;
line-height: 0;
font-size: 0;
}
.bdp-ai__panel {
position: fixed !important;
inset: 0;
width: 100vw !important;
height: 100dvh;
max-height: 100dvh;
box-sizing: border-box;
overflow: hidden;
border-radius: 0;
background: #fff;
display: flex !important;
flex-direction: column !important;
overscroll-behavior: contain;
padding-bottom: env(safe-area-inset-bottom);
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
min-height: 0;
}
.bdp-ai__header {
flex: 0 0 auto;
min-height: 56px;
padding: 10px;
box-sizing: border-box;
}
.bdp-ai__close {
min-width: 44px;
min-height: 44px;
}
.bdp-ai__avatar--header {
width: 40px;
height: 40px;
flex: 0 0 40px;
}
.bdp-ai__messages {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
padding: 12px 10px;
scroll-behavior: smooth;
scroll-padding-top: 12px;
overscroll-behavior: contain;
box-sizing: border-box;
}
.bdp-ai__message {
max-width: 90%;
word-break: break-word;
overflow-wrap: anywhere;
}
.bdp-ai__body {
min-width: 0;
word-break: break-word;
overflow-wrap: anywhere;
hyphens: auto;
}
.bdp-ai__quick {
display: flex;
flex-direction: column;
flex: 0 0 auto;
min-height: 0;
width: 100%;
gap: 3px;
padding: 4px 0 3px;
border-top: 1px solid #edf1f6;
overflow: hidden;
overflow-x: hidden;
box-sizing: border-box;
align-items: stretch;
flex-wrap: wrap;
}
.bdp-ai__quick-section {
width: 100%;
box-sizing: border-box;
border-radius: 10px;
}
.bdp-ai__quick-section + .bdp-ai__quick-section {
margin-top: 2px;
}
.bdp-ai__quick-toggle {
min-height: 40px;
padding: 8px 10px;
}
.bdp-ai__quick-toggle-text {
font-size: 13px;
}
.bdp-ai__quick-body {
padding: 4px 10px 5px;
}
.bdp-ai__product-grid {
width: 100%;
gap: 4px;
align-items: flex-start;
min-width: 0;
}
.bdp-ai__product-group {
width: 100%;
gap: 6px 8px;
min-width: 0;
}
.bdp-ai__product {
width: fit-content;
min-height: 44px;
padding: 9px 10px;
border: 1px solid #d8e6ff;
border-radius: 11px;
background: #f5f8ff;
white-space: normal;
box-sizing: border-box;
}
.bdp-ai__quick-title {
flex: 0 0 100%;
font-size: 14px;
line-height: 1.35;
margin: 0 0 4px;
padding: 0 0 4px;
border-bottom: 1px solid rgba(35, 91, 150, .24);
color: var(--bdp-muted);
}
.bdp-ai__product-group > strong,
.bdp-ai__product,
.bdp-ai__quick-options button {
font-size: 13px;
}
.bdp-ai__quick-options {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 4px 6px;
min-width: 0;
align-items: stretch;
}
.bdp-ai__quick-options button {
width: fit-content;
max-width: 100%;
min-height: 44px;
padding: 9px 10px;
border: 1px solid #d8e6ff;
border-radius: 11px;
background: #f7f9ff;
box-sizing: border-box;
text-align: left;
white-space: normal;
}
.bdp-ai__form {
flex: 0 0 auto;
flex-shrink: 0;
position: relative;
bottom: auto;
transform: none;
align-items: flex-end;
gap: 8px;
padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
border-top: 1px solid #edf1f6;
box-sizing: border-box;
width: 100%;
}
.bdp-ai__form textarea {
min-height: 44px;
max-height: 110px;
width: 100%;
max-width: 100%;
font-size: 15px;
line-height: 1.45;
min-width: 0;
background: #fff;
}
.bdp-ai__form > button {
flex: 0 0 44px;
width: 44px;
min-width: 44px;
height: 44px;
border-radius: 10px;
box-sizing: border-box;
}
.bdp-ai__header strong {
font-size: 17px;
}
.bdp-ai__message {
font-size: 15px;
}
.bdp-ai__form textarea {
font-size: 15px;
line-height: 1.5;
}
}
@media (prefers-reduced-motion: reduce) {
.bdp-ai__teaser { animation: none; }
.bdp-ai__launcher { animation: none !important; }
.bdp-ai__avatar { animation: none !important; }
} .bdp-ai__quick-toggle {
min-height: 36px;
padding: 2px 6px 2px 8px;
}
.bdp-ai__quick-arrow {
display: grid;
place-items: center;
flex: 0 0 36px;
width: 36px;
height: 36px;
padding: 0;
font-size: 30px;
line-height: 1;
}
@media (max-width: 480px) {
.bdp-ai__quick-toggle {
min-height: 44px;
padding: 2px 6px 2px 8px;
}
.bdp-ai__quick-arrow {
flex-basis: 44px;
width: 44px;
height: 44px;
font-size: 30px;
}
} .bdp-ai__avatar,
.bdp-ai__avatar-body,
.bdp-ai__avatar-core,
.bdp-ai__launcher-mark {
box-sizing: border-box;
overflow: hidden !important;
border-radius: 50%;
}
.bdp-ai__avatar {
position: relative;
display: block;
transform-origin: 50% 82%;
}
.bdp-ai__launcher-mark {
transform-origin: 50% 50%;
animation: bdp-ai-ring-pulse 1.6s ease-out 1 both;
}
.bdp-ai__avatar-body,
.bdp-ai__avatar-core {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.bdp-ai__avatar-body {
z-index: 1;
background: #eef5ff;
transform-origin: 50% 82%;
}
.bdp-ai__avatar-core {
z-index: 2;
isolation: isolate;
}
.bdp-ai__avatar-core > img {
display: block !important;
width: 100% !important;
height: 100% !important;
max-width: none !important;
max-height: none !important;
object-fit: contain !important;
object-position: 50% 50% !important;
opacity: 1 !important;
visibility: visible !important;
transform: scale(.94) translateZ(0) !important;
transform-origin: 50% 50% !important;
}
.bdp-ai__avatar-arm,
.bdp-ai__avatar-mouth {
display: none !important;
}
.bdp-ai__panel.is-open .bdp-ai__avatar-body {
animation: bdp-avatar-conversation 2.8s cubic-bezier(.42,0,.58,1) infinite;
}
.bdp-ai__panel.is-open.is-busy .bdp-ai__avatar-body {
animation: bdp-avatar-conversation-active 1.25s ease-in-out infinite;
}
.bdp-ai__launcher[aria-expanded='true'] .bdp-ai__avatar--launcher {
animation: bdp-avatar-greeting 1s cubic-bezier(.22,.74,.34,1) both;
}
@keyframes bdp-ai-ring-pulse {
0% { transform: scale(1); box-shadow: 0 12px 30px rgba(11,92,255,.20); }
48% { transform: scale(1.025); box-shadow: 0 14px 34px rgba(11,92,255,.28); }
100% { transform: scale(1); box-shadow: 0 12px 30px rgba(11,92,255,.20); }
}
@keyframes bdp-avatar-conversation {
0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
24% { transform: translate3d(1px,-1.5px,0) rotate(1.8deg); }
52% { transform: translate3d(-1px,.5px,0) rotate(-1.6deg); }
76% { transform: translate3d(.8px,-.8px,0) rotate(1.2deg); }
}
@keyframes bdp-avatar-conversation-active {
0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
28% { transform: translate3d(1.5px,-1.8px,0) rotate(2.3deg); }
58% { transform: translate3d(-1.5px,.7px,0) rotate(-2.1deg); }
82% { transform: translate3d(1px,-1px,0) rotate(1.6deg); }
}
@keyframes bdp-avatar-greeting {
0% { transform: translate3d(0,5px,0) rotate(-1.5deg); }
38% { transform: translate3d(-1px,-1.5px,0) rotate(2deg); }
68% { transform: translate3d(1px,0,0) rotate(-1deg); }
100% { transform: translate3d(0,0,0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
.bdp-ai__launcher-mark,
.bdp-ai__panel.is-open .bdp-ai__avatar-body,
.bdp-ai__panel.is-open.is-busy .bdp-ai__avatar-body,
.bdp-ai__launcher[aria-expanded='true'] .bdp-ai__avatar--launcher {
animation: none !important;
transform: none !important;
}
} .bdp-ai__quick-context-note{margin:0 0 8px;padding:0 2px;color:#64748b;font-size:11px;line-height:1.45;font-weight:600} @media (max-width: 480px) {
html.bdp-ai-online-quote-page #bdp-ai-consultant.bdp-ai > .bdp-ai__teaser,
body.bdp-ai-online-quote-page #bdp-ai-consultant.bdp-ai > .bdp-ai__teaser {
top: auto !important;
right: 8px !important;
bottom: 82px !important;
left: auto !important;
transform: none !important;
z-index: 3 !important;
}
html.bdp-ai-online-quote-page #bdp-ai-consultant.bdp-ai > .bdp-ai__teaser > button,
body.bdp-ai-online-quote-page #bdp-ai-consultant.bdp-ai > .bdp-ai__teaser > button {
position: relative !important;
z-index: 4 !important;
}
html.bdp-ai-online-quote-page #bdp-ai-consultant.bdp-ai > .bdp-ai__launcher,
body.bdp-ai-online-quote-page #bdp-ai-consultant.bdp-ai > .bdp-ai__launcher {
top: auto !important;
right: max(8px, env(safe-area-inset-right)) !important;
bottom: max(8px, env(safe-area-inset-bottom)) !important;
left: auto !important;
margin: 0 !important;
transform: none !important;
z-index: 2 !important;
}
} @media (min-width: 481px) {
#bdp-ai-consultant.bdp-ai > .bdp-ai__teaser {
right: 24px !important;
}
#bdp-ai-consultant.bdp-ai > .bdp-ai__launcher {
right: max(24px, env(safe-area-inset-right)) !important;
}
}