/* Hide visitor UI until its saved site theme has been applied. */
body[data-mode=visitor]:not([data-theme-ready=true]) .shell{visibility:hidden}
/* Reference geometry is scoped to the visitor's reference layout. */
body[data-layout=reference]:not([data-reference-design]){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#222;background:#fff}
[data-layout=reference]:not([data-reference-design]) .shell{position:relative;isolation:isolate;overflow:hidden;background:var(--chat-background);max-width:960px;margin:0 auto}
.surface-art{display:none}
[data-layout=reference]:not([data-reference-design]) .surface-art{display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--chat-background);overflow:hidden}
.surface-art i{position:absolute;inset:0;background:var(--secondary)}
.surface-art i:nth-child(1){clip-path:polygon(0 88%,100% 65%,100% 100%,0 100%)}
.surface-art i:nth-child(2){background:var(--accent);opacity:.65;clip-path:polygon(0 80%,100% 95%,100% 100%,0 100%)}
.surface-art i:nth-child(3){background:#34221d;opacity:.7;clip-path:polygon(0 87%,16% 84%,100% 100%,0 100%)}
[data-pattern=plain] .surface-art i,[data-background-image=true] .surface-art i{display:none}
#backgroundImage{height:100%;width:100%;object-fit:cover;object-position:center bottom}
[data-layout=reference]:not([data-reference-design]) .window-controls{height:40px;justify-content:flex-end;padding:0 8px;background:#fff;border:0}
[data-layout=reference]:not([data-reference-design]) .window-controls>span,[data-layout=reference]:not([data-reference-design]) #widgetMinimize{display:none}
body[data-layout=reference]:not([data-reference-design])[data-embedded=true] #widgetMinimize{display:grid}
[data-layout=reference]:not([data-reference-design]) .window-controls button{height:40px;width:40px;border:0;border-radius:0;color:#777}
.window-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round}
.window-controls{position:relative;z-index:4}
#widgetMenuPanel{position:absolute;right:48px;top:40px;background:#fff;box-shadow:0 2px 8px #0002;min-width:140px;display:block}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #widgetMenuPanel button{width:100%;height:40px;font-size:14px;text-align:left;display:block;padding:10px 16px}
#ratingDialog{width:min(350px,calc(100vw - 32px));padding:32px 24px 20px;color:#222;border-radius:8px}
#ratingDialog::backdrop{background:#0005}
#ratingDialog textarea{color:#222;background:#fff}
.rating-stars{border:0;padding:0;display:flex;gap:12px;margin:20px 0}
.rating-stars legend{font-size:14px;margin-bottom:10px}
.rating-stars label{position:relative;margin:0;cursor:pointer;font-size:28px;color:#777}
.rating-stars input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.rating-stars input:checked+span{color:var(--accent)}
.rating-stars input:focus-visible+span{outline:2px solid var(--accent)}
#ratingSend{width:100%;font-size:16px;font-weight:400}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .support-banner{position:relative;height:var(--banner-height,53px);min-height:var(--banner-height,53px);max-height:var(--banner-height,53px);display:flex;overflow:hidden}
#bannerImage{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor][data-banner-image=true][data-banner-fit=intrinsic] .support-banner{height:auto;min-height:0;max-height:none;padding:0;background:#fff;display:block}
[data-banner-fit=intrinsic] #bannerImage{position:static;display:block;width:100%;max-width:750px;height:auto;object-fit:contain}
[data-banner-fit=intrinsic][data-banner-image=true] .support-banner strong,[data-banner-fit=intrinsic][data-banner-image=true] .support-banner span{display:none}
[data-banner-image=true] .support-banner strong,[data-banner-image=true] .support-banner span{visibility:hidden}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] header:not(.window__headerContainer){background:transparent;color:#555;padding:0;flex:none}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] header:not(.window__headerContainer)>*:not(#status){display:none}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #status{font-size:11px;line-height:16px;min-height:16px;padding:8px 16px;margin:0;text-align:center;opacity:1}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor]:not([data-chat-state=chat]):not([data-chat-notice=true]) header:not(.window__headerContainer){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry{margin:16px 16px 30px;padding:16px max(6px,calc(var(--form-inset,32px) - 10px)) 16px max(0px,calc(var(--form-inset,32px) - 16px));background:#fffffff2;border-radius:12px;box-shadow:0 0 8px #00000006}
[data-layout=reference]:not([data-reference-design]) .prechat-content{padding:8px;border:1px solid #ddd;background:#f2f2f2}
[data-layout=reference]:not([data-reference-design]) .prechat-welcome{padding:20px 12px;border:1px solid #ddd;border-bottom:5px solid var(--secondary);border-radius:12px 12px 0 0;margin:0;background:#25282d}
[data-layout=reference]:not([data-reference-design]) .prechat-welcome h2{font-size:20px;line-height:26px;margin:0;font-weight:800}
[data-layout=reference]:not([data-reference-design]) .prechat-welcome #welcome{display:none}
[data-layout=reference]:not([data-reference-design]) #prechatCards{padding:0 10px;background:#fff;border:1px solid #ddd;border-top:0}
[data-layout=reference]:not([data-reference-design]) .prechat-card{margin:12px 0;padding:12px;border-color:#f0b5b5;background:#fff1f1}
[data-layout=reference]:not([data-reference-design]) .prechat-card h3{font-size:16px;line-height:22px;margin:0 0 8px;font-weight:800}
[data-layout=reference]:not([data-reference-design]) .prechat-card p{font-size:14px;line-height:20.8px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-success{background:#edf9f0;border-color:#a9d8b5}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-highlight{background:#fff8db;border-color:#eed36b}
[data-layout=reference]:not([data-reference-design]) #prechatLinks{margin:0;background:#fff;padding:12px 10px;border:1px solid #ddd;border-top:0;gap:8px}
[data-layout=reference]:not([data-reference-design]) #prechatLinks a{background:var(--secondary);color:#222}
[data-layout=reference]:not([data-reference-design]) #prechatLinks a:nth-child(2){background:#25282d;color:var(--secondary)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry input,body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry select{height:var(--input-height,40px);min-height:var(--input-height,40px);border:1px solid #21212133;border-radius:var(--control-radius,8px);padding:10px 16px;font-size:14px;color:#000;background:#fff}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry label{font-size:14px;margin-bottom:16px;line-height:18px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry button{height:var(--input-height,40px);min-height:var(--input-height,40px);padding:9px 16px;border-radius:var(--control-radius,8px);font-size:16px;font-weight:400;box-shadow:none}
#retentionNotice:empty{display:none}
[data-layout=reference]:not([data-reference-design]) .required-note{margin:16px 0 24px;font-size:10px;line-height:14px}
[data-layout=reference]:not([data-reference-design]) #startLabel{margin-top:8px}
.prechat-row{background:#fff;border:1px solid #e2e7e4;border-left:3px solid #4b9565;padding:10px 12px;margin:8px 0 0;font-size:13px}
.prechat-row strong{display:block;font-size:13px;line-height:1.4}
.prechat-card.tone-highlight .prechat-row{background:#25282d;border:1px solid #666;border-radius:6px;color:var(--secondary)}
.prechat-card.tone-highlight .prechat-row p{color:#fff;font-size:11px;margin-top:4px}
.prechat-card p:empty,.prechat-row strong:empty{display:none}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #messages{background:transparent;padding:8px 24px 15px;gap:12px;min-height:0}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message{background:transparent;border:0;padding:0;box-shadow:none;color:#222;max-width:92%;border-radius:0;animation:reference-message .458s ease-out both}
[data-layout=reference]:not([data-reference-design]) .message-content{padding:12px 16px;border-radius:var(--bubble-radius,8px);background:var(--agent-bubble,#fff);color:var(--agent-text,#222);box-shadow:none;font-size:14px;line-height:1.45}
[data-layout=reference]:not([data-reference-design]) .message.self .message-content{background:var(--accent);color:var(--accent-text)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message p{line-height:1.45}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose{position:relative;flex:none;align-items:center;gap:4px;margin:0 12px 0;padding:4px 4px 4px 16px;min-height:var(--composer-height,48px);background:#fff;border:1px solid rgba(33,88,230,.14);border-radius:var(--control-radius,8px);box-shadow:0 1px 6px rgba(0,0,0,.16)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose textarea{height:20px;min-height:20px;max-height:120px;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#222;font-size:14px;line-height:20px;outline-offset:3px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose{min-height:calc(var(--composer-height,48px) + 2px);margin-bottom:28px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose textarea{margin-right:-2px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose>button{height:36px;width:36px;min-width:36px;flex:0 0 36px;align-self:flex-end;padding:7px;border:0;border-radius:4px;background:transparent;color:#666;display:grid;place-items:center;font-size:20px;font-weight:400}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose>button:hover:not(:disabled){background:rgba(114,114,114,.08)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose[data-has-text=true] #send{background:var(--accent);color:var(--accent-text);border-radius:4px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose svg{width:20px;height:20px}
#compose svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
#emojiToggle{background:transparent;color:inherit;padding:8px}
#emojiPanel{position:absolute;right:40px;bottom:calc(100% + 4px);display:grid;grid-template-columns:repeat(8,1fr);gap:4px;width:min(280px,calc(100vw - 32px));padding:12px;background:#fff;border-radius:3px;box-shadow:0 2px 10px #0002;z-index:3;animation:reference-fade .15s ease-out}
#emojiPanel button{font-size:23px;font-weight:400;line-height:28px;width:28px;height:32px;padding:0;border:0;background:transparent;color:#222;border-radius:4px}
#emojiPanel button:hover{background:#eee}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .file-help{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
#endDialog{width:min(340px,calc(100vw - 40px));padding:32px 24px 20px;border-radius:8px;text-align:center;font-size:14px;color:#222;animation:reference-fade .15s ease-out}
#endDialog::backdrop{background:#0005}
.dialog-dismiss{position:absolute;right:6px;top:2px;background:transparent;color:#666;border:0;font-size:24px;padding:2px 8px}
.dialog-actions{display:flex;justify-content:center;gap:12px;margin-top:20px}.dialog-actions button{min-width:90px;border-radius:var(--control-radius,8px)}
#endStatus:empty{display:none}
@keyframes reference-message{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes reference-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message,#emojiPanel,#endDialog{animation:none}}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message{max-width:min(var(--message-width,92%),calc(100% - 24px),840px)}
/* The reference gives agent rows a 24px gutter and treats 400+ rendered characters as long. */
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message.message-long{width:100%}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message.self{max-width:min(var(--message-width,92%),840px)}
@media(min-width:601px) and (max-width:960px){body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message.message-long:not(.self) .message-content{width:87.5%}body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message.message-long.self{width:87.5%}}
@media(min-width:961px){body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message.message-long{width:840px}}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #messages{gap:var(--message-spacing,12px)}
[data-layout=reference]:not([data-reference-design]) .message-content{border-radius:var(--message-radius,8px);font-size:var(--message-font,14px)}
[data-layout=reference]:not([data-reference-design]) .message.self .message-content{background:var(--visitor-bubble);color:var(--visitor-text)}
.welcome-image{display:block;width:var(--image-width,240px);max-width:100%;height:auto;border-radius:var(--message-radius,8px);margin-top:8px}
.welcome-link{display:block;margin-top:10px;padding:10px 14px;border-radius:var(--control-radius,8px);background:var(--accent);color:var(--accent-text);text-align:center;text-decoration:none;overflow-wrap:anywhere}
[data-mode=visitor] .image-button img{max-width:var(--image-width,240px);max-height:var(--image-width,240px)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message{animation-duration:var(--message-duration,458ms)}
body[data-motion=none] .message,body[data-motion=none] #emojiPanel,body[data-motion=none] #endDialog{animation:none}
[data-mode=visitor][data-chat-closed=true] #chat{display:block;overflow:auto}
[data-mode=visitor][data-chat-closed=true] #messages{overflow:visible;min-height:0}
#postchatReview{padding:20px;margin:12px 16px 28px;border-radius:8px;background:#fffffff2;color:#222}
#postchatReview textarea{background:#fff;color:#222}

/* Typography measured from the reference DOM; no vendor code imported. */
body[data-layout=reference]:not([data-reference-design]){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,Arial}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry button{font-weight:600;line-height:20px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-info h3{color:#b3261e;line-height:20.8px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-info p{color:#5e2b2b;font-size:13px;line-height:19.5px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-success h3{color:#197a37;line-height:21.6px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-success .prechat-row p{color:#197a37;font-size:12px;font-weight:700;line-height:16.8px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-highlight h3{color:#27282b;line-height:21.6px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-highlight .prechat-row strong{font-size:16px;font-weight:800;line-height:22.8571px}
[data-layout=reference]:not([data-reference-design]) .prechat-card.tone-highlight .prechat-row p{font-size:13px;line-height:18.2px}
[data-layout=reference]:not([data-reference-design]) #prechatLinks a{font-size:14px;font-weight:800;line-height:20px;padding:13px 6px}

body[data-mode=visitor] #entry .form-checkbox{display:flex;gap:10px;align-items:flex-start}body[data-mode=visitor] #entry .form-checkbox input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0}#formComponents .form-note{white-space:pre-wrap;font-size:13px;line-height:1.5}#formComponents textarea{margin-top:6px;font-weight:400}#formComponents label span{overflow-wrap:anywhere}

body[data-layout=reference]:not([data-reference-design])[data-font-family=arial]{font-family:Arial,Helvetica,sans-serif}
[data-layout=reference]:not([data-reference-design]) .window-controls{background:var(--toolbar-background,#fff)}
[data-layout=reference]:not([data-reference-design]) .window-controls button{color:var(--toolbar-text,#777)}
[data-layout=reference]:not([data-reference-design]) #widgetMenuPanel button{color:#222}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-content{padding:0;border:0;background:transparent}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-welcome{padding:0;border:0;background:transparent;color:inherit;border-radius:0}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-welcome h2{font-size:16px;line-height:1.5;font-weight:700;color:inherit}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-welcome #welcome{display:block;color:inherit;font-size:14px}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] #prechatCards,[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] #prechatLinks{padding:0;border:0;background:transparent}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-card,[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-row{padding:0;border:0;background:transparent;color:inherit}
[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-card h3,[data-layout=reference]:not([data-reference-design])[data-prechat-style=plain] .prechat-card p{color:inherit}

[data-layout=reference]:not([data-reference-design]) .message-content{padding:15px 19px;border:1px solid #f5f5f5;line-height:1.428571;border-top-left-radius:0}
[data-layout=reference]:not([data-reference-design]) .message.self .message-content{border-color:var(--visitor-bubble);border-top-left-radius:var(--message-radius,12px);border-top-right-radius:0}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message-content .message-link{color:#323dbf;border-bottom:1px solid #323dbf;text-decoration:none}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .image-message .message-content{padding:0;border:0;background:transparent;box-shadow:none}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .image-message .image-button,body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .image-message .image-button img{border-radius:var(--message-radius,12px)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .image-message .attachment{display:none}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message p{line-height:1.428571}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message{animation-timing-function:cubic-bezier(.785,.135,.15,.86)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose textarea{max-height:140px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #messages{scrollbar-width:auto}#messages::-webkit-scrollbar{width:6px}#messages::-webkit-scrollbar-thumb{background:#a6a6a6;border-radius:4px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #entry{background:rgba(255,255,255,.9);backdrop-filter:blur(16px);box-shadow:0 2px 6px #00000014}
@media(max-width:600px){body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #compose textarea{font-size:16px}}

/* Menu and confirmation geometry from the published visitor stylesheet. */
[data-layout=reference]:not([data-reference-design]) #widgetMenuPanel{width:150px;min-width:150px;padding:4px 0;border-radius:4px;box-shadow:0 1px 6px #0003}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #widgetMenuPanel button{height:auto;min-height:40px;display:flex;align-items:center;gap:8px;padding:10px 16px;color:#666;font-size:14px;line-height:20px}
#widgetMenuPanel .control-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:90px}
#widgetMenuPanel svg{width:20px;height:20px;flex:none;stroke-width:1.3}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #widgetMenuPanel button:hover,body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] #widgetMenuPanel button:focus-visible{color:#000;background:#72727214;outline:0}
[data-layout=reference]:not([data-reference-design]) .window-controls button:hover{background:#0000001a}
#endDialog,#ratingDialog{width:min(305px,calc(100vw - 32px));padding:36px 18px 28px;border-radius:5px;box-shadow:0 0 10px #0005;font-size:14px;line-height:1.42857143;color:#333}
#endDialog[open],#ratingDialog[open]{animation:reference-dialog .333s cubic-bezier(.785,.135,.15,.86) both}
#endDialog::backdrop,#ratingDialog::backdrop{background:#0008}
#endQuestion{margin:0 0 24px;color:#000;line-height:20px;text-align:center}
.dialog-actions{justify-content:space-between;gap:10px;margin-top:10px}.dialog-actions button{max-width:50%;flex:1;min-width:0;overflow-wrap:anywhere}
.dialog-dismiss{right:10px;top:10px;padding:0;width:20px;height:20px;display:grid;place-items:center;background:transparent;border:0;border-radius:0}
.dialog-dismiss svg{width:20px;height:20px;fill:none;stroke:#727272;stroke-width:1.5}.dialog-dismiss:hover svg{stroke:#000}
@keyframes reference-dialog{from{transform:scale(0)}to{transform:scale(1)}}
@keyframes reference-message{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#endDialog[open],#ratingDialog[open]{animation:none}}
body[data-motion=none] #endDialog[open],body[data-motion=none] #ratingDialog[open]{animation:none}
.dialog-actions button,#ratingSend{padding:9px 16px;font-size:16px;line-height:20px;font-weight:600;border-radius:var(--control-radius,8px)}
#endCancel{background:#e8e8e8;border-color:#e8e8e8;color:#000}#endCancel:hover{background:#c4c4c4;border-color:#c4c4c4}
#ratingTitle{margin:0 0 13px;line-height:20px}
.rating-stars{gap:10px}.rating-stars label{width:24px;height:24px;flex:0 0 24px;font-size:0;line-height:0}
.rating-stars svg{width:24px;height:24px;fill:#fff;stroke:#626262;stroke-width:1}
.rating-stars label:has(input:checked) svg,.rating-stars label:has(~ label input:checked) svg{fill:#ff9f49;stroke:#ff9f49}
.rating-stars:has(label:hover) label svg{fill:#fff;stroke:#626262}
.rating-stars label:hover svg,.rating-stars label:has(~ label:hover) svg{fill:#ff9f49!important;stroke:#ff9f49!important}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor]:not([data-chat-notice=true]) header:not(.window__headerContainer){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
.message-meta .message-time{margin-left:8px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message{position:relative}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message .message-meta{display:flex;align-items:center;height:24px;line-height:24px;margin:0 0 2px;font-size:12px;color:#727272;opacity:1}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message-meta .message-sender{font-size:12px;font-weight:500;color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:18px}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message-meta .message-time{font-size:12px;line-height:24px;opacity:.8}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message.self .message-meta{justify-content:flex-end;margin-bottom:0}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message .receipt{position:absolute;left:-20px;bottom:14px;width:20px;height:20px;font-size:0;line-height:0;opacity:1}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message .receipt::before{content:'';display:block;position:relative;top:0;left:50%;transform:translate(-50%,-50%);width:6px;height:6px;border-radius:50%;background:var(--accent)}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message .receipt[data-seen=true]::before{animation:reference-seen .5s linear forwards}
@keyframes reference-seen{20%{width:5px;height:5px;opacity:1}50%,55%{width:8px;height:8px;opacity:1}to{width:2px;height:2px;opacity:0}}
@media(prefers-reduced-motion:reduce){body[data-layout=reference]:not([data-reference-design])[data-mode=visitor] .message .receipt[data-seen=true]::before{animation:none;opacity:0}}
body[data-layout=reference]:not([data-reference-design])[data-mode=visitor][data-motion=none] .message .receipt[data-seen=true]::before{animation:none;opacity:0}
