/* VWD Chat v1.0: styled only with the site's Automatic.css tokens, so each site keeps its colours and fonts.
   --vwdc-bottom lifts the button above a site's sticky phone bar (Summit: 5rem, level with the Demo site tab). */
.vwdc-launch,.vwdc{--vwdc-ink:var(--neutral);--vwdc-soft:var(--neutral-semi-dark);--vwdc-line:color-mix(in oklab, var(--neutral) 16%, transparent);--vwdc-gap:1rem}
.vwdc-launch{position:fixed;right:var(--vwdc-gap);bottom:var(--vwdc-gap);z-index:9990;display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;margin:0;padding:.5rem 1.125rem .5rem .875rem;border:2px solid var(--secondary);border-radius:2rem;background:var(--base);color:var(--white);font:inherit;font-size:.9375rem;font-weight:700;line-height:1.2;letter-spacing:normal;text-transform:none;cursor:pointer;box-shadow:0 10px 24px color-mix(in oklab, var(--black) 28%, transparent)}
.vwdc-launch:hover{background:var(--base-ultra-dark)}
.vwdc-launch .vwdc-ico{width:1.375rem;height:1.375rem;color:var(--secondary)}
.vwdc-launch[aria-expanded="true"]{background:var(--base-ultra-dark)}
.vwdc{position:fixed;right:var(--vwdc-gap);bottom:calc(var(--vwdc-gap) + 3.5rem);z-index:10001;display:flex;flex-direction:column;width:min(24rem, calc(100vw - 2rem));height:min(38rem, calc(100dvh - 7rem));background:var(--white);color:var(--vwdc-ink);border-radius:var(--radius);box-shadow:0 24px 60px color-mix(in oklab, var(--black) 32%, transparent);overflow:hidden;font-size:1rem;line-height:1.5;text-align:left}
.vwdc[hidden]{display:none}
.vwdc-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.875rem .75rem .875rem 1.25rem;background:var(--base);color:var(--white)}
.vwdc-title{margin:0;font-family:var(--heading-font-family);font-size:1.1875rem;font-weight:700;line-height:1.2;color:var(--white)}
.vwdc-sub{margin:.125rem 0 0;font-size:.8125rem;line-height:1.4;color:var(--primary)}
.vwdc-close,.vwdc-send{flex:none;display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;margin:0;padding:0;border:0;border-radius:50%;cursor:pointer}
.vwdc-close{background:transparent;color:var(--white)}
.vwdc-close:hover{background:color-mix(in oklab, var(--white) 14%, transparent)}
.vwdc-close .vwdc-ico,.vwdc-send .vwdc-ico{width:1.25rem;height:1.25rem}
.vwdc-log{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:.625rem;overflow-y:auto;padding:1rem;background:color-mix(in oklab, var(--base) 5%, var(--white))}
.vwdc-log:focus{outline:none}
.vwdc-msg{max-width:88%;margin:0;padding:.625rem .875rem;border-radius:1rem;font-size:.9375rem;line-height:1.45;overflow-wrap:anywhere}
.vwdc-msg--bot{align-self:flex-start;background:var(--white);border:1px solid var(--vwdc-line);border-bottom-left-radius:.25rem;color:var(--vwdc-ink)}
.vwdc-msg--user{align-self:flex-end;background:var(--base);border-bottom-right-radius:.25rem;color:var(--white)}
.vwdc-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;margin-top:.625rem}
.vwdc-cta{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;padding:.5rem 1rem;border-radius:var(--radius);background:var(--secondary);color:var(--base);font-weight:700;line-height:1.2;text-decoration:none}
.vwdc-cta:hover{background:var(--primary);color:var(--base)}
.vwdc-cta .vwdc-ico{flex:none;width:1.125rem;height:1.125rem}
.vwdc-cta small{display:block;font-size:.8125rem;font-weight:600}
.vwdc-more{margin:.25rem 0 0;font-size:.8125rem;color:var(--vwdc-soft)}
.vwdc-quick{display:flex;flex-wrap:wrap;gap:.5rem}
.vwdc button.vwdc-chip{display:inline-flex;align-items:center;min-height:2.75rem;margin:0;padding:.5rem 1rem;border:1.5px solid var(--base);border-radius:2rem;background:var(--white);color:var(--base);font:inherit;font-size:.9375rem;font-weight:600;line-height:1.2;letter-spacing:normal;text-transform:none;cursor:pointer}
.vwdc button.vwdc-chip:hover{background:color-mix(in oklab, var(--base) 8%, var(--white))}
.vwdc-form{align-self:stretch;padding:.75rem .75rem .25rem;background:var(--white);border:1px solid color-mix(in oklab, var(--secondary) 55%, transparent);border-radius:var(--radius)}
.vwdc-form-title{margin:0 0 .25rem .25rem;font-family:var(--heading-font-family);font-size:1.0625rem;font-weight:700;color:var(--base)}
.vwdc-frame{display:block;width:100%;height:32rem;border:0;background:var(--white)}
.vwdc-note{margin:0;padding:.375rem 1rem;font-size:.8125rem;color:var(--vwdc-soft);background:var(--white);border-top:1px solid var(--vwdc-line)}
.vwdc-ask{display:flex;align-items:center;gap:.5rem;margin:0;padding:.75rem;border-top:1px solid var(--vwdc-line);background:var(--white)}
.vwdc-ask input{flex:1;min-width:0;min-height:2.75rem;padding:.5rem .875rem;border:1.5px solid var(--vwdc-line);border-radius:2rem;background:var(--white);font:inherit;font-size:max(1rem, var(--text-m));color:var(--vwdc-ink)}
.vwdc-ask input:focus{border-color:var(--base);outline:none}
.vwdc-send{background:var(--base);color:var(--white)}
.vwdc-send:hover{background:var(--base-ultra-dark)}
.vwdc-pitch{margin:0;padding:.625rem 1rem .75rem;font-size:.8125rem;line-height:1.45;text-align:center;color:var(--vwdc-soft);background:color-mix(in oklab, var(--base) 5%, var(--white));border-top:1px solid var(--vwdc-line)}
.vwdc-pitch a{display:inline-block;padding-block:.25rem;font-weight:700;color:var(--base);text-decoration:underline;text-underline-offset:.2em}
.vwdc-launch:focus-visible,.vwdc button:focus-visible,.vwdc a:focus-visible,.vwdc input:focus-visible{outline:3px solid var(--secondary);outline-offset:2px}
.vwdc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.vwdc-typing{display:inline-flex;gap:.3rem;padding:.875rem 1rem}
.vwdc-typing span{width:.45rem;height:.45rem;border-radius:50%;background:var(--vwdc-soft);animation:vwdc-dot 1s infinite ease-in-out}
.vwdc-typing span:nth-child(2){animation-delay:.15s}.vwdc-typing span:nth-child(3){animation-delay:.3s}
@keyframes vwdc-dot{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media (prefers-reduced-motion:reduce){.vwdc-typing span{animation:none}}
/* Docked (cfg.dock): the chat button sits inside a site's sticky phone bar, styled by the site's own button classes
   (cfg.dockClass). While the bar shows, the floating button steps aside and the window opens above the bar. */
.vwdc-launch--dock{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;cursor:pointer}
.vwdc-launch--dock .vwdc-ico{flex:none;width:1.25rem;height:1.25rem}
.vwdc-docked .vwdc-launch{display:none}
.vwdc-docked .vwdc{bottom:calc(var(--vwdc-bar, 4.75rem) + .75rem);height:min(38rem, calc(100dvh - var(--vwdc-bar, 4.75rem) - 7rem))}
/* Nothing floats over an open phone menu (Bricks adds show-mobile-menu) */
body:has(.show-mobile-menu) .vwdc-launch{display:none}
/* Tablets and phones: above the sticky call-to-action bar */
@media (max-width:1080px){.vwdc-launch{bottom:var(--vwdc-bottom, 5rem)}.vwdc{bottom:calc(var(--vwdc-bottom, 5rem) + 3.5rem);height:min(38rem, calc(100dvh - var(--vwdc-bottom, 5rem) - 6rem))}}
/* Phones: the chat fills the screen while open */
@media (max-width:767px){.vwdc,.vwdc-docked .vwdc{inset:0;width:100%;height:100dvh;border-radius:0}.vwdc-is-open{overflow:hidden}.vwdc-is-open .vwdc-launch{display:none}}

/* Bristlecone: on laptops the launcher is a vertical tab on the right edge, inside the page gutter, so it never covers content */
@media (min-width:1081px){.vwdc-launch{right:0;bottom:6rem;writing-mode:vertical-rl;padding:.9rem .6rem;border:0;border-radius:0;background:var(--secondary);color:var(--base);font-family:var(--bc-mono);font-size:var(--text-xs);font-weight:600;letter-spacing:.05em;text-transform:uppercase;min-height:0;box-shadow:none}.vwdc-launch .vwdc-ico{color:var(--base);width:1rem;height:1rem;rotate:90deg}.vwdc-launch:hover,.vwdc-launch[aria-expanded="true"]{background:var(--primary)}}
