:root{--stelr-chat-color:#111;--stelr-chat-radius:28px;--stelr-chat-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}.stelr-chat *{box-sizing:border-box}.stelr-chat{font-family:var(--stelr-chat-font);position:fixed;z-index:2147483637;color:#1f2328}.stelr-chat--right{right:24px;bottom:24px}.stelr-chat--left{left:24px;bottom:24px}.stelr-chat__launcher{width:54px;height:54px;border-radius:50%;border:0;background:var(--stelr-chat-color);color:#fff;box-shadow:0 18px 46px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;padding:15px}.stelr-chat__launcher:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(0,0,0,.26);background-color:#000}.stelr-chat__panel{position:absolute;bottom:80px;width:380px;height:min(760px,calc(100vh - 260px));background:#fff;border-radius:32px;box-shadow:0 30px 80px rgba(0,0,0,.22);overflow:hidden;display:flex;flex-direction:column;opacity:0;transform:translateY(16px) scale(.98);pointer-events:none;transition:opacity .22s ease,transform .22s ease}.stelr-chat--right .stelr-chat__panel{right:0}.stelr-chat--left .stelr-chat__panel{left:0}.stelr-chat.is-open .stelr-chat__panel{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.stelr-chat__header{height:82px;border-bottom:1px solid #ececec;display:flex;align-items:center;gap:14px;padding:16px 22px;background:#fff;flex:0 0 auto}.stelr-chat__close{border:0;background:transparent;color:#6b6f76;cursor:pointer;padding:8px;line-height:0;margin-left:auto}.stelr-chat__close:hover{background-color:#e7e9eb;color:#000}.stelr-chat__avatar{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#111;flex:0 0 auto;overflow:hidden}.stelr-chat__avatar-img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}.stelr-chat__title{font-size:18px;font-weight:750;line-height:1.15}.stelr-chat__subtitle{font-size:15px;color:#6b6f76;margin-top:2px}.stelr-chat__body{flex:1 1 auto;overflow:auto;padding:28px 24px 20px;background:#fff}.stelr-chat__message-wrap{margin-bottom:16px;display:flex;flex-direction:column}.stelr-chat__message-wrap--user{align-items:flex-end}.stelr-chat__message-wrap--assistant{align-items:flex-start}.stelr-chat__bubble{max-width:86%;border-radius:24px;padding:17px 20px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.stelr-chat__bubble p{margin:0 0 10px}.stelr-chat__bubble p:last-child{margin-bottom:0}.stelr-chat__bubble a{color:inherit;text-decoration:underline}.stelr-chat__bubble--assistant{background:#f4f4f5;color:#1f2328}.stelr-chat__bubble--user{background:var(--stelr-chat-color);color:#fff}.stelr-chat__meta{font-size:14px;color:#737780;margin-top:8px;padding:0 8px}.stelr-chat__typing{display:inline-flex;gap:7px;align-items:center;background:#f4f4f5;border-radius:999px;padding:14px 18px}.stelr-chat__typing span{width:7px;height:7px;border-radius:50%;background:#85898f;animation:stelrTyping 1.2s infinite ease-in-out}.stelr-chat__typing span:nth-child(2){animation-delay:.15s}.stelr-chat__typing span:nth-child(3){animation-delay:.3s}@keyframes stelrTyping{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.stelr-chat__composer-wrap{padding:14px 18px 10px;background:#fff;flex:0 0 auto}.stelr-chat__composer{border:2px solid #111;border-radius:24px;min-height:88px;display:flex;flex-direction:column;padding:12px 12px 10px;background:#fff}.stelr-chat__input{border:0;outline:0;resize:none;font:inherit;font-size:16px!important;line-height:1.2;min-height:36px;max-height:90px;color:#1f2328}.stelr-chat__input:focus{-webkit-box-shadow:0 0 0 rgba(255,255,255,0);box-shadow:0 0 0 rgba(255,255,255,0)}.stelr-chat__input::placeholder{color:#737780}.stelr-chat__actions{display:flex;align-items:center;gap:12px;margin-top:8px;color:#85898f}.stelr-chat__icon-btn{border:0;background:transparent;padding:4px;color:#85898f;line-height:0;cursor:pointer}.stelr-chat__send{margin-left:auto;width:44px;height:44px;flex:0 0 44px;border-radius:50%;border:0;background:#e8e9eb;color:#c5c7cb;display:flex;align-items:center;justify-content:center;cursor:not-allowed;padding:10px}.stelr-chat__send:hover{background-color:#000}.stelr-chat__send.is-ready{background:var(--stelr-chat-color);color:#fff;cursor:pointer}.stelr-chat__send svg{width:22px;height:22px;display:block}.stelr-chat__footer{text-align:center;color:#737780;font-size:12px;padding:2px 14px 14px;background:#fff}.stelr-chat__footer a{color:#656970;text-decoration:underline}.stelr-chat__offline{background:#fff4f4;color:#8a1f1f;border-radius:16px;padding:12px 14px;font-size:14px;margin-bottom:14px}.stelr-chat__launcher-card{position:absolute;bottom:80px;width:355px;background:#fff;border-radius:28px;box-shadow:0 12px 48px rgba(0,0,0,.18);padding:18px 18px 16px;display:flex;gap:18px;align-items:flex-start;opacity:1;transform:translateY(0);transition:opacity .2s ease,transform .2s ease}.stelr-chat--right .stelr-chat__launcher-card{right:0}.stelr-chat--left .stelr-chat__launcher-card{left:0}.stelr-chat.is-open .stelr-chat__launcher-card{opacity:0;transform:translateY(10px);pointer-events:none}.stelr-chat__launcher-card-text{font-size:16px;line-height:1.35}.stelr-chat__launcher-card-meta{font-size:12px;color:#737780;margin-top:6px}.stelr-chat__brand-mark{display:grid;grid-template-columns:repeat(3,9px);gap:4px}.stelr-chat__brand-mark i{width:9px;height:9px;background:currentColor;border-radius:9px}@media(max-width:560px){.stelr-chat{right:0!important;left:0!important;bottom:0!important}.stelr-chat__panel{position:fixed;left:6px!important;right:6px!important;bottom:6px;width:auto;height:calc(100dvh - 12px);border-radius:28px}.stelr-chat__launcher{position:fixed;right:18px;bottom:18px;width:54px;height:54px}.stelr-chat__launcher-card{display:none}.stelr-chat__bubble{max-width:88%;font-size:14px}.stelr-chat__body{padding:26px 20px 20px}.stelr-chat__composer-wrap{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
.stelr-chat--boot .stelr-chat__launcher{display:flex!important;visibility:visible!important;opacity:1!important}

/* v1.0.4: Prevent mobile/tablet browser auto-zoom on chat input without affecting the rest of the site. */
.stelr-chat textarea.stelr-chat__input,
.stelr-chat input.stelr-chat__input,
#stelr-ai-chatbot-root textarea,
#stelr-ai-chatbot-root input {
  font-size: 16px !important;
  line-height: 1.35 !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  transform: none !important;
  zoom: 1 !important;
}
@media (max-width: 1024px), (pointer: coarse) {
  .stelr-chat,
  #stelr-ai-chatbot-root {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .stelr-chat textarea.stelr-chat__input,
  .stelr-chat input.stelr-chat__input,
  #stelr-ai-chatbot-root textarea,
  #stelr-ai-chatbot-root input {
    font-size: 16px !important;
    min-font-size: 16px;
  }
}

