/* Kristine Hybrid Bridge v1.3.0 — CSS-only redesign, no page observers. */
/* Keep clear of the common Chaty floating button zone in the bottom right. */
#bm-kristine-root.bm-kristine {
  right: 18px;
  bottom: 110px;
  z-index: 2147479000;
}
#bm-kristine-root .bm-kristine__bubble {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 17px 8px 8px;
  min-height: 63px;
  max-width: calc(100vw - 36px);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  background: linear-gradient(120deg, #083a7d, #1673c9);
  color: white;
  box-shadow: 0 10px 30px rgba(9,37,76,.25);
  transition: box-shadow .2s ease, transform .2s ease;
}
#bm-kristine-root .bm-kristine__bubble:hover,
#bm-kristine-root .bm-kristine__bubble:focus-visible {
  box-shadow: 0 14px 35px rgba(9,37,76,.33);
  transform: translateY(-2px);
}
/* Existing K icon gets the bundled static portrait without changing DOM. */
#bm-kristine-root .bm-kristine__bubble > span:first-child {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  border-radius: 50%;
  background: #e4f2ff url('./kristine-portrait.jpg') center center/cover no-repeat;
  border: 2px solid rgba(255,255,255,.95);
  font-size: 0;
  overflow: hidden;
}
#bm-kristine-root .bm-kristine__bubble-text {
  display: block;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
#bm-kristine-root .bm-kristine__bubble-text small {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  opacity: .92;
}
#bm-kristine-root .bm-kristine__panel {
  right: 0;
  bottom: calc(100% + 12px);
  max-height: calc(100dvh - 220px);
  overflow: auto;
}
#bm-kristine-root .bm-kristine__links .bm-kristine-medical-handoff {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
  background: #eaf4ff;
  border: 1px solid #b5d7fa;
  border-radius: 10px;
  color: #084b95;
  font: inherit;
}
#bm-kristine-root .bm-kristine-medical-handoff img {
  width: 40px; height: 40px;
  flex: 0 0 40px; object-fit: cover;
  border-radius: 50%;
}
#bm-kristine-root .bm-kristine-medical-handoff strong,
#bm-kristine-root .bm-kristine-medical-handoff small {
  display: block;
  line-height: 1.35;
}
#bm-kristine-root .bm-kristine-medical-handoff strong { font-size: 13px; }
#bm-kristine-root .bm-kristine-medical-handoff small { font-size: 11px; color: #3e6694; }
@media(max-width:480px){
  #bm-kristine-root.bm-kristine { right: 12px; bottom: 92px; }
  #bm-kristine-root .bm-kristine__panel { width: min(390px,calc(100vw - 24px)); max-height: calc(100dvh - 192px); }
}
@media(prefers-reduced-motion:reduce){
  #bm-kristine-root .bm-kristine__bubble { transition: none; }
  #bm-kristine-root .bm-kristine__bubble:hover { transform: none; }
}
