/* Scroll-to-top button styled to match the chat agent: dark sphere, reading-progress ring. */
.ns-scroll-top{width:52px!important;height:52px!important;background:radial-gradient(circle at 32% 28%,#3b5b82,#1b2d47 70%)!important;color:#a5f3fc!important;
  box-shadow:0 10px 26px -8px rgba(21,38,61,.55)!important;overflow:visible;border:0}
.ns-scroll-top:before{content:"";position:absolute;inset:-4px;border-radius:50%;pointer-events:none;
  background:conic-gradient(#22d3ee,#a78bfa calc(var(--qp,0)*1%),rgba(148,163,184,.28) 0);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px))}
.ns-scroll-top:after{content:attr(data-qp) "%";position:absolute;bottom:7px;left:0;right:0;text-align:center;font:700 8.5px/1 "Inter Tight",Arial,sans-serif;letter-spacing:.04em;color:#8ea0b8}
.ns-scroll-top svg{width:20px!important;height:20px!important;stroke-width:2.4!important;margin-top:-7px;transition:translate .25s}
.ns-scroll-top{transition:transform 180ms ease,opacity 180ms ease,bottom .35s ease!important}
.ns-scroll-top:hover svg{translate:0 -3px}
.ns-scroll-top:focus{outline:none!important}
.ns-scroll-top:focus-visible{outline:3px solid #22d3ee!important;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.ns-scroll-top svg{transition:none}}
/* Sit centred above the 64px chat agent (which is at right 22px, bottom 22px). */
.ns-scroll-top{right:28px!important;left:auto!important;bottom:calc(106px + var(--q-float-lift,0px))!important}
@media(max-width:500px){.ns-scroll-top{right:16px!important;bottom:calc(94px + var(--q-float-lift,0px))!important}}
/* Lift the chat agent too while the cookie banner is open (set by qfloat.js). */
#qb-chat-root{bottom:calc(22px + var(--q-float-lift,0px))!important;transition:bottom .35s ease}
@media(max-width:500px){#qb-chat-root{bottom:calc(10px + var(--q-float-lift,0px))!important}}
html.qb-chat-open #qb-chat-root{bottom:22px!important}
@media(max-width:500px){html.qb-chat-open #qb-chat-root{bottom:10px!important}}
