#aehas-bot-mount { position: fixed; z-index: 34; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); color: var(--glass-text); font: 400 14px/1.45 Inter, system-ui, sans-serif; }
#aehas-bot-mount[hidden], #aehas-bot-panel[hidden], .aehas-bot-related[hidden], .aehas-bot-attention[hidden] { display: none !important; }
.aehas-bot-launch { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--glass-text); cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.aehas-bot-launch::before { content: ''; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: conic-gradient(from 25deg, #fa6f91, #f4b7d8, #d0a9e7, #a6c7a0, #e4aa86, #fa6f91); filter: blur(13px); opacity: .35; animation: aehas-bot-glow 7s ease-in-out infinite; }
.aehas-bot-orb { display: block; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 32% 23%, rgba(255,255,255,.50), transparent 32%), radial-gradient(circle at 65% 72%, rgba(197,177,231,.75), transparent 42%), radial-gradient(circle at 27% 79%, rgba(160,207,157,.86), transparent 30%), linear-gradient(155deg, #f54978 4%, #f590ba 39%, #e4a8cb 61%, #b5bfac 100%); box-shadow: inset -7px -9px 14px rgba(89,55,91,.12), inset 3px 4px 9px rgba(255,255,255,.24), 0 0 15px rgba(236,116,164,.22); animation: aehas-bot-float 7s ease-in-out infinite; }
.aehas-bot-launch:hover .aehas-bot-orb, .aehas-bot-launch[aria-expanded="true"] .aehas-bot-orb { box-shadow: inset -7px -9px 14px rgba(89,55,91,.12), inset 3px 4px 9px rgba(255,255,255,.3), 0 0 22px rgba(236,116,164,.42); }
.aehas-bot-launch:focus-visible { outline: 2px solid var(--glass-accent); outline-offset: 3px; }
.aehas-bot-panel { position: absolute; right: 0; bottom: 72px; display: flex; flex-direction: column; width: min(370px, calc(100vw - 24px)); max-height: min(580px, calc(100dvh - 100px)); border: 1px solid var(--glass-border); border-radius: 22px; overflow: hidden; background: var(--glass-surface); color: var(--glass-text); box-shadow: var(--glass-shadow); backdrop-filter: blur(28px) saturate(1.35); -webkit-backdrop-filter: blur(28px) saturate(1.35); }
@keyframes aehas-bot-float { 0%, 100% { transform: translateY(1px) scale(.98) rotate(-3deg); } 50% { transform: translateY(-2px) scale(1.02) rotate(3deg); } }
@keyframes aehas-bot-glow { 0%, 100% { opacity: .28; transform: scale(.93) rotate(0deg); } 50% { opacity: .48; transform: scale(1.08) rotate(16deg); } }
.aehas-bot-panel header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 10px; font-size: 19px; font-weight: 300; }
.aehas-bot-close { width: 32px; height: 32px; border: 0; border-radius: 11px; background: var(--glass-toolbar); color: var(--glass-text); font: 400 24px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.aehas-bot-disclosure { margin: 0; padding: 0 18px 14px; border-bottom: 1px solid var(--glass-hairline); color: var(--glass-muted); font-size: 12px; }
.aehas-bot-attention { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 18px; border-bottom: 1px solid var(--glass-hairline); }
.aehas-bot-attention span { width: 100%; color: var(--glass-muted); font-size: 11px; }
.aehas-bot-attention a { padding: 5px 9px; border: 1px solid var(--glass-accent-border); border-radius: 10px; background: var(--glass-accent-soft); color: var(--glass-text); font-size: 11px; }
.aehas-bot-messages { min-height: 0; flex: 1 1 120px; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.aehas-bot-message { max-width: 96%; padding: 9px 11px; border: 1px solid var(--glass-hairline); border-radius: 14px; background: var(--glass-toolbar); overflow-wrap: anywhere; }
.aehas-bot-message span { display: block; color: var(--glass-muted); font-size: 11px; margin-bottom: 3px; }
.aehas-bot-message p { margin: 0; white-space: pre-wrap; }
.aehas-bot-related { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.aehas-bot-related a { max-width: 100%; padding: 5px 9px; border: 1px solid var(--glass-hairline); border-radius: 10px; background: var(--glass-toolbar); color: var(--glass-text); font-size: 11px; overflow-wrap: anywhere; }
.aehas-bot-user { align-self: flex-end; background: var(--glass-accent-soft); border-color: var(--glass-accent-border); }
.aehas-bot-error { border-color: var(--glass-accent-border); }
.aehas-bot-form { display: grid; gap: 8px; padding: 13px 18px 18px; border-top: 1px solid var(--glass-hairline); }
.aehas-bot-form label { font-size: 12px; color: var(--glass-muted); }
.aehas-bot-form textarea { width: 100%; min-height: 74px; max-height: 140px; resize: vertical; padding: 10px 12px; border: 1px solid var(--glass-hairline); border-radius: 13px; background: var(--glass-input); color: var(--glass-text); font: inherit; }
.aehas-bot-actions { display: flex; justify-content: space-between; gap: 10px; }
.aehas-bot-actions button { min-height: 36px; padding: 0 14px; border: 1px solid var(--glass-border); border-radius: 11px; background: var(--glass-toolbar); color: var(--glass-text); font: inherit; cursor: pointer; }
.aehas-bot-actions .aehas-bot-send { background: var(--glass-accent); color: #fff; border-color: var(--glass-accent-border); }
.aehas-bot-actions .aehas-bot-send:disabled { opacity: .55; cursor: wait; }
@media (max-width: 767px) {
  #aehas-bot-mount { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .aehas-bot-launch { width: 56px; height: 56px; }
  .aehas-bot-orb { width: 45px; height: 45px; }
  .aehas-bot-panel { bottom: 66px; width: min(370px, calc(100vw - 20px)); max-height: calc(100dvh - 94px - env(safe-area-inset-bottom)); }
  .aehas-bot-form textarea { font-size: 16px; }
}
@media (max-width: 360px) {
  .aehas-bot-panel header { padding: 12px 14px 8px; }
  .aehas-bot-disclosure, .aehas-bot-related, .aehas-bot-attention { padding-inline: 14px; }
  .aehas-bot-form { padding: 10px 14px 14px; }
}
@media (max-height: 500px) {
  .aehas-bot-panel { max-height: calc(100dvh - 70px - env(safe-area-inset-bottom)); }
  .aehas-bot-disclosure, .aehas-bot-attention, .aehas-bot-related { display: none; }
  .aehas-bot-form textarea { min-height: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .aehas-bot-launch::before, .aehas-bot-orb { animation: none; }
}
