/* Support stays in the bottom-right corner; mobile keeps the return-to-top button below. */
.fixed-contact{position:fixed;left:auto;top:auto;right:22px;bottom:max(22px,env(safe-area-inset-bottom));z-index:9;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e8b7bd;border-radius:50%;background:#fff;color:var(--accent,#c7202d);box-shadow:0 4px 18px #8b14200b;cursor:pointer;isolation:isolate;transition:transform .25s,box-shadow .25s,border-color .25s}
.fixed-contact:hover,.fixed-contact:focus-visible{transform:translateY(-2px);border-color:var(--accent,#c7202d);box-shadow:0 7px 24px #8b142022}.fixed-contact>svg{width:22px;height:22px;position:relative;z-index:2}.support-orbit{position:absolute;inset:-5px;border:1px solid #c7202d13;border-radius:50%;animation:support-orbit 8s linear infinite;pointer-events:none}.support-orbit:before{content:"";position:absolute;left:50%;top:-2px;width:4px;height:4px;border-radius:50%;background:var(--accent,#c7202d);box-shadow:0 0 8px #c7202d55}.fixed-contact:after{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid #c7202d33;animation:support-breathe 3.8s ease-out infinite;pointer-events:none}.support-badge{position:absolute;right:-4px;top:-4px;z-index:3;min-width:18px;height:18px;border-radius:20px;background:var(--accent,#c7202d);border:2px solid white;color:white;font-size:9px;display:grid;place-items:center;padding:0 3px}.support-badge[hidden]{display:none}
@keyframes support-orbit{to{transform:rotate(360deg)}}@keyframes support-breathe{0%,30%{transform:scale(1);opacity:0}45%{opacity:1}85%,100%{transform:scale(1.42);opacity:0}}
.support-dialog{position:fixed;inset:auto 18px max(86px,calc(env(safe-area-inset-bottom) + 70px)) auto;margin:0;width:min(400px,calc(100vw - 32px));height:min(650px,calc(100dvh - 112px));max-height:calc(100dvh - 112px);padding:0;border:1px solid #e9e2e3;border-radius:20px;background:#fff;color:#161616;box-shadow:0 24px 100px #28101422,0 4px 20px #28101408;overflow:hidden;font-family:Inter,Arial,sans-serif}
.support-dialog[open]{display:flex;flex-direction:column;animation:support-enter .28s cubic-bezier(.2,.7,.2,1)}.support-dialog::backdrop{background:#15101512;backdrop-filter:blur(2px)}@keyframes support-enter{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.support-header{display:flex;align-items:center;gap:12px;padding:23px 22px 19px;border-bottom:1px solid #ece7e8;flex:none;background:linear-gradient(145deg,#fff,#fff9fa)}.support-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid #ebc7cc;border-radius:14px;color:#c7202d;background:white}.support-avatar svg{width:23px;height:23px}.support-heading{min-width:0;flex:1}.support-heading h2{margin:0 0 5px;font-size:17px;line-height:1.25;letter-spacing:-.5px;font-weight:550}.support-subtitle{font-size:10px;color:#777;line-height:1.5;display:flex;align-items:center;gap:6px}.support-subtitle:before{content:"";width:5px;height:5px;border-radius:50%;background:#c7202d;flex:none}.support-hide{width:28px;height:28px;padding:0;border:1px solid #e5dedf;border-radius:50%;background:#fff;color:#333;font-size:19px;display:grid;place-items:center;cursor:pointer;flex:none}
.support-body{padding:22px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.support-dialog [hidden]{display:none!important}.support-welcome h3{font-size:26px;line-height:1.15;letter-spacing:-1px;margin:0 0 15px;font-weight:500}.support-welcome>p{font-size:12px;line-height:1.8;color:#777;margin:0 0 20px}.support-field{display:block;margin:17px 0 0;font-size:11px;color:#666}.support-field input,.support-field textarea,.support-compose textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #e3ddde;border-radius:9px;background:#fff;padding:12px;font-family:inherit;font-size:14px;line-height:1.6;color:#222;margin-top:7px;outline:none}.support-field textarea{resize:vertical;min-height:105px}.support-field input:focus,.support-field textarea:focus,.support-compose textarea:focus{border-color:#c7202d;box-shadow:0 0 0 3px #c7202d0b}.support-consent{display:flex;align-items:flex-start;gap:8px;font-size:9px;line-height:1.8;color:#777;margin:16px 0}.support-consent input{accent-color:#c7202d;flex:none;margin:3px 0 0}.support-consent a{color:inherit;text-underline-offset:2px}.support-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid #c7202d;border-radius:30px;background:#c7202d;color:white;min-height:44px;padding:11px 17px;font-family:inherit;font-size:12px;font-weight:500;cursor:pointer}.support-submit:disabled{opacity:.45;cursor:default}.support-error{font-size:11px;line-height:1.7;color:#a71928;margin:13px 0 0;overflow-wrap:anywhere}.support-offline{font-size:12px;line-height:1.9;color:#777;padding:18px 0}.support-offline a{color:#c7202d;display:inline-block;margin-top:12px}.support-queue{border:1px solid #efdadc;border-radius:12px;padding:18px;margin-bottom:20px;background:linear-gradient(135deg,#fff,#fff8f8)}.support-queue-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#a03e48;display:flex;align-items:center;gap:8px}.support-wait-dots{display:inline-flex;gap:3px}.support-wait-dots i{width:3px;height:3px;background:currentColor;border-radius:50%;animation:support-dot 1.4s ease-in-out infinite}.support-wait-dots i:nth-child(2){animation-delay:.18s}.support-wait-dots i:nth-child(3){animation-delay:.36s}@keyframes support-dot{0%,70%,100%{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.support-queue-title{font-size:23px;font-weight:500;letter-spacing:-.7px;margin:10px 0 7px}.support-queue p{font-size:11px;line-height:1.8;color:#777;margin:0}.support-transcript{display:flex;flex-direction:column;gap:13px}.support-message{max-width:92%;font-size:12px;line-height:1.75;border-radius:12px;padding:11px 13px;overflow-wrap:anywhere;white-space:pre-wrap}.support-message-visitor{align-self:flex-end;background:#fff0f1;color:#4c1e23;border-bottom-right-radius:3px}.support-message-agent{align-self:flex-start;background:#f4f4f4;border-bottom-left-radius:3px}.support-message-system{align-self:center;text-align:center;color:#888;font-size:10px;padding:5px 8px;background:none}.support-message time{display:block;font-size:9px;color:#999;margin-top:5px}.support-compose{padding:14px 19px 17px;border-top:1px solid #ece7e8;flex:none;background:white}.support-compose-row{display:flex;align-items:flex-end;gap:9px}.support-compose textarea{min-height:43px;max-height:110px;resize:vertical;margin:0;font-size:13px;padding:10px;flex:1}.support-send{width:39px;height:39px;border:0;border-radius:50%;background:#c7202d;color:white;flex:none;cursor:pointer;font-size:20px}.support-send:disabled{opacity:.4;cursor:default}.support-session-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px}.support-session-actions small{font-size:9px;color:#999}.support-end{border:0;background:none;padding:0;font-family:inherit;font-size:10px;color:#8b6268;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.support-restart{margin-top:20px}.support-status{font-size:10px;line-height:1.6;color:#777;margin:8px 0 0}
@media(max-width:1560px){.fixed-contact{top:auto;left:auto;right:22px;bottom:max(22px,env(safe-area-inset-bottom));width:48px;height:48px}.support-dialog{inset:auto 18px max(86px,calc(env(safe-area-inset-bottom) + 70px)) auto;height:min(650px,calc(100dvh - 114px));max-height:calc(100dvh - 114px)}}
@media(max-width:620px){.fixed-contact{right:max(18px,env(safe-area-inset-right));bottom:calc(max(18px,env(safe-area-inset-bottom)) + 60px);width:44px;height:44px}.support-dialog{right:12px;bottom:max(78px,calc(env(safe-area-inset-bottom) + 64px));width:calc(100vw - 24px);height:min(650px,calc(100dvh - 96px));max-height:calc(100dvh - 96px);border-radius:17px}.support-header{padding:19px 18px 16px}.support-body{padding:20px 18px}.support-heading h2{font-size:16px}.support-field input,.support-field textarea,.support-compose textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.fixed-contact,.support-orbit,.fixed-contact:after,.support-wait-dots i,.support-dialog[open]{animation:none;transition:none}}
@media print{.fixed-contact,.support-dialog{display:none!important}}

.support-sound{flex:none;border:0;background:transparent;color:#777;font-size:21px;padding:9px;cursor:pointer;border-radius:50%}.support-sound:hover{background:#f6f6f6}.support-sound[aria-pressed=false]{opacity:.45}.support-typing{color:#777;font-size:12px;margin:14px 0}.support-typing span{animation:support-dot 1.4s ease-in-out infinite}

.support-subtitle[data-status=ready]:before{background:#27b56b}.support-subtitle[data-status=offline]:before{background:#c7202d}.support-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 22px;border-bottom:1px solid #eee;flex:none}.support-toolbar button,.support-history-inline{font:inherit;font-size:11px;border:0;background:none;padding:5px 0;color:#777;cursor:pointer;text-align:left}.support-toolbar button:hover,.support-history-inline:hover{color:#c7202d}.support-history-inline{color:#a32937;font-size:11px;line-height:1.7;margin:0 0 12px;text-decoration:underline;text-underline-offset:3px}.support-history-heading h3{font-size:25px;letter-spacing:-.8px;font-weight:500;margin:12px 0}.support-history-heading p,.support-history-empty{font-size:12px;line-height:1.8;color:#777}.support-history-item{display:block;width:100%;padding:18px 0;border:0;border-bottom:1px solid #eee;background:none;text-align:left;cursor:pointer;color:#222}.support-history-item:hover strong{color:#c7202d}.support-history-meta{display:block;color:#888;font-size:10px;margin-bottom:8px}.support-history-item strong{display:block;font-size:13px;font-weight:500;line-height:1.8;overflow-wrap:anywhere}.support-auth-divider{display:flex;align-items:center;gap:10px;color:#999;font-size:10px;margin:18px 0 14px}.support-auth-divider:before,.support-auth-divider:after{content:"";height:1px;background:#eee;flex:1}#support-google{min-height:42px}.support-auth-account{font-size:12px;line-height:1.7;padding:12px;background:#f6f6f6;border-radius:8px;overflow-wrap:anywhere}.support-body [hidden],.support-toolbar [hidden]{display:none!important}
