#intra-bot-root{position:fixed;bottom:22px;z-index:999999;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#intra-bot-root.intra-bot-right{right:22px}#intra-bot-root.intra-bot-left{left:22px}
.intra-bot-launcher{width:60px;height:60px;border:1px solid rgba(134,231,255,.42);border-radius:19px;background:linear-gradient(145deg,#082b45,#0c5278);box-shadow:0 18px 45px rgba(0,0,0,.34),0 0 28px color-mix(in srgb,var(--intra-accent) 25%,transparent);display:grid;place-items:center;cursor:pointer;color:#ecfbff;position:relative;transition:transform .18s ease,box-shadow .18s ease}
.intra-bot-launcher:hover{transform:translateY(-2px);box-shadow:0 20px 48px rgba(0,0,0,.38),0 0 34px color-mix(in srgb,var(--intra-accent) 34%,transparent)}
.intra-bot-launcher svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.intra-bot-launcher-dot{position:absolute;right:8px;top:7px;width:10px;height:10px;border-radius:99px;background:var(--intra-accent);box-shadow:0 0 14px var(--intra-accent)}
.intra-bot-nudge{position:absolute;bottom:72px;right:0;display:flex;align-items:center;gap:4px;padding:5px 6px 5px 11px;border:1px solid rgba(102,215,249,.22);border-radius:13px;background:rgba(4,30,48,.97);box-shadow:0 15px 34px rgba(0,0,0,.28);white-space:nowrap}
.intra-bot-left .intra-bot-nudge{right:auto;left:0}
.intra-bot-nudge button{border:0;background:transparent;color:#e8f9ff;cursor:pointer;font:inherit}
#intra-bot-nudge-open{padding:5px 2px;font-size:12px;font-weight:760}
#intra-bot-nudge-close{width:28px;height:28px;font-size:19px;color:#8eb9ca}
.intra-bot-panel{position:absolute;bottom:72px;width:min(420px,calc(100vw - 28px));height:min(700px,calc(100vh - 105px));border:1px solid rgba(104,214,249,.24);border-radius:22px;background:linear-gradient(180deg,rgba(4,27,44,.992),rgba(3,20,33,.992));box-shadow:0 28px 75px rgba(0,0,0,.46);overflow:hidden;color:#edfaff;backdrop-filter:blur(14px);display:flex;flex-direction:column}
.intra-bot-right .intra-bot-panel{right:0}.intra-bot-left .intra-bot-panel{left:0}
.intra-bot-panel[hidden]{display:none!important}
.intra-bot-header{display:flex;justify-content:space-between;align-items:center;padding:15px 15px 14px;border-bottom:1px solid rgba(112,218,250,.15);background:linear-gradient(135deg,rgba(8,70,103,.94),rgba(6,42,66,.86))}
.intra-bot-brand{display:flex;align-items:center;gap:10px;min-width:0}
.intra-bot-avatar{width:36px;height:36px;border:1px solid rgba(126,229,255,.38);border-radius:11px;background:linear-gradient(145deg,#0e709b,#083654);display:grid;place-items:center;font-size:11px;font-weight:900;letter-spacing:.04em;color:#eaffff;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.intra-bot-header strong{display:block;color:#fff;font-size:15px}
.intra-bot-header span:not(.intra-bot-avatar){display:flex;align-items:center;gap:6px;margin-top:2px;color:#b8deed;font-size:10.5px}
.intra-bot-header span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#51e1a7;box-shadow:0 0 9px rgba(81,225,167,.55)}
.intra-bot-header-actions{display:flex;align-items:center;gap:4px}
.intra-bot-header-actions button{appearance:none;border:0;background:transparent;color:#dff8ff;cursor:pointer;width:34px;height:34px;display:grid;place-items:center;border-radius:9px}
.intra-bot-header-actions button:hover{background:rgba(255,255,255,.06)}
.intra-bot-header-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
#intra-bot-close{font-size:27px;line-height:1}
.intra-bot-context{display:none;padding:7px 14px;border-bottom:1px solid rgba(96,206,241,.10);background:rgba(3,22,36,.74);color:#87b6c8;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.intra-bot-messages{flex:1;overflow:auto;padding:17px 15px 9px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;min-height:0}
.intra-bot-msg-wrap{display:flex;gap:8px;align-items:flex-end}
.intra-bot-msg-wrap.user{justify-content:flex-end}
.intra-bot-mini-avatar{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;flex:0 0 auto;background:#0b5278;border:1px solid rgba(113,221,250,.26);color:#eaffff;font-size:8px;font-weight:900}
.intra-bot-msg{max-width:86%;padding:11px 13px;border-radius:15px;font-size:13.5px;line-height:1.56;white-space:pre-wrap;overflow-wrap:anywhere}
.intra-bot-msg.bot{background:rgba(14,64,91,.76);border:1px solid rgba(94,205,240,.18);color:#eaf9ff;border-bottom-left-radius:5px}
.intra-bot-msg.user{background:linear-gradient(135deg,var(--intra-accent),#6bdaf5);color:#06233a;border-bottom-right-radius:5px;font-weight:650}
.intra-bot-thinking{display:flex;align-items:center;gap:5px;min-width:64px}
.intra-bot-thinking i{width:6px;height:6px;border-radius:50%;background:#9edbed;animation:intraBotDots 1s ease-in-out infinite}
.intra-bot-thinking i:nth-child(2){animation-delay:.14s}.intra-bot-thinking i:nth-child(3){animation-delay:.28s}
@keyframes intraBotDots{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.intra-bot-actions{display:flex;flex-wrap:wrap;gap:7px;padding:2px 14px 8px}
.intra-bot-actions:empty{display:none}
.intra-bot-action{appearance:none;border:1px solid rgba(95,213,248,.26);border-radius:999px;background:rgba(6,50,76,.78);color:#dff8ff;min-height:34px;padding:7px 11px;font:inherit;font-size:11.5px;font-weight:780;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
.intra-bot-action.primary{background:linear-gradient(135deg,var(--intra-accent),#73e1f8);color:#06243a;border-color:transparent}
.intra-bot-starters{display:flex;gap:7px;overflow-x:auto;padding:3px 14px 10px;scrollbar-width:none}
.intra-bot-starters::-webkit-scrollbar{display:none}
.intra-bot-starters button{flex:0 0 auto;border:1px solid rgba(91,207,244,.18);border-radius:999px;background:rgba(7,50,77,.62);color:#dff8ff;padding:8px 11px;font-size:11px;font-weight:740;cursor:pointer}
.intra-bot-form{display:grid;grid-template-columns:1fr 44px;gap:8px;padding:10px 12px;border-top:1px solid rgba(105,211,244,.13);background:rgba(2,17,28,.78)}
.intra-bot-form textarea{resize:none;max-height:112px;border:1px solid rgba(105,211,244,.18);border-radius:13px;background:rgba(255,255,255,.055);color:#f1fbff;padding:12px;font:inherit;font-size:13px;outline:none}
.intra-bot-form textarea:focus{border-color:var(--intra-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--intra-accent) 15%,transparent)}
.intra-bot-form button{border:0;border-radius:12px;background:linear-gradient(135deg,var(--intra-accent),#77e5fb);color:#05243a;cursor:pointer;display:grid;place-items:center}
.intra-bot-form button:disabled{opacity:.45;cursor:not-allowed}
.intra-bot-form button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.intra-bot-footer{height:34px;display:flex;justify-content:center;align-items:center;gap:7px;color:#6f9fb5;font-size:10.5px;background:rgba(2,17,28,.78)}
.intra-bot-footer a,.intra-bot-footer button{appearance:none;border:0;background:transparent;color:#8edff6;font:inherit;font-weight:750;cursor:pointer;text-decoration:none}
.intra-bot-lead-form{position:absolute;inset:0;background:linear-gradient(180deg,#05283f,#031724);padding:18px;z-index:5;overflow:auto}
.intra-bot-lead-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}
.intra-bot-lead-head strong{display:block;font-size:17px;color:#fff}
.intra-bot-lead-head span{display:block;margin-top:4px;font-size:11px;color:#9cc8d9}
.intra-bot-lead-head button{appearance:none;border:0;background:transparent;color:#dff8ff;font-size:27px;line-height:1;cursor:pointer}
.intra-bot-lead-form input,.intra-bot-lead-form textarea{display:block;width:100%;box-sizing:border-box;margin-bottom:10px;border:1px solid rgba(108,216,248,.20);border-radius:11px;background:rgba(255,255,255,.06);color:#f2fbff;padding:12px;font:inherit;font-size:13px}
.intra-bot-lead-form>button[type=submit]{width:100%;border:0;border-radius:11px;background:linear-gradient(135deg,var(--intra-accent),#72e1f9);color:#06243a;font-weight:900;padding:12px;cursor:pointer}
#intra-bot-lead-status{font-size:12px;line-height:1.45;color:#ccebf5}
.intra-bot-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:600px){#intra-bot-root{bottom:14px}#intra-bot-root.intra-bot-right{right:14px}#intra-bot-root.intra-bot-left{left:14px}.intra-bot-panel{position:fixed;left:10px!important;right:10px!important;bottom:80px;width:auto;height:min(680px,calc(100vh - 100px))}.intra-bot-launcher{width:56px;height:56px}.intra-bot-nudge{max-width:calc(100vw - 84px)}}
@media(prefers-reduced-motion:reduce){.intra-bot-thinking i{animation:none}.intra-bot-launcher,.intra-bot-action{transition:none}}


/* v1.1.1: ensure the proactive prompt can actually be dismissed */
.intra-bot-nudge[hidden]{
  display:none !important;
}
#intra-bot-nudge-close{
  position:relative;
  z-index:3;
  flex:0 0 auto;
  min-width:30px;
  min-height:30px;
  display:grid;
  place-items:center;
  border-radius:8px;
}
#intra-bot-nudge-close:hover,
#intra-bot-nudge-close:focus-visible{
  background:rgba(255,255,255,.08);
  color:#e9fbff;
  outline:none;
}
