.rr-chatbot[hidden], .rr-chatbot-panel[hidden] { display: none !important; }
.rr-chatbot { --rr-chat-bottom: max(20px, env(safe-area-inset-bottom, 0px)); position: fixed; z-index: 9999; right: 24px; bottom: var(--rr-chat-bottom); width: max-content; max-width: calc(100vw - 28px); color: #142d40; font: 400 14px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.rr-chatbot *, .rr-chatbot *::before, .rr-chatbot *::after { box-sizing: border-box; }
.rr-chatbot button, .rr-chatbot input { font: inherit; }
.rr-chatbot button { cursor: pointer; }
.rr-chatbot :focus-visible { outline: 3px solid #58b8e6; outline-offset: 3px; }
.rr-chatbot-trigger { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-left: auto; padding: 12px 18px; border: 1px solid rgba(190,232,247,.35); border-radius: 999px; background: #0a253a; box-shadow: 0 10px 32px rgba(4,28,44,.25); color: #fff; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .01em; white-space: nowrap; transition: background .2s, transform .2s; }
.rr-chatbot-trigger:hover { background: #14577c; transform: translateY(-2px); }
.rr-chatbot-trigger svg { width: 21px; height: 21px; fill: none; stroke: #9adef6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rr-chatbot-panel { position: absolute; right: 0; bottom: calc(100% + 12px); display: flex; flex-direction: column; width: min(390px, calc(100vw - 28px)); max-height: min(630px, calc(100vh - var(--rr-chat-bottom) - 86px)); max-height: min(630px, calc(100dvh - var(--rr-chat-bottom) - 86px)); overflow: hidden; border: 1px solid #c9dce5; border-radius: 12px; background: #fff; box-shadow: 0 22px 70px rgba(2,25,40,.26); }
.rr-chatbot-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 17px 17px 16px 20px; background: #0a253a; color: #fff; }
.rr-chatbot-heading { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.rr-chatbot-status { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: #6ed3dc; box-shadow: 0 0 0 4px rgba(110,211,220,.13); }
.rr-chatbot-heading h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.rr-chatbot-heading p { margin: 2px 0 0; color: #bad7e6; font-size: 12px; }
.rr-chatbot-close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: transparent; color: #fff; }
.rr-chatbot-close:hover { background: rgba(255,255,255,.1); }
.rr-chatbot-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rr-chatbot-messages { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; min-height: 96px; padding: 20px; overflow-y: auto; overscroll-behavior: contain; background: #f5f9fb; }
.rr-chatbot-message { max-width: 91%; margin: 0; padding: 11px 13px; border: 1px solid #dbe9ef; border-radius: 10px 10px 10px 2px; background: #fff; color: #294558; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.rr-chatbot-message-user { align-self: flex-end; border-color: #1679b8; border-radius: 10px 10px 2px 10px; background: #1679b8; color: #fff; }
.rr-chatbot-questions { flex: none; padding: 12px 18px 14px; border-top: 1px solid #dce9ee; background: #fff; }
.rr-chatbot-questions > span { display: block; margin-bottom: 9px; color: #627e90; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.rr-chatbot-questions > div { display: flex; flex-wrap: wrap; gap: 7px; }
.rr-chatbot-questions button { min-height: 34px; padding: 6px 10px; border: 1px solid #c6dce7; border-radius: 999px; background: #f4f9fb; color: #155d87; font-size: 12px; font-weight: 600; }
.rr-chatbot-questions button:hover { border-color: #64accc; background: #e8f5fa; }
.rr-chatbot-form { flex: none; padding: 0 18px 14px; background: #fff; }
.rr-chatbot-form label { display: block; margin-bottom: 6px; color: #38576a; font-size: 12px; font-weight: 700; }
.rr-chatbot-input-row { display: flex; gap: 7px; }
.rr-chatbot-input-row input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid #c7dce6; border-radius: 5px; background: #fff; color: #142d40; font-size: 14px; }
.rr-chatbot-input-row input::placeholder { color: #7c94a2; }
.rr-chatbot-input-row button { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 5px; background: #1679b8; color: #fff; }
.rr-chatbot-input-row button:hover { background: #075d92; }
.rr-chatbot-input-row svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rr-chatbot-contact { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 0 8px; flex: none; padding: 13px 18px 15px; border-top: 1px solid #deebf0; background: #fff; }
.rr-chatbot-contact-primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 13px; border-radius: 5px; background: #0a253a; color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.rr-chatbot-contact-primary:hover { background: #14577c; }
.rr-chatbot-contact-primary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rr-chatbot-email { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 4px; color: #0d6b9e !important; font-size: 12px; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }
.rr-chatbot-email:hover { color: #063e61 !important; }
.rr-chatbot-contact p { grid-column: 1 / -1; margin: 8px 0 0; color: #6f8795; font-size: 11px; line-height: 1.4; }
@media (max-width: 480px) {
  .rr-chatbot { right: 14px; }
  .rr-chatbot-panel { width: calc(100vw - 28px); }
  .rr-chatbot-questions button { min-height: 40px; }
}
@media (max-height: 560px) {
  .rr-chatbot-header { padding-block: 10px; }
  .rr-chatbot-questions { padding-block: 8px; }
  .rr-chatbot-contact { padding-block: 9px; }
  .rr-chatbot-contact p { display: none; }
}
@media (max-width: 900px) and (max-height: 620px) {
  .rr-chatbot.rr-chatbot-open { z-index: 10001; }
  .rr-chatbot-panel { position: fixed; inset: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px)); width: auto; max-height: none; }
}
