.msgrace{--mg-ink:light-dark(#25234c,#eeedf9);--mg-paper:light-dark(#fff,#191a25);--mg-soft:light-dark(#f3f3fa,#242536);--mg-line:light-dark(#dedeea,#45465c);--mg-muted:light-dark(#595a70,#bfc0d5);--mg-brand:#28245d;--mg-button-ink:#fff;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--mg-ink);text-align:left;box-sizing:border-box}
.msgrace *{box-sizing:border-box}.msgrace [hidden]{display:none!important}.msgrace button,.msgrace input,.msgrace textarea{font:inherit}.msgrace button,.msgrace a{touch-action:manipulation}.msgrace button{cursor:pointer;min-height:42px}.msgrace button:focus-visible,.msgrace a:focus-visible,.msgrace input:focus-visible,.msgrace textarea:focus-visible{outline:3px solid #ac8ee7;outline-offset:3px}.msgrace .msg-panel{background:var(--mg-paper);border:1px solid var(--mg-line);border-radius:20px;box-shadow:0 12px 38px #00000017;overflow:hidden}.msgrace .msg-header{display:flex;align-items:center;gap:12px;padding:17px 20px;background:var(--mg-brand);color:#fff}.msgrace .msg-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#eee;overflow:hidden;color:#28245d;display:grid;place-items:center;font-size:22px}.msgrace .msg-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 28%;transform:scale(1.7);transform-origin:50% 28%}.msgrace .msg-heading{display:flex;flex-direction:column;flex:1}.msgrace .msg-heading strong{font-size:19px;font-weight:650}.msgrace .msg-heading span{font-size:12px;color:#e3e0f5}.msgrace .msg-close{border:0;background:transparent;color:#fff;padding:4px 8px}.msgrace .msg-brand{padding:15px 20px 0;background:#fff}.msgrace .msg-brand img{display:block;width:min(210px,85%);height:auto;padding-bottom:12px}.msgrace .msg-preview{margin:0;padding:10px 20px;background:var(--mg-soft);color:var(--mg-muted);font-size:12px}.msgrace .msg-messages{padding:18px 20px;display:flex;flex-direction:column;gap:14px;overflow-wrap:anywhere}.msgrace .msg-bubble{max-width:95%;padding:13px 15px;border-radius:14px;background:var(--mg-soft);align-self:flex-start}.msgrace .msg-bubble strong{display:block;font-size:12px;font-weight:650;margin-bottom:4px;color:var(--mg-muted)}.msgrace .msg-bubble p{margin:0;white-space:pre-wrap;font-size:14px;line-height:1.6;color:var(--mg-ink)}.msgrace .msg-visitor{align-self:flex-end;background:var(--mg-brand);color:#fff}.msgrace .msg-visitor strong,.msgrace .msg-visitor p{color:#fff}.msgrace .msg-bubble button{margin-top:10px;border:1px solid var(--mg-line);background:var(--mg-paper);color:var(--mg-ink);padding:8px 13px;border-radius:8px;text-align:left;font-size:13px}.msgrace .msg-quick{display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 13px}.msgrace .msg-quick button{border:1px solid var(--mg-line);background:var(--mg-paper);color:var(--mg-ink);border-radius:24px;font-size:12px;padding:7px 11px;min-height:36px}.msgrace .msg-form{display:flex;gap:8px;margin:0;padding:13px 20px;border-top:1px solid var(--mg-line)}.msgrace .msg-form input{min-width:0;flex:1;width:100%;background:var(--mg-paper);color:var(--mg-ink);border:1px solid var(--mg-line);padding:11px 12px;border-radius:9px;font-size:16px;box-shadow:none;height:auto}.msgrace .msg-form button{border:0;background:var(--mg-brand);color:#fff;border-radius:9px;padding:10px 17px;font-size:14px}.msgrace .msg-handoff{margin:0 20px 12px;padding:12px 14px;border-left:3px solid #bf32a6;background:var(--mg-soft);font-size:13px;overflow-wrap:anywhere}.msgrace .msg-handoff a{color:var(--mg-ink);font-weight:650;text-decoration:underline}.msgrace .msg-links{display:flex;gap:4px 14px;flex-wrap:wrap;padding:0 20px}.msgrace .msg-links button{background:none;border:0;color:var(--mg-ink);text-decoration:underline;font-size:12px;padding:3px 0;min-height:32px}.msgrace .msg-footer{font-size:11px;color:var(--mg-muted);padding:10px 20px 16px;margin:0}.msgrace .msg-transcript{padding:12px 20px}.msgrace .msg-transcript label{display:block;font-size:12px;margin-bottom:6px}.msgrace .msg-transcript textarea{width:100%;padding:10px;border:1px solid var(--mg-line);border-radius:8px;color:var(--mg-ink);background:var(--mg-paper);font-size:13px;resize:vertical}.msgrace .msg-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.msgrace .msg-launcher{border:0;border-radius:30px;padding:14px 24px;background:var(--mg-brand);color:#fff;box-shadow:0 5px 22px #0003;font-weight:650}.msgrace-floating{position:fixed;right:22px;bottom:22px;z-index:2147482000}.msgrace-floating .msg-panel{position:absolute;right:0;bottom:65px;width:min(420px,calc(100vw - 30px));max-height:calc(100dvh - 110px);overflow:auto}.msgrace-floating .msg-messages{max-height:300px;overflow-y:auto}.msgrace-inline{max-width:620px;margin:0 auto}.msgrace-inline .msg-panel{box-shadow:0 8px 28px #0000000d}.msgrace-inline .msg-messages{min-height:120px}@media(max-width:420px){.msgrace .msg-header{padding:14px}.msgrace .msg-messages{padding:14px;gap:10px}.msgrace .msg-form{padding:12px 14px}.msgrace .msg-quick,.msgrace .msg-links{padding-left:14px;padding-right:14px}.msgrace .msg-quick button{min-height:44px}.msgrace .msg-bubble{max-width:100%}.msgrace-floating{right:15px;bottom:15px}}
.msgrace .msg-launcher{display:flex;align-items:center;gap:10px;padding:9px 18px 9px 9px}.msgrace .msg-launcher-avatar{display:block;width:36px;height:36px;border-radius:50%;overflow:hidden;background:#fff}.msgrace .msg-launcher-avatar img{width:100%;height:100%;object-fit:cover;transform:scale(1.7);transform-origin:50% 28%;object-position:50% 28%}.msgrace-floating{bottom:var(--mg-bottom,22px)}.msgrace-floating .msg-panel{max-height:calc(100dvh - var(--mg-bottom,22px) - 85px)}
.msgrace .msg-links a{display:inline-flex;align-items:center;min-height:32px;color:var(--mg-ink);font-size:12px;text-decoration:underline}.msgrace .msg-bubble a{display:inline-flex;align-items:center;min-height:42px;margin-top:10px;border:1px solid var(--mg-line);background:var(--mg-paper);color:var(--mg-ink);padding:8px 13px;border-radius:8px;text-align:left;font-size:13px;text-decoration:none}
.msgrace .msg-working{margin:0;padding:0 20px 12px;font-size:12px;color:var(--mg-muted)}.msgrace .msg-sources{display:flex;flex-direction:column;gap:6px;margin-top:10px}.msgrace .msg-sources .msg-source{margin:0;padding:9px 12px;display:block;text-decoration:underline;overflow-wrap:anywhere}.msgrace button:disabled{opacity:.65;cursor:wait}
.msgrace-floating .msg-panel{display:flex;flex-direction:column;height:min(640px,calc(100dvh - var(--mg-bottom,22px) - 85px));overflow:hidden}.msgrace-floating .msg-messages{flex:1 1 auto;min-height:50px;max-height:none;overflow-y:auto}.msgrace-floating .msg-header,.msgrace-floating .msg-brand,.msgrace-floating .msg-preview,.msgrace-floating .msg-quick,.msgrace-floating .msg-form,.msgrace-floating .msg-links,.msgrace-floating .msg-footer,.msgrace-floating .msg-working,.msgrace-floating .msg-handoff{flex-shrink:0}.msgrace-floating .msg-transcript{flex:1 1 auto;min-height:0;overflow:auto}
@media(max-width:600px){.msgrace-floating .msg-quick{display:none}.msgrace-floating .msg-header{padding:10px 14px}.msgrace-floating .msg-brand{padding:10px 14px 0}.msgrace-floating .msg-brand img{width:160px;padding-bottom:8px}.msgrace-floating .msg-footer{padding:8px 14px 10px;font-size:10px}.msgrace-floating .msg-links{gap:0 12px}}
@media(max-width:600px){.msgrace-floating:has(.msg-panel:not([hidden])){--mg-bottom:12px!important}}
@media(max-width:600px) and (max-height:600px){.msgrace-floating .msg-brand{display:none}}
