#hypnoji-root{--hj-ink:#222222;--hj-pink:#DC3264;--hj-line:#CACACA;--hj-yellow:#fff100;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--hj-ink);position:relative;z-index:100010}#hypnoji-root *{box-sizing:border-box}#hypnoji-root [hidden]{display:none!important}#hypnoji-root button,#hypnoji-root textarea{font:inherit}#hypnoji-root button{cursor:pointer}#hypnoji-root button:focus-visible,#hypnoji-root a:focus-visible,#hypnoji-root textarea:focus-visible{outline:3px solid #bd8500;outline-offset:3px}#hypnoji-root button:disabled{cursor:default;opacity:.55}.hj-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px}.hj-launch{display:flex;align-items:center;gap:10px;border:1px solid #CACACA;background:#fff;color:var(--hj-ink);border-radius:40px;padding:7px 19px 7px 7px;box-shadow:0 5px 24px #00000020;font-weight:650!important}.hj-avatar{display:block;width:42px;height:42px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#fff}.hj-avatar img{display:block;width:170%;height:170%;max-width:none;object-fit:cover;transform:translate(-20.588235%,-20.588235%)}.hj-dismiss,.hj-close{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--hj-line);border-radius:50%;background:#fff;color:var(--hj-ink);font-size:23px!important;line-height:1}.hj-dismiss{width:28px;height:28px;font-size:20px!important}.hj-panel{position:fixed;right:20px;bottom:20px;width:min(410px,calc(100vw - 32px));height:min(680px,calc(100dvh - 40px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--hj-line);border-radius:22px;box-shadow:0 18px 70px #00000033;overflow:hidden}.hj-head{display:flex;align-items:center;gap:12px;padding:17px 18px;background:var(--hj-pink);color:#fff}.hj-head .hj-avatar{width:46px;height:46px}.hj-title{font-size:20px;font-weight:750;margin:0}.hj-subtitle{font-size:13px;color:#ffffff}.hj-head .hj-close{margin-left:auto;border-color:#ffffff50;background:transparent;color:white}.hj-messages{padding:22px 18px 12px;overflow-y:auto;overscroll-behavior:contain;flex:1;background:#f5f5f5;scrollbar-width:thin}.hj-message{margin:0 0 16px;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere;background:white;border:1px solid var(--hj-line);border-radius:3px 16px 16px 16px;padding:13px 15px}.hj-message.hj-user{margin-left:auto;background:#CACACA;border-color:#CACACA;border-radius:16px 3px 16px 16px}.hj-message strong{display:block;margin-bottom:8px}.hj-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;white-space:normal}.hj-sources a{color:var(--hj-pink);text-decoration:underline;font-size:14px}.hj-prompts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.hj-prompts button{border:1px solid #CACACA;border-radius:18px;color:var(--hj-pink);background:#fff;padding:7px 11px;font-size:14px!important}.hj-foot{padding:12px 15px 14px;background:white;border-top:1px solid var(--hj-line)}.hj-form{display:flex;gap:8px;align-items:flex-end}.hj-form textarea{min-height:46px;max-height:112px;resize:vertical;flex:1;min-width:0;border:1px solid #a0a0a0;border-radius:12px;padding:11px;color:var(--hj-ink);background:#fff}.hj-send{border:0;border-radius:12px;background:var(--hj-pink);color:#fff;padding:11px 13px;min-height:46px}.hj-notice{font-size:12px;line-height:1.45;color:#555555;margin:9px 0 0}.hj-notice a{color:inherit;text-decoration:underline}.hj-status{font-size:14px;color:#555555;margin:0 0 12px;min-height:0}.hj-reopen{border:0;background:none;text-decoration:underline;color:inherit;font:inherit;cursor:pointer}.hj-preview-note{font-size:12px;background:#fff4ca;color:#584700;padding:7px 15px}.hj-clear{border:0;background:none;text-decoration:underline;font-size:12px!important;color:#555555;padding:6px 0 0}
@media(max-width:600px){.hj-launcher{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}.hj-launch{padding:5px 13px 5px 5px;gap:7px;font-size:14px!important}.hj-launch .hj-avatar{width:36px;height:36px}.hj-panel{inset:8px 8px calc(8px + env(safe-area-inset-bottom));width:auto;height:auto;max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));border-radius:18px}.hj-head{padding:12px 14px}.hj-messages{padding:18px 13px 10px}.hj-message{max-width:96%}.hj-foot{padding:10px 12px}.hj-form textarea{font-size:16px!important}.hj-send{font-size:14px!important}.hj-notice{font-size:12px}}
@media(prefers-reduced-motion:reduce){#hypnoji-root *{scroll-behavior:auto!important}}

#hypnoji-root .hj-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.45;margin:0 0 12px;color:#555555}#hypnoji-root .hj-consent input{width:18px;height:18px;margin:2px 0 0;flex-shrink:0;appearance:auto}#hypnoji-root .hj-consent a{color:inherit;text-decoration:underline}#hypnoji-root .hj-revoke{margin-left:12px}#hypnoji-root .hj-title{color:#fff;line-height:1.2}#hypnoji-root .hj-head,#hypnoji-root .hj-foot{flex-shrink:0}

#hypnoji-root .hj-head{margin:0}#hypnoji-root .hj-title{padding:0;border:0;font-family:inherit}#hypnoji-root .hj-title::before,#hypnoji-root .hj-title::after{display:none}#hypnoji-root .hj-foot{font:inherit;padding-top:12px}#hypnoji-root .hj-form{margin:0}

/* Keep the composer inside Safari's visible area, including its keyboard. */
#hypnoji-root .hj-messages{min-height:0;flex:1 1 0;touch-action:pan-y;-webkit-overflow-scrolling:touch}
#hypnoji-root .hj-head>div{min-width:0}
#hypnoji-root .hj-close{flex-shrink:0}
#hypnoji-root .hj-foot{padding:12px 15px 14px}
@media(max-width:600px),(hover:none) and (pointer:coarse){
 #hypnoji-root .hj-panel{
  inset:auto;left:8px;right:8px;bottom:auto;
  top:calc(var(--hj-view-top,0px) + 8px + env(safe-area-inset-top,0px));
  width:auto;height:calc(var(--hj-view-height,100dvh) - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  max-height:calc(var(--hj-view-height,100dvh) - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  min-height:0;border-radius:18px;
 }
 #hypnoji-root .hj-head{padding:10px 12px}
 #hypnoji-root .hj-head .hj-avatar{width:38px;height:38px}
 #hypnoji-root .hj-subtitle{line-height:1.3}
 #hypnoji-root .hj-foot{padding:10px 12px;max-height:65%;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
 #hypnoji-root .hj-form textarea{font-size:16px!important;resize:none}
}

/* Keep theme paragraph rules out of the compact chat footer. */
#hypnoji-root .hj-notice{font-size:12px!important;line-height:1.45!important;margin:9px 0 0!important}
#hypnoji-root .hj-status{font-size:14px!important;line-height:1.45!important;margin:0 0 12px!important}
#hypnoji-root .hj-status:empty{display:none}
