/* ZZ Company chat — intentionally isolated from the rest of the website */
.zz-chat{--zz-dark:#2b190f;--zz-orange:#ed742d;--zz-gold:#f7bd59;--zz-cream:#fff9ed;--zz-soft:#f7f1e6;--zz-chat-border:#dbcdb8;position:relative;z-index:1200;font-family:'DM Sans',Arial,sans-serif;color:var(--zz-dark)}
.zz-chat *{box-sizing:border-box}
.zz-chat button{font-family:inherit}
.zz-chat button:focus-visible,.zz-chat a:focus-visible{outline:3px solid #0b738c;outline-offset:2px}
.zz-chat [hidden]{display:none!important}
.zz-chat-launcher{position:fixed;right:25px;bottom:25px;bottom:calc(25px + env(safe-area-inset-bottom));width:86px;height:86px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;filter:drop-shadow(0 6px 9px #2b190f2e);display:grid;place-items:center;cursor:pointer;z-index:1;transition:transform .2s ease,filter .2s ease;isolation:isolate;overflow:visible;-webkit-tap-highlight-color:transparent}
.zz-chat-launcher:hover{transform:translateY(-4px) scale(1.045);filter:drop-shadow(0 9px 12px #2b190f3b)}
.zz-chat-launcher:active{transform:translateY(1px) scale(.975)}
.zz-chat-launcher-image{width:100%;height:100%;overflow:visible;border-radius:0;background:transparent;display:grid;place-items:center}
.zz-chat-launcher-image img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.zz-chat-launcher-dot{display:none}
.zz-chat-panel{position:fixed;right:25px;bottom:25px;bottom:calc(25px + env(safe-area-inset-bottom));width:min(408px,calc(100vw - 32px));height:min(648px,calc(100dvh - 50px));min-height:340px;border:2px solid var(--zz-dark);border-radius:22px;box-shadow:7px 8px 0 #2b190f,0 26px 65px #2b190f30;background:var(--zz-cream);display:flex;flex-direction:column;overflow:hidden;isolation:isolate;animation:zz-chat-enter .23s cubic-bezier(.18,.74,.29,1) both}
@keyframes zz-chat-enter{from{opacity:0;transform:translateY(13px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
.zz-chat-header{height:76px;flex:0 0 76px;background:#f7ba57;border-bottom:2px solid var(--zz-dark);padding:12px 15px 12px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative}
.zz-chat-header:before{content:"";position:absolute;inset:0;opacity:.16;background-image:radial-gradient(#783818 1px,transparent 1px);background-size:14px 14px;pointer-events:none}
.zz-chat-identity{display:flex;align-items:center;min-width:0;gap:11px;position:relative}
.zz-chat-header-avatar{width:49px;height:49px;flex:0 0 49px;background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none;display:grid;place-items:center}
.zz-chat-header-avatar img{width:100%;height:100%;object-fit:contain;display:block}
.zz-chat-brand{min-width:0;display:flex;flex-direction:column;gap:4px}
.zz-chat-brand strong{font:800 18px/1 'Space Grotesk',Arial,sans-serif;letter-spacing:-.055em;white-space:nowrap}
.zz-chat-brand small{display:flex;align-items:center;gap:7px;font:700 11px/1.1 'DM Sans',sans-serif;color:#533823}
.zz-chat-status.is-offline{background:#ab673b;box-shadow:0 0 0 2px #f7dfc3}
.zz-chat-status{width:7px;height:7px;border-radius:50%;background:#387f4e;box-shadow:0 0 0 2px #d7edc6;flex:none}
.zz-chat-close{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1.5px solid #422b19;border-radius:12px;background:#fff7e7;color:#2b190f;cursor:pointer;position:relative;transition:background .2s ease,transform .2s ease}
.zz-chat-close:hover{background:white;transform:translateY(-1px)}
.zz-chat-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round}
.zz-chat-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#c7ad89 transparent;scrollbar-width:thin;background:#fff9ef;background-image:radial-gradient(#986d3f13 1px,transparent 1px);background-size:21px 21px;padding:22px 19px 19px}
.zz-chat-date{font:800 10px/1.2 'Space Grotesk',sans-serif;letter-spacing:.13em;color:#987963;text-align:center;margin:0 0 22px}
.zz-chat-messages{display:flex;flex-direction:column;align-items:stretch;gap:16px}
.zz-msg-row{display:flex;gap:8px;align-items:flex-start;max-width:100%}
.zz-msg-row--user{justify-content:flex-end}
.zz-msg-mini{margin-top:3px;width:29px;height:29px;border-radius:0;border:0;background:transparent;object-fit:contain;flex:0 0 29px}
.zz-msg-content{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:88%;min-width:0}
.zz-msg-row--user .zz-msg-content{align-items:flex-end;max-width:85%}
.zz-msg-bubble{min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13.5px;line-height:1.58;color:#35271d;padding:12px 14px;border:1.5px solid #d9c5ab;border-radius:5px 15px 15px 15px;background:white;box-shadow:1px 2px 0 #d7bda1}
.zz-msg-row--user .zz-msg-bubble{border-radius:15px 15px 5px 15px;background:#f7b957;border-color:#ae7240;color:#2c1a0c;box-shadow:1px 2px 0 #b67d47}
 .zz-msg-bubble--error{border-color:#e7b38b!important;background:#fff4e8!important;color:#70401c!important;box-shadow:1px 2px 0 #deb996!important}
.zz-chat-retry{font:800 10px/1.2 'Space Grotesk',sans-serif;color:#663319;background:#ffdf9d;border:1.5px solid #75442b;border-radius:9px;padding:8px 11px;cursor:pointer;box-shadow:2px 2px 0 #b48762;transition:transform .16s}
.zz-chat-retry:hover{background:#ffd179;transform:translateY(-1px)}
.zz-chat-text-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.zz-chat-link{font:800 11px/1.25 'Space Grotesk',sans-serif;letter-spacing:-.01em;background:#fff4d8;border:1.5px solid #b38348;border-radius:999px;padding:9px 11px;display:inline-flex;gap:6px;align-items:center;cursor:pointer;text-decoration:none;color:#4a270f;transition:background .2s,transform .2s}
.zz-chat-link:hover{background:#fbe3af;transform:translateY(-1px)}
.zz-chat-link span{font-size:16px;line-height:.7}
/* Small, text-only prompts matching the assistant message bubble. */
.zz-chat-suggestions{margin:14px 1px 7px 36px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.zz-chat-suggestion{appearance:none;-webkit-appearance:none;min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;padding:10px 12px;text-align:center;background:#fff;border:1.5px solid #d9c5ab;border-radius:15px;color:#49372c;box-shadow:1px 2px 0 #d7bda1;font:600 13px/1.35 'DM Sans',Arial,sans-serif;cursor:pointer;transition:background-color .17s ease,border-color .17s ease,transform .17s ease}
.zz-chat-suggestion:hover{background:#fffaf5;border-color:#c9ac8f;transform:translateY(-1px)}
.zz-chat-suggestion:active{transform:translateY(0)}
.zz-chat-composer{flex:0 0 auto;background:#fff8ea;border-top:1.5px solid #e7d7bd;padding:12px 15px 13px;box-shadow:0 -4px 16px #5133170a}
.zz-chat-form{display:flex;align-items:flex-end;gap:8px;background:white;border:1.5px solid #b8a185;border-radius:14px;padding:5px;transition:border-color .15s,box-shadow .15s}
.zz-chat-form:focus-within{border-color:#b45d2b;box-shadow:0 0 0 3px #f7b95745}
.zz-chat-input{flex:1 1 auto;display:block;min-width:0;min-height:38px;max-height:108px;resize:none;background:transparent;border:0;outline:0;padding:9px 8px 7px 10px;margin:0;color:#332015;font:500 14px/1.45 'DM Sans',sans-serif;overflow-y:auto}
.zz-chat-input:focus-visible{outline:0}
.zz-chat-input::placeholder{color:#827362;opacity:1}
.zz-chat-send{width:39px;height:39px;min-width:39px;border:0;border-radius:10px;background:#ef823d;color:#271811;display:grid;place-items:center;cursor:pointer;transition:background .16s,transform .16s}
.zz-chat-send:hover{background:#f6ac53}
.zz-chat-send:disabled{opacity:.55;cursor:not-allowed}
.zz-chat-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.zz-chat-bottom{color:#7d6753;text-align:center;font:600 10px/1.35 'DM Sans',sans-serif;margin:8px 0 0}
/* Junis Events reference wave, adapted to ZZ Company's warm orange palette.
   This is a *traveling* wave: each ball rises and falls in turn, rather
   than pulsing three stationary dots. Kept independent of other page animations. */
.zz-chat-thinking{
  width:92px;min-width:92px;max-width:92px;min-height:58px;
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;overflow:visible;padding:14px 18px;
  background:#fff;border:1.5px solid #d9c5ab;
  border-radius:5px 17px 17px 17px;
  box-shadow:1px 2px 0 #d7bda1;flex:none
}
.zz-chat .zz-chat-thinking > .zz-chat-thinking-dot{
  display:block;width:9px;height:9px;flex:0 0 9px;
  border-radius:50%;background:#e87834;
  box-shadow:0 3px 7px rgba(180,85,32,.22);
  transform-origin:50% 50%;
  animation:zz-junis-style-wave 1.08s cubic-bezier(.39,.05,.25,1) infinite both!important;
  will-change:transform
}
.zz-chat .zz-chat-thinking > .zz-chat-thinking-dot:nth-child(1){animation-delay:-.36s!important}
.zz-chat .zz-chat-thinking > .zz-chat-thinking-dot:nth-child(2){animation-delay:-.18s!important}
.zz-chat .zz-chat-thinking > .zz-chat-thinking-dot:nth-child(3){animation-delay:0s!important}
@keyframes zz-junis-style-wave{
  0%,100%{transform:translate3d(0,3px,0) scale(.90);opacity:.72}
  25%{transform:translate3d(0,-11px,0) scale(1.09);opacity:1}
  50%{transform:translate3d(0,2px,0) scale(.96);opacity:.88}
  75%{transform:translate3d(0,4px,0) scale(.90);opacity:.72}
}
@keyframes zz-junis-style-wave-gentle{
  0%,100%{transform:translate3d(0,1px,0);opacity:.68}
  25%{transform:translate3d(0,-4px,0);opacity:1}
  50%{transform:translate3d(0,1px,0);opacity:.76}
  75%{transform:translate3d(0,2px,0);opacity:.68}
}
.zz-chat-toast{color:#78421d;font-size:11px;text-align:center;margin:0 0 7px}
@media(max-width:600px){
 body.zz-chat-visible{overflow:hidden}
 .zz-chat-launcher{right:17px;bottom:17px;bottom:calc(17px + env(safe-area-inset-bottom));width:78px;height:78px;box-shadow:none}
 .zz-chat-panel{right:0;left:0;bottom:0;width:auto;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}
 .zz-chat-header{height:70px;flex-basis:70px;padding:10px 13px}
 .zz-chat-scroll{padding:17px 14px 15px}
 .zz-chat-composer{padding:11px 11px 12px}
 .zz-msg-bubble{font-size:13.5px}
 .zz-chat-suggestions{margin-left:32px}
}
@media(max-width:375px){.zz-chat-suggestion{min-height:45px;padding:9px 7px;font-size:12px}.zz-chat-suggestions{gap:8px}.zz-chat-brand strong{font-size:17px}}
@media(max-height:480px){.zz-chat-panel{height:100dvh;bottom:0;max-height:none;min-height:0}.zz-chat-header{height:60px;flex-basis:60px}.zz-chat-header-avatar{width:40px;height:40px;flex-basis:40px}}
/* styles.css globally disables animations for reduced-motion users. The Junis
   reference specifically overrides that broad rule for the requested thinking
   animation; do the same here, with shorter, gentler movement. */
@media(prefers-reduced-motion:reduce){
  .zz-chat-panel{animation:none}
  .zz-chat .zz-chat-thinking > .zz-chat-thinking-dot{
    animation:zz-junis-style-wave-gentle 1.5s ease-in-out infinite both!important;
    will-change:auto
  }
  .zz-chat .zz-chat-thinking > .zz-chat-thinking-dot:nth-child(1){animation-delay:-.50s!important}
  .zz-chat .zz-chat-thinking > .zz-chat-thinking-dot:nth-child(2){animation-delay:-.25s!important}
  .zz-chat .zz-chat-thinking > .zz-chat-thinking-dot:nth-child(3){animation-delay:0s!important}
  .zz-chat-launcher,.zz-chat-link,.zz-chat-suggestion{transition:none}
}
