/* The conversation uses Oddberries' cream bubbles and blue visitor messages. */
.sn-contact-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;flex:1;min-height:0;padding:18px 0 22px}
.finished-study [data-id="contact"] .detail-inner{height:100%;min-height:0;display:flex;flex-direction:column}
.finished-study [data-id="contact"] .detail-top,.sn-contact-tabs{flex:none}
.sn-chat-view,.sn-enquiry-view{min-width:0;min-height:0}
.sn-chat-view{display:flex;flex-direction:column;background:#f5f3ec;border:1px solid #e1dfd6;border-radius:8px;overflow:hidden}
.sn-enquiry-view{border-left:1px solid #bbc5d2;padding-left:28px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.finished-study .sn-enquiry-view .enquiry-form{padding:0;max-width:none}
.finished-study .sn-enquiry-view h2{font:400 33px/1.03 Arial;letter-spacing:-.045em;margin:0 0 20px}
.sn-contact-split .form-row{grid-template-columns:1fr}.sn-contact-split .form-bottom{flex-wrap:wrap}
.sn-contact-tabs{display:none}
.ct-chat-heading{flex:none;padding:18px 20px 16px;border-bottom:1px solid #20211f20}
.finished-study .ct-chat-heading h2{font:500 16px/1.3 Arial;letter-spacing:0;margin:0;color:#20211f}
.finished-study .ct-chat-heading p{font:12px/1.4 Arial;color:#77776e;margin:4px 0 0}
.ct-chat-body{display:flex;flex-direction:column;flex:1;min-height:0}
.ct-chat-log{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d7d1c4 transparent;padding:6px 18px}
.ct-chat-welcome{flex:none;width:100%;padding:12px 0}.ct-chat-welcome[hidden]{display:none}
.ct-chat-intro,.ct-chat-message{max-width:90%;padding:13px 16px;border-radius:12px 12px 12px 2px;background:#e9e5da;color:#20211f;overflow-wrap:anywhere}
.ct-chat-intro .ct-label,.ct-chat-message .ct-label{display:block;font:10px/1.4 Arial;color:inherit;opacity:.7;margin-bottom:5px}
.finished-study .ct-chat-intro p,.finished-study .ct-chat-message p{font:14px/1.5 Arial;color:inherit;margin:0;white-space:pre-wrap}
.ct-chat-prompts{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-top:16px}
.ct-chat-prompts button{max-width:90%;padding:10px 13px;background:#fff;color:#003ccf;border:1px solid #d4d7e3;border-radius:14px 14px 2px 14px;font:12px/1.4 Arial;text-align:left;cursor:pointer}
.ct-chat-prompts button:hover{border-color:#003ccf}
.finished-study .ct-chat-welcome .ct-chat-note{font:10px/1.5 Arial;color:#77776e;margin:16px 0 0}
.ct-chat-message{flex:none;margin:9px 0}
.ct-chat-message[data-role=user]{align-self:flex-end;background:#003ccf;color:#fff;border-radius:12px 12px 2px 12px}
.ct-chat-form{flex:none;padding:12px 14px;border-top:1px solid #20211f20}
.ct-chat-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ct-chat-compose{display:flex;align-items:flex-end;gap:8px;padding:5px 5px 5px 14px;background:#fff;border:1px solid #dedbd2;border-radius:25px}
.ct-chat-compose:focus-within{border-color:#003ccf;box-shadow:0 0 0 1px #003ccf}
.ct-chat-form textarea{display:block;flex:1;min-width:0;width:100%;height:36px;min-height:36px;max-height:100px;resize:none;border:0;background:transparent;border-radius:0;font:15px/22px Arial;padding:7px 0;color:#20211f;margin:0;outline:none;box-shadow:none}
.ct-chat-form textarea::placeholder{color:#8b8b83;opacity:1}
.ct-chat-send{flex:none;display:flex}
.ct-chat-send button{display:grid;place-items:center;width:36px;height:36px;padding:0;min-height:36px;border:0;border-radius:50%;background:#003ccf;color:#fff;cursor:pointer}
.ct-chat-send button:disabled{opacity:.45;cursor:wait}
.ct-chat-send button:focus-visible,.ct-chat-prompts button:focus-visible{outline:2px solid #003ccf;outline-offset:3px}
.ct-chat-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.finished-study .ct-chat-status{font:11px/1.4 Arial;color:#637086;margin:8px 0 0}.ct-chat-status:empty{display:none}
.ct-chat-end{padding:8px 0 0;border:0;background:none;font:10px/1.4 Arial;color:#77776e;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.ct-chat-end[hidden]{display:none}
.ct-chat-check{margin:0}
.ct-chat-wait{display:flex;gap:5px;align-items:center;min-height:42px;padding:15px 17px}
.ct-chat-wait span{display:block;width:6px;height:6px;border-radius:50%;background:#948973;animation:sn-chat-dot 1.35s ease-in-out infinite}.ct-chat-wait span:nth-child(2){animation-delay:.16s}.ct-chat-wait span:nth-child(3){animation-delay:.32s}
@keyframes sn-chat-dot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@container(max-width:760px){.sn-contact-tabs{display:flex;gap:20px;border-bottom:1px solid #d4dbe4;padding-top:10px}.sn-contact-tabs button{border:0;border-bottom:2px solid transparent;padding:10px 0;background:none;font:13px Arial;color:#637086}.sn-contact-tabs [aria-pressed=true]{color:#003ccf;border-bottom-color:#003ccf}.sn-contact-split{grid-template-columns:1fr;gap:0;padding:14px 0}.sn-contact-split[data-view=chat] .sn-enquiry-view,.sn-contact-split[data-view=enquiry] .sn-chat-view{display:none}.sn-enquiry-view{padding:0;border:0}.ct-chat-heading{padding:12px 16px}.ct-chat-log{padding:4px 12px}.ct-chat-form{padding:10px}.ct-chat-message,.ct-chat-intro{max-width:92%}.finished-study .sn-enquiry-view h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.ct-chat-wait span{animation:none;opacity:.7}}

/* Hidden until the authenticated dispatcher has confirmed availability. */
#ct-support:not([data-support-online="true"]){display:none!important}
.sn-contact-split:not([data-chat-online="true"]){grid-template-columns:minmax(0,1fr)}
.sn-contact-split:not([data-chat-online="true"]) .sn-enquiry-view{display:block!important;max-width:720px;width:100%;margin:0 auto;padding:0;border:0}
.sn-contact-tabs:not([data-chat-online="true"]){display:none!important}
