.gbbc { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: 'Open Sans', system-ui, sans-serif; }
.gbbc-panel, .gbbc-panel * { box-sizing: border-box; }
.gbbc-fab { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #4fc3e8 0%, #7a3fc9 100%); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(122, 63, 201, .6); transition: transform .15s ease; }
.gbbc-fab:hover { transform: translateY(-2px); }
.gbbc-fab::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #4fc3e8; border: 2px solid #fff; }
.gbbc-fab[aria-expanded="true"]::after { display: none; }
.gbbc-fab:focus-visible, .gbbc button:focus-visible, .gbbc input:focus-visible { outline: 2px solid #7a3fc9; outline-offset: 2px; }
.gbbc-panel { position: absolute; right: 0; bottom: 72px; width: min(370px, calc(100vw - 28px)); height: min(560px, calc(100vh - 120px)); background: #fff; color: #191333; border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(25, 19, 51, .45); border: 1px solid #dde1ea; display: flex; flex-direction: column; overflow: hidden; margin: 0; padding: 0; }
.gbbc-panel[hidden] { display: none; }
.gbbc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin: 0; background: #191333; color: #fff; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, #4fc3e8, #7a3fc9) 1; }
.gbbc-logo { width: 34px; height: 34px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; flex: none; }
.gbbc-head > div { flex: 1; min-width: 0; }
.gbbc-head strong { display: block; font-family: 'Montserrat', system-ui, sans-serif; font-size: .95rem; font-weight: 700; }
.gbbc-head span { display: block; font-size: .72rem; color: #b9b3d6; }
.gbbc-x { background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; display: flex; }
.gbbc-log { flex: 1; overflow-y: auto; padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 10px; background: #eef1f6; }
.gbbc-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.gbbc-assistant { align-self: flex-start; background: #fff; border: 1px solid #dde1ea; border-bottom-left-radius: 4px; }
.gbbc-user { align-self: flex-end; background: linear-gradient(135deg, #5a3fb0 0%, #7a3fc9 100%); color: #fff; border-bottom-right-radius: 4px; }
.gbbc-msg a { color: inherit; text-decoration: underline; }
.gbbc-assistant a { color: #7a3fc9; }
.gbbc-wait { color: #5a5570; letter-spacing: 2px; }
.gbbc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #eef1f6; }
.gbbc-chips:empty { display: none; }
.gbbc-chips button { border: 1px solid #cfc6ec; background: #fff; color: #191333; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: .8rem; cursor: pointer; }
.gbbc-chips button:hover { border-color: #7a3fc9; color: #7a3fc9; }
.gbbc-form { display: flex; gap: 8px; padding: 10px 12px; margin: 0; border-top: 1px solid #dde1ea; background: #fff; }
.gbbc-form input { flex: 1; min-width: 0; border: 1px solid #dde1ea; border-radius: 10px; padding: 9px 11px; font: inherit; font-size: .9rem; color: #191333; background: #fff; }
.gbbc-form button { width: 40px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #4fc3e8 0%, #7a3fc9 100%); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gbbc-foot { margin: 0; padding: 6px 12px 10px; font-size: .7rem; color: #5a5570; background: #fff; }
.gbbc-foot a { color: #7a3fc9; }
.gbbc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 520px) { .gbbc { right: 14px; bottom: 14px; } }
