/* Standalone version of the reference site's floating chat. All rules are scoped. */
#support-chat { position:fixed;right:20px;bottom:20px;z-index:9990;font-family:Manrope,system-ui,sans-serif;font-size:14px;line-height:1.5;color:#111827; }
#support-chat [hidden] { display:none!important; }
#support-chat button { cursor:pointer; }
#support-chat .support-launcher { position:relative;width:56px;height:56px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--color-button-primary,#0b214f);color:white;box-shadow:0 4px 12px #0003;font-size:24px; }
#support-chat .support-badge { position:absolute;top:-4px;right:-4px;width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;font-size:11px;display:grid;place-items:center; }
#support-chat .support-preview { position:absolute;bottom:70px;right:0;width:260px;border:1px solid #dce2ed;border-radius:12px;padding:14px;background:white;text-align:left;box-shadow:0 8px 30px #0003;font-size:13px; }
#support-chat .support-panel { position:absolute;right:0;bottom:70px;width:380px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce2ed;border-radius:16px;background:#fff;box-shadow:0 12px 40px #0004; }
#support-chat .support-header { display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:var(--color-button-primary,#0b214f);color:#fff; }
#support-chat .support-agent { display:flex;align-items:center;gap:10px; }
#support-chat .support-avatar { width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#ffffff26;font-weight:700; }
#support-chat .support-title { display:flex;flex-direction:column; }
#support-chat .support-title strong { font-size:14px; }
#support-chat .support-title span { font-size:11px;opacity:.8; }
#support-chat .support-close { border:0;background:none;color:#fff;font-size:20px;padding:4px 8px; }
#support-chat .support-messages { flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;max-height:220px;min-height:100px; }
#support-chat .support-message { max-width:95%;background:#f1f5f9;border-radius:12px;padding:12px 14px;overflow-wrap:anywhere;white-space:pre-line;font-size:13px; }
#support-chat .support-message-user { align-self:flex-end;background:#e1ebff; }
#support-chat .support-message time { display:block;font-size:10px;opacity:.6;margin-top:4px; }
#support-chat .support-compose { display:flex;gap:8px;padding:12px 16px;border-top:1px solid #e2e8f0; }
#support-chat .support-compose input { min-width:0;flex:1;border:1px solid #dce2ed;border-radius:8px;padding:10px 12px;background:#f8fafc; }
#support-chat .support-send { width:40px;border:0;border-radius:8px;background:#0b214f;color:white; }
#support-chat .support-form-wrap { padding:14px 16px;border-top:1px solid #e2e8f0;overflow-y:auto; }
#support-chat .registration-form { display:flex;flex-direction:column;gap:10px; }
#support-chat .support-names { display:flex;gap:8px; }
#support-chat .input { width:100%;min-width:0;min-height:42px;border:1px solid #dce2ed;border-radius:8px;padding:10px 12px;background:#f8fafc;font-family:inherit;font-size:13px; }
#support-chat .support-names .input { width:calc(50% - 4px); }
#support-chat .support-submit { border:0;border-radius:10px;padding:12px;background:var(--color-button-primary,#0b214f);color:white;font-size:14px;font-weight:700; }
#support-chat .support-footer { margin:0;text-align:center;font-size:11px;color:#64748b; }
#support-chat :is(button,input):focus-visible { outline:2px solid #5380e4;outline-offset:2px; }
@media(max-width:480px) { #support-chat { right:16px;bottom:16px; } #support-chat .support-panel { width:calc(100vw - 32px);bottom:66px;max-height:calc(100dvh - 105px); } #support-chat .support-preview { width:calc(100vw - 80px); } }
