.support-chat{margin:36px 0 52px;padding:30px;background:#e7edda;border-radius:22px}.support-chat-intro{display:flex;align-items:center;justify-content:space-between;gap:30px}.support-chat.is-open .support-chat-intro{display:none}.support-chat-intro h2{font-size:clamp(32px,4vw,46px);margin:8px 0 12px}.support-chat-intro p:not(.eyebrow){max-width:640px;color:var(--muted);margin:0}.support-chat-open{cursor:pointer}.support-chat-panel[hidden],[hidden]{display:none!important}.support-chat-panel{position:fixed;z-index:1000;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 36px));height:min(780px,calc(var(--support-chat-vh,100dvh) - 48px));display:flex;flex-direction:column;overflow:hidden;padding:22px;background:var(--paper);border:1px solid #cbd8ce;border-radius:18px;box-shadow:0 16px 60px #092b2690}.support-chat.is-open:before{content:"";position:fixed;z-index:999;inset:0;background:#0d252099}.support-chat-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #d8dfd3;padding:0 0 12px;flex:0 0 auto}.support-chat-panel-head h3{margin:0 0 3px;font-size:21px}.support-chat-panel-head p{font-size:12px;color:var(--muted);margin:0}.support-icon-button{border:1px solid #bac7bf;background:transparent;color:var(--ink);border-radius:50%;font-size:26px;line-height:1;width:42px;height:42px;cursor:pointer;flex:0 0 auto}.support-chat-loading{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:100px;color:#3f5750}.support-chat-loading .support-text-button,.support-chat-loading>a{margin-left:6px}.support-chat-start{max-width:760px;overflow:auto;padding:12px 2px 4px}.support-chat-start>p,.support-chat-escalation>p{font-size:14px;color:#3f5750}.support-chat label,.support-admin-login label,.support-admin-toolbar label{display:grid;gap:7px;font-size:13px;font-weight:650;margin:14px 0}.support-chat input,.support-chat textarea,.support-admin input,.support-admin select{font:inherit;color:var(--ink);background:white;border:1px solid #bac7bf;border-radius:10px;padding:12px 13px;width:100%;min-width:0}.support-chat textarea{resize:vertical;font-size:16px;line-height:1.45}.support-chat input:focus,.support-chat textarea:focus,.support-admin input:focus,.support-admin select:focus{outline:3px solid #268863;outline-offset:2px}.support-chat-start .primary{margin-top:5px}.support-chat-optional{margin:13px 0}.support-chat-optional summary{color:#087454;font-size:14px;font-weight:600;cursor:pointer;padding:7px 0}.support-chat-active{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:10px}.support-chat-messages{display:grid;align-content:start;gap:10px;flex:1;min-height:50px;overflow-y:auto;overscroll-behavior:contain;padding:3px 4px 12px;scrollbar-gutter:stable}.support-chat-message{max-width:min(86%,680px);border-radius:14px;padding:11px 14px;white-space:pre-wrap;overflow-wrap:anywhere;background:#edf0e8;color:#26453b}.support-chat-message[data-role=user]{justify-self:end;background:#123d37;color:white}.support-chat-message small{display:block;font-size:10px;opacity:.7;margin-bottom:4px}.support-chat-message-pending{border:1px dashed #8aa397}.support-chat-message[data-delivery=failed]{opacity:.75}.support-chat-working{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:7px 4px;color:#3f5750;font-size:13px}.support-chat-spinner{width:16px;height:16px;border:2px solid #bac7bf;border-top-color:#087454;border-radius:50%;animation:support-chat-spin .8s linear infinite;flex:0 0 auto}.support-chat-ticket{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;flex:0 0 auto;padding:8px 10px;border-radius:10px;background:#edf0e8;color:#25463c;font-size:13px;line-height:1.4}.support-chat-ticket:empty{display:none}.support-chat-ticket .support-text-button{min-height:32px;padding:4px 0}.support-chat-ticket a{font-size:13px;color:#087454}.support-chat-actions{display:flex;gap:20px;flex:0 0 auto;padding:2px 2px 4px}.support-text-button{border:0;background:transparent;color:#087454;text-decoration:underline;text-underline-offset:3px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;min-height:40px;padding:8px 0}.support-text-button:hover{color:#123d37}.support-chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;flex:0 0 auto;border-top:1px solid #d8dfd3;padding-top:10px}.support-chat-input-label{grid-column:1/-1;font-size:13px!important;margin:0!important}.support-chat-compose textarea{min-height:50px;max-height:130px;resize:vertical}.support-chat-compose-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px}.support-chat-compose-foot .primary{min-width:82px;min-height:46px}.support-chat-escalation{flex:0 0 auto;max-height:38vh;overflow:auto;border-top:1px solid #d8dfd3;margin-top:8px;padding-top:8px}.support-chat-escalation p{margin:0;font-size:13px}.support-chat-escalation label{margin:9px 0}.support-chat-escalation textarea{font-size:16px}.support-chat-escalation .support-chat-compose-foot{justify-content:space-between}.support-chat-close-note{flex:0 0 auto;font-size:11px;color:#63716b;margin:7px 0 0}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.support-chat{margin:25px 0 40px;padding:20px 16px;border-radius:17px}.support-chat-intro{align-items:stretch;flex-direction:column;gap:18px}.support-chat-intro h2{font-size:34px}.support-chat-open{width:100%;justify-content:space-between}.support-chat.is-open:before{background:#f7f8f2}.support-chat-panel{inset:var(--support-chat-top,0px) 0 auto;width:100%;height:var(--support-chat-vh,100dvh);max-height:none;transform:none;border:0;border-radius:0;padding:calc(env(safe-area-inset-top) + 8px) 12px calc(env(safe-area-inset-bottom) + 7px);box-shadow:none}.support-chat-panel-head{min-height:48px}.support-chat-active{padding-top:6px}.support-chat-messages{padding:2px 1px 8px;scrollbar-width:thin}.support-chat-message{max-width:94%;padding:10px 12px}.support-chat-working{padding:5px 2px}.support-chat-actions{gap:18px}.support-chat-actions .support-text-button{font-size:13px;min-height:34px}.support-chat-compose{gap:6px;padding-top:7px}.support-chat-compose textarea{min-height:48px;max-height:105px;padding:10px;font-size:16px}.support-chat-compose-foot .primary{min-height:46px}.support-chat-close-note{margin-top:4px}.support-chat-start{padding-top:7px}.support-chat-start>p{font-size:13px;margin:8px 0}.support-chat-escalation{max-height:34vh}}
@media(max-width:360px){.support-chat{padding:16px 12px}.support-chat-panel{padding-left:9px;padding-right:9px}.support-chat-compose{grid-template-columns:minmax(0,1fr) 72px;gap:5px}.support-chat-compose-foot .primary{min-width:72px}.support-chat-actions{gap:12px}.support-chat-actions .support-text-button{font-size:12px}.support-chat-ticket{font-size:12px;padding:6px 8px}}
@keyframes support-chat-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.support-chat-spinner{animation:none}}
.support-chat-ticket strong{font-weight:700}.support-chat-ticket small{font-size:11px;color:#50615b}.support-chat-restore-draft{margin-top:7px}

.support-chat.is-contact-open .support-chat-messages,.support-chat.is-contact-open .support-chat-working,.support-chat.is-contact-open .support-chat-ticket,.support-chat.is-contact-open .support-chat-actions,.support-chat.is-contact-open .support-chat-compose{display:none}.support-chat.is-contact-open .support-chat-escalation{flex:1;min-height:0;max-height:none;border:0;margin:0;padding:5px 2px;overflow:auto}

.support-chat input{font-size:16px}
