/* Realtor007.ai REPAIR-08 — AI Professor / AI chat launcher visual normalization.
   Visual layer only: preserve launcher position, panel geometry, markup, identity, and runtime. */
#chat-fab,
#profFab,
#r007ChatFab,
#r007UapFab,
#uapFab {
  box-sizing: border-box !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  padding: 0 !important;
  border: 2px solid #D4A017 !important;
  border-radius: 50% !important;
  background-color: #0B172A !important;
  background-image: none !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.40), 0 0 0 2px rgba(212,160,23,.14) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* The legacy family may still carry a Roland-avatar img in markup.
   Keep runtime identity untouched while presenting the approved 007 Professor emblem. */
#chat-fab {
  background-image: url('/images/ai-professor-007.webp') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
#chat-fab > img,
#r007ChatFab > img,
#r007UapFab > img,
#uapFab > img,
#profFab .av img {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  display: block !important;
}
#chat-fab > img[src*="roland-fab-avatar.webp"] {
  opacity: 0 !important;
}
#profFab .av {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  overflow: hidden !important;
}
#profFab .fab-txt,
#chat-fab .fab-badge {
  display: none !important;
}

#chat-fab:focus-visible,
#profFab:focus-visible,
#r007ChatFab:focus-visible,
#r007UapFab:focus-visible,
#uapFab:focus-visible {
  outline: 3px solid #F5F0EB !important;
  outline-offset: 3px !important;
}

@media (hover:hover) {
  #chat-fab:hover,
  #profFab:hover,
  #r007ChatFab:hover,
  #r007UapFab:hover,
  #uapFab:hover {
    filter: brightness(1.08) !important;
  }
}
