.opus-chat-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));z-index:1000000;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:152px;height:52px;gap:10px;min-height:52px;padding:13px 21px;border:1px solid #aa7620;border-radius:28px;background:#aa7620;color:#fff;font:700 19px/1.3 Arial,Helvetica,sans-serif;box-shadow:0 4px 18px #17201d26;cursor:pointer}
.opus-chat-launcher:hover{background:#906119;border-color:#906119}
.opus-chat-launcher:focus-visible,.opus-chat-feedback a:focus-visible,.opus-chat-feedback button:focus-visible{outline:3px solid #17201d;outline-offset:4px}
.opus-chat-launcher:disabled{cursor:wait;opacity:.8}
.opus-chat-launcher[hidden],.opus-chat-feedback[hidden],.opus-chat-greeting[hidden],.opus-chat-owl[hidden]{display:none!important}
.opus-chat-feedback{box-sizing:border-box;max-height:calc(100dvh - 104px);overflow:auto;position:fixed;right:20px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:1000001;width:min(320px,calc(100vw - 40px));padding:22px 20px 18px;border:1px solid #d6b66f;border-radius:12px;background:#fff;color:#17201d;box-shadow:0 5px 25px #17201d26;font:15px/1.5 Arial,Helvetica,sans-serif}
.opus-chat-feedback p{margin:0 12px 12px 0}.opus-chat-feedback a{display:block;margin:8px 0;color:#765014;text-decoration:underline}
.opus-chat-feedback-close{position:absolute;right:4px;top:4px;width:44px;height:44px;border:0;background:transparent;color:#17201d;font-size:26px;cursor:pointer}
@media(max-width:600px){.opus-chat-launcher{right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));padding:12px 18px}.opus-chat-feedback{right:16px;width:min(320px,calc(100vw - 32px))}}
@media(forced-colors:active){.opus-chat-launcher{border:2px solid ButtonText}}

.opus-chat-owl{position:fixed;z-index:1000000;width:36px;height:56px;background-image:url("/assets/opus-chat-owl-7292cbc31e0c.png");background-repeat:no-repeat;background-size:56px 56px;background-position:center;image-rendering:auto;pointer-events:none}
.opus-chat-greeting{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(88px + env(safe-area-inset-bottom));z-index:1000001;width:min(330px,calc(100vw - 40px));padding:17px 20px;border:1px solid #d6b66f;border-radius:14px;background:#fff;color:#17201d;box-shadow:0 5px 22px #17201d26;font:16px/1.5 Arial,Helvetica,sans-serif;pointer-events:none}
.opus-chat-greeting::after{content:"";position:absolute;right:43px;bottom:-7px;width:12px;height:12px;background:#fff;border-right:1px solid #d6b66f;border-bottom:1px solid #d6b66f;transform:rotate(45deg)}
@media(max-width:600px){.opus-chat-enabled .site-footer{padding-bottom:100px}}
@media(hover:none),(pointer:coarse){.opus-chat-greeting{display:none!important}}

.opus-chat-greeting-face{display:inline-block;width:32px;height:32px;margin-left:6px;vertical-align:-9px;object-fit:contain;image-rendering:auto}
.opus-chat-greeting-ending{white-space:nowrap}

@media(max-width:600px),(hover:none),(pointer:coarse){.opus-chat-widget-open .opus-chat-launcher,.opus-chat-widget-open .opus-chat-owl{display:none!important}}

.opus-chat-repeat-welcome{position:fixed;right:20px;bottom:166px;z-index:1000005;box-sizing:border-box;width:350px;height:520px;max-width:calc(100vw - 40px);max-height:calc(100dvh - var(--opus-private-bar-height,0px) - 182px);display:flex;flex-direction:column;border:1px solid #aa7620;border-radius:18px;background:var(--gold,#aa7620);color:#fff;box-shadow:0 8px 32px #17201d30;font:15px/1.5 Arial,Helvetica,sans-serif}
.opus-chat-repeat-welcome[hidden]{display:none!important}
.opus-chat-repeat-welcome header{display:flex;flex:none;justify-content:flex-end;padding:6px 8px}
.opus-chat-repeat-welcome header button{width:44px;height:44px;padding:0;border:0;background:transparent;color:#fff;font:30px/1 Arial,Helvetica,sans-serif;cursor:pointer}
.opus-chat-repeat-content{min-height:0;overflow:auto;padding:0 18px 20px;text-align:center}
.opus-chat-repeat-content h2{margin:0 0 12px;font:700 27px/1.25 Arial,Helvetica,sans-serif;color:#fff}
.opus-chat-repeat-content>img{display:block;box-sizing:border-box;width:112px;height:112px;margin:0 auto 12px;padding:8px;border-radius:12px;background:#fff;object-fit:contain}
.opus-chat-repeat-content>p{margin:0 0 20px;font:15px/1.5 Arial,Helvetica,sans-serif;color:#fff}
.opus-chat-repeat-form{box-sizing:border-box;margin:0;padding:14px;border-radius:12px;background:#fff;color:#17201d;text-align:left}
.opus-chat-repeat-form label{display:block;margin-bottom:6px;font:14px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-repeat-form input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #c6cbc8;border-radius:6px;background:#fff;color:#17201d;font:16px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-repeat-form>button{box-sizing:border-box;width:100%;min-height:44px;margin-top:12px;padding:10px;border:0;border-radius:6px;background:var(--gold,#aa7620);color:#fff;font:600 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
.opus-chat-repeat-form>button:disabled{opacity:.65;cursor:wait}
.opus-chat-repeat-error{margin:8px 0 0;color:#8b2525;font:14px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-repeat-welcome button:focus-visible,.opus-chat-repeat-welcome input:focus-visible{outline:2px solid #765014;outline-offset:2px}
@media(max-width:600px),(hover:none),(pointer:coarse){.opus-chat-repeat-welcome{inset:auto 0 auto 0;top:var(--opus-chat-welcome-top,0px);width:100%;max-width:none;height:var(--opus-chat-welcome-height,100dvh);max-height:none;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.opus-chat-repeat-content{padding:0 18px 20px}.opus-chat-repeat-welcome header{padding:6px 8px}}

/* The branded page control opens the same native session. */
.opus-chat-enabled #min-widget,.opus-chat-enabled #chat-bubble{display:none!important}


.opus-chat-native-boundary{display:none;position:fixed;box-sizing:border-box;border:1px solid #aa7620;border-radius:19px;pointer-events:none;z-index:1000004}
@media(min-width:601px) and (hover:hover) and (pointer:fine){.opus-chat-native-open .opus-chat-native-boundary{display:block}}
.opus-chat-transcript-card{box-sizing:border-box;margin-top:12px;padding:14px;border-radius:12px;background:#fff}.opus-chat-transcript-card:has(>button[hidden]){display:none}.opus-chat-transcript{box-sizing:border-box;width:100%;min-height:44px;margin:0;border:0;border-radius:6px;padding:10px;color:#fff;background:var(--gold,#aa7620);font:600 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
.opus-chat-transcript[hidden]{display:none!important}

/* The email view stays in the branded pane. The sender is not configured yet. */
.opus-chat-repeat-welcome [hidden]{display:none!important}
.opus-chat-transcript-form{box-sizing:border-box;margin:0;padding:14px;border-radius:12px;background:#fff;color:#17201d;text-align:left}
.opus-chat-transcript-form h3{margin:0 0 14px;color:#17201d;font:700 18px/1.35 Arial,Helvetica,sans-serif}
.opus-chat-transcript-form label{display:block;margin-bottom:6px;font:14px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-transcript-form input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #c6cbc8;border-radius:6px;background:#fff;color:#17201d;font:16px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-transcript-form>button{box-sizing:border-box;width:100%;min-height:44px;margin-top:12px;padding:10px;border:0;border-radius:6px;background:var(--gold,#aa7620);color:#fff;font:600 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
.opus-chat-transcript-form>button:disabled{opacity:.65;cursor:not-allowed}
.opus-chat-transcript-form>.opus-chat-transcript-back{border:1px solid #aa7620;background:var(--gold,#aa7620);color:#fff;margin-top:8px}
.opus-chat-transcript-note{margin:10px 0 0;color:#17201d;font:14px/1.4 Arial,Helvetica,sans-serif}

@media(min-width:601px) and (hover:hover) and (pointer:fine){.opus-chat-repeat-welcome.opus-chat-ongoing:not(.opus-chat-email-view){height:640px}.opus-chat-repeat-welcome.opus-chat-ended:not(.opus-chat-email-view){height:700px}}

/* Preserve the visible provider arrow; capture only its 44px page-owned hit target. */
.opus-chat-native-back{position:absolute;z-index:1000006;box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer}
.opus-chat-native-back[hidden]{display:none!important}
.opus-chat-native-back:focus-visible{outline:2px solid #fff;outline-offset:-2px}

/* The page-owned header exposes consistent pointer and keyboard actions. */
.opus-chat-native-header{position:fixed;z-index:1000006;box-sizing:border-box;height:62px;border-radius:18px 18px 0 0;background:var(--gold,#aa7620);color:#fff;pointer-events:none;font-family:Arial,Helvetica,sans-serif}
.opus-chat-native-header[hidden]{display:none!important}
.opus-chat-native-header button{pointer-events:auto}
.opus-chat-native-identity{position:absolute;left:60px;top:11px;right:92px;display:flex;align-items:center;gap:8px;height:38px;overflow:hidden}
.opus-chat-native-identity img{flex:none;box-sizing:border-box;width:32px;height:32px;object-fit:contain;padding:2px;border-radius:50%;background:#fff}
.opus-chat-native-identity>div{min-width:0}.opus-chat-native-identity strong{display:block;color:#fff;font:600 18px/1.2 Arial,Helvetica,sans-serif;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.opus-chat-native-identity span{display:block;color:#fff;font:12px/1.3 Arial,Helvetica,sans-serif}
.opus-chat-native-end{position:absolute;right:56px;top:8px;width:44px;height:44px;box-sizing:border-box;border:0;border-radius:6px;margin:0;padding:0;background:transparent;color:#fff;font:28px/1 Arial,Helvetica,sans-serif;cursor:pointer}
.opus-chat-native-end:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.opus-chat-native-menu{position:absolute;right:8px;top:8px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:#fff;font:20px/1 Arial,Helvetica,sans-serif;cursor:pointer}.opus-chat-native-menu:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.opus-chat-native-touch{height:62px;border-radius:0}.opus-chat-native-touch .opus-chat-native-identity{left:64px;right:108px;top:12px}.opus-chat-native-touch .opus-chat-native-end{right:14px;top:9px}.opus-chat-native-touch .opus-chat-native-menu{right:62px;top:9px;width:44px;height:44px}

.opus-chat-native-back{color:#fff;font:30px/1 Arial,Helvetica,sans-serif}

.opus-chat-history{box-sizing:border-box;width:100%;min-height:44px;margin:0;border:0;border-radius:6px;padding:10px;color:#fff;background:var(--gold,#aa7620);font:600 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}.opus-chat-history[hidden]{display:none!important}

/* Completed chat history uses the callback text copy; it cannot send a message. */
.opus-chat-history-view-content{box-sizing:border-box;padding:14px;border-radius:12px;background:#fff;color:#17201d;text-align:left}
.opus-chat-history-view-content h3{margin:0 0 6px;font:700 18px/1.35 Arial,Helvetica,sans-serif}
.opus-chat-history-view-content>p{margin:0 0 14px;font:14px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-history-message{margin:0 0 12px;padding:12px;border-radius:8px;background:var(--gold,#aa7620);color:#fff}
.opus-chat-history-message strong{font:600 13px/1.4 Arial,Helvetica,sans-serif}
.opus-chat-history-message p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.5 Arial,Helvetica,sans-serif}
.opus-chat-history-back{box-sizing:border-box;width:100%;min-height:44px;border:0;border-radius:6px;padding:10px;background:var(--gold,#aa7620);color:#fff;font:600 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
.opus-chat-history-view .opus-chat-repeat-content>img,.opus-chat-history-view .opus-chat-repeat-content>h2{display:none}

.opus-chat-native-actions{position:absolute;right:8px;top:64px;box-sizing:border-box;display:grid;gap:6px;width:min(310px,calc(100vw - 16px));max-height:calc(100dvh - 90px);overflow:auto;padding:8px;border:1px solid #d6b66f;border-radius:12px;background:#fff;color:#17201d;box-shadow:0 5px 22px #17201d26;pointer-events:auto}.opus-chat-native-actions[hidden]{display:none!important}.opus-chat-native-actions>button{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;border:0;border-radius:6px;background:var(--gold,#aa7620);color:#fff;text-align:left;font:600 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}.opus-chat-native-actions>button:focus-visible{outline:2px solid #765014;outline-offset:2px}.opus-chat-native-actions>button:disabled{opacity:.65;cursor:wait}

.opus-chat-menu-dismiss{position:fixed;z-index:1000005;box-sizing:border-box;margin:0;padding:0;border:0;background:transparent;cursor:default}.opus-chat-menu-dismiss[hidden]{display:none!important}

.opus-chat-consent{position:fixed;z-index:1000002;right:20px;bottom:88px;box-sizing:border-box;width:min(350px,calc(100vw - 40px));max-height:calc(100dvh - 104px);overflow:auto;border:1px solid #d6b66f;border-radius:16px;background:#fff;color:#17201d;box-shadow:0 5px 25px #17201d26;font:16px/1.5 Arial,sans-serif}.opus-chat-consent[hidden]{display:none!important}.opus-chat-consent header{padding:15px 18px;background:#aa7620;color:white;border-radius:15px 15px 0 0;font-weight:600}.opus-chat-consent main{padding:24px}.opus-chat-consent p{margin:0 0 16px}.opus-chat-consent-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.opus-chat-consent-actions button{min-height:44px;border:1px solid #aa7620;border-radius:8px;padding:10px 14px;background:#fff;color:#765014;font:600 14px/1.4 Arial,sans-serif;cursor:pointer}.opus-chat-consent-actions button:first-child{background:#aa7620;color:white}@media(max-width:600px){.opus-chat-consent{right:16px;bottom:84px;width:calc(100vw - 32px)}}

/* Keep native contents unpainted until this document owns the open chat. */
body.opus-chat-enabled:not(.opus-chat-native-open) #max-widget,body.opus-chat-locale-pending #max-widget{opacity:0!important}

/* Cover the page while the owned native chat view is rendering. */
body.opus-chat-enabled.opus-chat-native-open:not(.opus-chat-locale-pending):has(#max-widget>iframe) .opus-chat-native-boundary{background:#fff;z-index:999998}
@media(max-width:600px),(hover:none),(pointer:coarse){body.opus-chat-enabled.opus-chat-native-open:not(.opus-chat-locale-pending):has(#max-widget>iframe) .opus-chat-native-boundary{display:block;position:fixed;inset:0!important;width:auto!important;height:auto!important;border:0;border-radius:0}}
body.opus-chat-locale-pending .opus-chat-native-boundary{display:none!important}

/* Handoff paint containment: preserve native geometry/readiness until the owned loading view completes. */
:root:has(#opus-chat-handoff) body.opus-chat-enabled #max-widget,
:root:has(#opus-chat-handoff) body.opus-chat-enabled #branding-widget,
:root:has(#opus-chat-handoff) body.opus-chat-enabled #message-preview{clip-path:inset(100%)!important}
:root:has(#opus-chat-handoff) body.opus-chat-enabled .opus-chat-native-header,
:root:has(#opus-chat-handoff) body.opus-chat-enabled .opus-chat-native-back,
:root:has(#opus-chat-handoff) body.opus-chat-enabled .opus-chat-native-boundary{visibility:hidden!important}