/* v1.0.6: Keep chat above almost every site element without disabling other optimizations.
   2147483637 = common max z-index 2147483647 minus 10. */
#stelr-ai-chatbot-root,
.stelr-chat {
  z-index: 2147483637 !important;
}
.stelr-chat__panel,
.stelr-chat__launcher,
.stelr-chat__launcher-card {
  z-index: 2147483637 !important;
}

/* v1.0.6: Extra mobile/tablet input zoom protection without forcing full-screen layout. */
@media (max-width: 1024px), (pointer: coarse) {
  .stelr-chat__input,
  .stelr-chat textarea.stelr-chat__input,
  #stelr-ai-chatbot-root textarea {
    font-size: 17px !important;
    line-height: 1.4 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
}

/* v1.0.7: Applicant capture form. */
.stelr-chat__composer-wrap[hidden]{display:none!important}
.stelr-chat__lead-card{background:#fff;border:1px solid #e8e8ea;border-radius:22px;padding:22px;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.stelr-chat__lead-heading{font-size:20px;font-weight:750;line-height:1.25;color:#1f2328;margin-bottom:7px}
.stelr-chat__lead-copy{font-size:14px;line-height:1.5;color:#666b73;margin-bottom:18px;white-space:pre-line}
.stelr-chat__lead-form{display:flex;flex-direction:column;gap:13px}
.stelr-chat__lead-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;color:#30343a}
.stelr-chat__lead-form input{width:100%;height:46px;border:1px solid #d8dadd;border-radius:12px;background:#fff;color:#1f2328;padding:0 13px;font-family:inherit;font-size:16px!important;line-height:1.3;outline:none;box-shadow:none;-webkit-appearance:none;appearance:none}
.stelr-chat__lead-form input:focus{border-color:var(--stelr-chat-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--stelr-chat-color) 12%,transparent)}
.stelr-chat__lead-submit{height:46px;border:0;border-radius:12px;background:var(--stelr-chat-color);color:#fff;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;margin-top:3px;padding:0 18px}
.stelr-chat__lead-submit:disabled{opacity:.6;cursor:wait}
.stelr-chat__lead-error{background:#fff1f1;color:#8a1f1f;border-radius:10px;padding:9px 11px;font-size:13px;line-height:1.4}

/* v1.0.7: Markdown and formatted AI response styling. */
.stelr-chat__message-content{line-height:1.6;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
.stelr-chat__message-content{white-space:normal}
.stelr-chat__message-content> :first-child{margin-top:0!important}
.stelr-chat__message-content> :last-child{margin-bottom:0!important}
.stelr-chat__message-content p{margin:0 0 10px}
.stelr-chat__message-content h1,.stelr-chat__message-content h2,.stelr-chat__message-content h3,.stelr-chat__message-content h4,.stelr-chat__message-content h5,.stelr-chat__message-content h6{font-weight:750;line-height:1.3;margin:16px 0 8px;color:inherit}
.stelr-chat__message-content h1{font-size:21px}.stelr-chat__message-content h2{font-size:19px}.stelr-chat__message-content h3{font-size:17px}.stelr-chat__message-content h4,.stelr-chat__message-content h5,.stelr-chat__message-content h6{font-size:15px}
.stelr-chat__message-content ul,.stelr-chat__message-content ol{margin:10px 0;padding-inline-start:22px}
.stelr-chat__message-content li{margin:4px 0}
.stelr-chat__message-content a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}
.stelr-chat__message-content blockquote{margin:12px 0;padding:8px 12px;border-inline-start:3px solid currentColor;background:rgba(0,0,0,.035);border-radius:0 8px 8px 0}
.stelr-chat__message-content code{padding:2px 5px;border-radius:5px;background:rgba(0,0,0,.07);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:.92em}
.stelr-chat__message-content pre{max-width:100%;margin:12px 0;padding:12px;overflow-x:auto;border-radius:10px;background:#202124;color:#f5f5f5;-webkit-overflow-scrolling:touch}
.stelr-chat__message-content pre code{padding:0;background:transparent;color:inherit;white-space:pre;font-size:12px}
.stelr-chat__message-content hr{border:0;border-top:1px solid rgba(0,0,0,.12);margin:14px 0}
.stelr-chat__message-content img{max-width:100%;height:auto;border-radius:10px;display:block;margin:10px 0}
.stelr-chat__table-wrap{width:100%;max-width:100%;margin:12px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:#fff}
.stelr-chat__message-content table{width:100%;min-width:420px;border-collapse:collapse;border-spacing:0;font-size:12px;line-height:1.4;color:#1f2328}
.stelr-chat__message-content th,.stelr-chat__message-content td{padding:9px 10px;border-bottom:1px solid rgba(0,0,0,.1);border-inline-end:1px solid rgba(0,0,0,.1);text-align:start;vertical-align:top;white-space:normal}
.stelr-chat__message-content th:last-child,.stelr-chat__message-content td:last-child{border-inline-end:0}
.stelr-chat__message-content tr:last-child td{border-bottom:0}
.stelr-chat__message-content th{font-weight:700;background:#f2f3f4}
.stelr-chat__message-content tbody tr:nth-child(even) td{background:#fafafa}

@media(max-width:560px){
  .stelr-chat__lead-card{padding:18px;border-radius:18px}
  .stelr-chat__message-content table{min-width:360px}
}


/* v1.0.9: Dynamic RTL/LTR typography and message flow controls. */
#stelr-ai-chatbot-root,
.stelr-chat {
  font-family: "Montserrat", Arial, sans-serif;
}

.stelr-chat [dir="ltr"],
.stelr-chat__text--ltr {
  direction: ltr;
  text-align: left;
  font-family: "Montserrat", Arial, sans-serif;
}

.stelr-chat [dir="rtl"],
.stelr-chat__text--rtl {
  direction: rtl;
  text-align: right;
  font-family: "Tajawal", Arial, sans-serif;
}

.stelr-chat__input.stelr-chat__text--rtl {
  text-align: right;
  font-family: "Tajawal", Arial, sans-serif;
}

.stelr-chat__input.stelr-chat__text--ltr {
  text-align: left;
  font-family: "Montserrat", Arial, sans-serif;
}

.stelr-chat__message-content.stelr-chat__text--rtl ul,
.stelr-chat__message-content.stelr-chat__text--rtl ol {
  padding-right: 22px;
  padding-left: 0;
}

.stelr-chat__message-content.stelr-chat__text--ltr ul,
.stelr-chat__message-content.stelr-chat__text--ltr ol {
  padding-left: 22px;
  padding-right: 0;
}

.stelr-chat__message-content.stelr-chat__text--rtl th,
.stelr-chat__message-content.stelr-chat__text--rtl td {
  text-align: right;
}

.stelr-chat__message-content.stelr-chat__text--ltr th,
.stelr-chat__message-content.stelr-chat__text--ltr td {
  text-align: left;
}

.stelr-chat__message-content.stelr-chat__text--rtl blockquote {
  border-left: 0;
  border-right: 3px solid currentColor;
  border-radius: 8px 0 0 8px;
}

.stelr-chat__send:disabled {
  cursor: not-allowed !important;
  background: #e8e9eb !important;
  color: #c5c7cb !important;
  opacity: 1;
}
