/* Compact public AI assistant */
.site-chat { position: fixed; z-index: 40; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); font-family: var(--display, system-ui, sans-serif); }
.site-chat-launcher { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #6c9df0; border-radius: 50%; background: #1768e5; color: #fff; box-shadow: 0 10px 30px #0008; cursor: pointer; }
.site-chat-launcher:hover { background: #277bf3; }
.site-chat button:focus-visible, .site-chat textarea:focus-visible { outline: 3px solid #a8c8ff; outline-offset: 2px; }
.site-chat-panel { display: flex; flex-direction: column; width: min(360px, calc(100vw - 32px)); height: min(490px, calc(100dvh - 96px)); min-height: 250px; margin-bottom: 12px; color: #eef4ff; background: #101925; border: 1px solid #41516a; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px #000b; }
.site-chat-panel[hidden] { display: none; }
.site-chat-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 16px 16px 13px; background: #172439; border-bottom: 1px solid #344158; }
.site-chat-header strong { font-size: 15px; }.site-chat-header p { margin: 3px 0 0 14px; font-size: 12px; color: #b8c5d8; }.site-chat-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #6fc8ff; vertical-align: 2px; }
.site-chat-close { color: #c8d6e9; background: none; border: 0; font-size: 25px; line-height: 1; min-width: 36px; min-height: 36px; cursor: pointer; }
.site-chat-messages { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.site-chat-messages p { margin: 0; padding: 10px 12px; border-radius: 13px 13px 13px 3px; background: #202d40; color: #edf4ff; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.site-chat-messages .site-chat-user { align-self: flex-end; background: #1b62bb; border-radius: 13px 13px 3px 13px; }
.site-chat-notice { margin: 0; padding: 8px 16px; color: #b8c5d8; font-size: 11px; line-height: 1.4; border-top: 1px solid #344158; }
.site-chat-form { display: flex; gap: 8px; padding: 0 12px 12px; align-items: end; }.site-chat-form textarea { flex: 1; resize: none; min-width: 0; min-height: 44px; max-height: 100px; padding: 11px; border: 1px solid #43536d; border-radius: 8px; color: #fff; background: #0c1421; font: inherit; font-size: 16px; line-height: 1.3; }.site-chat-form button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; color: #fff; background: #1768e5; font-weight: 650; cursor: pointer; }.site-chat-form button:disabled { opacity: .55; cursor: wait; }.site-chat-status { margin: -7px 12px 8px; color: #ffbcbc; font-size: 12px; }.site-chat-status:empty { display: none; }
@media (max-width: 600px) { .site-chat { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); }.site-chat-panel { width: min(360px, calc(100vw - 24px)); height: min(450px, calc(100dvh - 88px)); }.ai-explainer { padding-block: 68px; }.ai-showcase { gap: 18px; } }
.site-chat-consent { display: flex; align-items: start; gap: 7px; margin: 0; padding: 0 16px 10px; color: #d5e0ee; font-size: 11px; line-height: 1.35; cursor: pointer; }.site-chat-consent input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: #3c85ef; }.site-chat-support { margin: -3px 12px 10px; font-size: 11px; color: #aebed5; }.site-chat-support a { color: #b5d2ff; }
.site-chat-messages a { color: #c1d9ff; text-decoration: underline; }
