.rs-chat { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 1100; font-family: inherit; color: #103f5b; }
.rs-chat [hidden] { display: none !important; }
.rs-chat button, .rs-chat textarea { font: inherit; }
.rs-chat button { cursor: pointer; }
.rs-chat button:disabled { cursor: default; opacity: .55; }
.rs-chat button:focus-visible, .rs-chat a:focus-visible, .rs-chat textarea:focus-visible { outline: 3px solid #d7773e; outline-offset: 3px; }
.rs-chat-launch { border: 1px solid #d6aa53; border-radius: 40px; padding: 13px 20px; display: flex; align-items: center; gap: 10px; background: #103f5b; color: #fffefd; box-shadow: 0 8px 30px #08293d30; font-weight: 600; }
.rs-chat-launch > span:first-child { font-size: 28px; line-height: 1; color: #d6aa53; }
.rs-chat-panel { position: absolute; inset-inline-end: 0; bottom: 68px; width: min(410px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 120px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce7e9; border-radius: 20px; background: #fffefd; box-shadow: 0 18px 80px #08293d35; text-align: start; }
.rs-chat-head { display: flex; align-items: center; gap: 12px; background: #103f5b; color: #fffefd; padding: 17px 18px; }
.rs-chat-mark { color: #d6aa53; font-size: 35px; line-height: 1; }
.rs-chat-head strong { display: block; font-size: 17px; }
.rs-chat-head small { display: block; color: #dce7e9; font-size: 11px; margin-top: 3px; }
.rs-chat-head button { margin-inline-start: auto; border: 0; background: transparent; color: white; font-size: 27px; width: 40px; height: 40px; }
.rs-chat-log { flex: 1; min-height: 70px; overflow-y: auto; overscroll-behavior: contain; padding: 18px; display: flex; flex-direction: column; gap: 13px; }
.rs-chat-message { font-size: 14px; line-height: 1.85; padding: 12px 15px; border-radius: 14px; max-width: 95%; overflow-wrap: anywhere; white-space: pre-wrap; flex-shrink: 0; }
.rs-chat-assistant { align-self: flex-start; background: #f0f5f5; border-inline-start: 2px solid #d6aa53; }
.rs-chat-user { align-self: flex-end; background: #103f5b; color: #fffefd; }
.rs-chat-message a { text-decoration: underline; color: inherit; }
.rs-chat-suggestions { display: flex; gap: 6px; padding: 8px 15px; flex-wrap: wrap; }
.rs-chat-suggestions button { font-size: 11px; padding: 6px 9px; border-radius: 20px; background: white; color: #103f5b; border: 1px solid #c7d6da; }
.rs-chat-status { font-size: 12px; line-height: 1.7; margin: 0; padding: 7px 18px; background: #fff4e6; color: #714018; }
.rs-chat-help { display: flex; justify-content: space-between; align-items: center; padding: 9px 18px; border-top: 1px solid #dce7e9; font-size: 11px; }
.rs-chat-help a { color: #103f5b; }
.rs-chat-help button { border: 0; background: transparent; color: #536a74; padding: 7px; font-size: 11px; }
.rs-chat-form { display: flex; gap: 8px; padding: 0 14px; }
.rs-chat-form textarea { resize: none; min-width: 0; flex: 1; width: 100%; border: 1px solid #c7d6da; border-radius: 12px; padding: 10px; background: white; color: #103f5b; font-size: 14px; line-height: 1.6; }
.rs-chat-form button { border: 0; padding: 10px 12px; border-radius: 12px; background: #103f5b; color: white; font-size: 12px; }
.rs-chat-input-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rs-chat-privacy { margin: 0; padding: 10px 17px 13px; font-size: 10px; line-height: 1.6; color: #637680; }
@media (max-width: 480px) { .rs-chat { inset-inline-end: 12px; bottom: max(12px, env(safe-area-inset-bottom)); } .rs-chat-panel { width: calc(100vw - 24px); height: min(620px, calc(100dvh - 105px)); } .rs-chat-launch { font-size: 13px; padding: 11px 15px; } }
