
.plh-aib-root{ position: fixed; z-index: 99999; }
.plh-aib-root[data-position="bottom-right"]{ right: 18px; bottom: 18px; }
.plh-aib-root[data-position="bottom-left"]{ left: 18px; bottom: 18px; }

.plh-aib-bubble{
  border: 0; padding: 0;
  width: 56px; height: 56px;
  border-radius: 999px;
  cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  color: inherit;
  position: relative;
  outline: none;
}
.plh-aib-bubble:hover{ transform: translateY(-1px); }
.plh-aib-bubble:active{ transform: translateY(0px); }

.plh-aib-bubble-text{ font-weight: 800; font-size: 14px; opacity: 0.95; }
.plh-aib-bubble-img{ width: 34px; height: 34px; object-fit: cover; border-radius: 999px; }

.plh-aib-bubble-dot{
  position:absolute; width:10px; height:10px;
  border-radius:999px; top:10px; right:10px;
  background: rgba(0,200,120,0.9);
  box-shadow: 0 0 0 0 rgba(0,200,120,0.55);
}
.plh-aib-root[data-pulse="1"] .plh-aib-bubble-dot{ animation: plhAibPulse 2.6s ease-in-out infinite; }
@keyframes plhAibPulse{ 0%{ box-shadow:0 0 0 0 rgba(0,200,120,0.55);} 60%{ box-shadow:0 0 0 14px rgba(0,200,120,0);} 100%{ box-shadow:0 0 0 0 rgba(0,200,120,0);} }

.plh-aib-modal{ display:none; position: fixed; inset: 0; z-index: 999999; }
.plh-aib-modal.is-open{ display:block; }
.plh-aib-backdrop{ position:absolute; inset:0; background: rgba(0,0,0,0.55); }
.plh-aib-panel{
  position:absolute;
  width: min(680px, calc(100vw - 24px));
  max-height: min(80vh, 760px);
  overflow:auto;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  background: rgba(16, 20, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  padding: 18px;
  color: #fff;
}
.plh-aib-close{
  position: sticky; top: 0; float: right;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff; font-size: 22px;
  cursor:pointer;
}
.plh-aib-head{ display:flex; gap:12px; align-items:flex-start; margin-top: 4px; }
.plh-aib-avatar{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight:800;
  overflow:hidden;
}
.plh-aib-avatar-img{ width: 28px; height: 28px; object-fit: cover; border-radius: 999px; }
.plh-aib-title{ font-size: 16px; font-weight: 900; }
.plh-aib-sub{ font-size: 13px; opacity: 0.86; margin-top: 3px; }

.plh-aib-form{ margin-top: 14px; display:grid; gap: 12px; }
.plh-aib-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:560px){ .plh-aib-row{ grid-template-columns: 1fr; } }

.plh-aib-field span{ display:block; font-size:12px; opacity: 0.86; margin-bottom: 6px; }
.plh-aib-field input, .plh-aib-field select, .plh-aib-field textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: #fff;
  outline:none;
}
.plh-aib-field textarea{ resize: vertical; min-height: 88px; }

.plh-aib-btn{
  margin-top: 4px;
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(120, 85, 255, 0.90);
  color:#fff;
  font-weight: 900;
  cursor:pointer;
}
.plh-aib-btn[disabled]{ opacity: 0.7; cursor:not-allowed; }
.plh-aib-spinner{
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: rgba(255,255,255,1);
  display:none;
  animation: plhAibSpin 0.9s linear infinite;
}
@keyframes plhAibSpin{ to{ transform: rotate(360deg); } }

.plh-aib-results{ margin-top: 14px; display:grid; gap: 10px; }
.plh-aib-card{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  padding: 12px;
}
.plh-aib-card-head{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.plh-aib-provider{ font-weight: 900; font-size: 15px; }
.plh-aib-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top: 8px; }
.plh-aib-tag{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.15);
  opacity: 0.95;
}
.plh-aib-note{ font-size: 13px; opacity: 0.9; margin-top: 8px; }
.plh-aib-actions{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 10px; }

.plh-aib-disclosure{ display:flex; gap:8px; align-items:flex-start; font-size: 12px; opacity: 0.78; margin-top: 14px; }
.plh-aib-i{ margin-top: 1px; }

/* Home block avatar helper */
.plh-aib-home-avatar{ width:34px; height:34px; border-radius:999px; object-fit:cover; }
