/* The mascot has a quiet corner perch from its very first paint. */
#assistant-root .zrz.zrz--perched{
  inset:auto auto calc(12px + env(safe-area-inset-bottom)) 0!important;
  width:196px!important;height:auto!important;max-width:calc(100vw - 16px)!important;
  display:block!important;background:none!important;backdrop-filter:none!important;
  pointer-events:none;z-index:90;
}
#assistant-root .zrz.zrz--perched .zrz-concierge{
  display:flex!important;flex-direction:column;align-items:center;gap:0;
  width:100%!important;max-width:100%!important;padding:0!important;
  filter:none;animation:none!important;pointer-events:auto;
}
#assistant-root .zrz.zrz--perched .zrz-launch{
  position:relative;display:block;width:100%;height:124px;margin:0;padding:0;
  border:0;border-radius:16px;background:none;box-shadow:none;overflow:visible;
}
#assistant-root .zrz.zrz--perched .zrz-launch-bird{
  position:absolute;top:-13px;left:calc(50% - 67px);right:auto;
  width:134px!important;height:134px!important;max-width:none;background:none;
  border:0;border-radius:0;box-shadow:none;transform:none;z-index:1;
}
#assistant-root .zrz.zrz--perched .zrz-launch-bird:before,
#assistant-root .zrz.zrz--perched .zrz-launch-caption,
#assistant-root .zrz.zrz--perched .zrz-launch-caption:after,
#assistant-root .zrz.zrz--perched .zrz-rest-toggle{display:none!important;content:none!important}
#assistant-root .zrz-perch-branch{display:block;position:absolute;bottom:0;left:-8px;width:calc(100% + 8px);height:44px;pointer-events:none}
#assistant-root .zrz-perch-branch img{display:block;width:100%;height:100%;object-fit:fill;max-width:100%}
#assistant-root .zrz.zrz--perched .zrz-launch-bird .asfoura-halo,
#assistant-root .zrz.zrz--perched .zrz-launch-bird .asfoura-floor-shadow{display:none}
#assistant-root .zrz.zrz--perched:not(.zrz--arriving) .zrz-launch-bird .asfoura-avatar[data-flight=rest]{animation:asfoura-perch-idle 8s ease-in-out infinite;transform-origin:50% 88%}
#assistant-root .zrz.zrz--perched:not(.zrz--arriving) .zrz-launch-bird .asfoura-avatar[data-flight=rest] .asfoura-sprite{
  background-position-x:66.666667%;clip-path:inset(0 11%);animation:asfoura-perch-idle-flutter 8s steps(1,end) infinite;
  filter:drop-shadow(0 4px 3px #143c2b20);
}
#assistant-root .zrz.zrz--perched .zrz-entry-actions{
  display:flex!important;position:relative;gap:6px!important;align-items:stretch;
  width:calc(100% - 12px);max-width:100%;padding:2px 0 0!important;margin:0 6px!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
#assistant-root .zrz.zrz--perched .zrz-entry-actions button{
  flex:1;min-width:0;min-height:44px!important;padding:7px 5px!important;gap:4px;
  border:1px solid #0e775b!important;border-radius:11px!important;
  background:#138b69!important;color:#fff!important;box-shadow:0 3px 10px #153e2a14;
  font-size:12px!important;line-height:1.6;font-weight:700;white-space:nowrap;animation:none!important;
}
#assistant-root .zrz.zrz--perched .zrz-entry-actions .zrz-enter-text{background:#fffdf5!important;color:#09674c!important;border-color:#b7d4c7!important;box-shadow:0 3px 10px #153e2a14}
#assistant-root .zrz.zrz--perched .zrz-entry-actions button:before,
#assistant-root .zrz.zrz--perched .zrz-entry-actions button:after{content:none!important;display:none!important}
#assistant-root .zrz.zrz--perched .zrz-entry-actions button svg{width:16px;height:16px;flex:0 0 16px}
#assistant-root .zrz.zrz--perched[data-perch-entry=waiting] .zrz-launch-bird{opacity:0}
#assistant-root .zrz.zrz--perched.zrz--arriving .zrz-launch-bird{animation:asfoura-perch-arrive 1.6s cubic-bezier(.26,.68,.24,1) both}
#assistant-root .zrz.zrz--perched.zrz--arriving .zrz-launch-bird .asfoura-avatar{animation:none;transform:none}
#assistant-root .zrz.zrz--perched.zrz--arriving .zrz-launch-bird .asfoura-sprite{animation:asfoura-flutter .42s steps(1,end) infinite;filter:drop-shadow(0 5px 4px #143c2b24)}
#assistant-root .zrz.zrz--perched.zrz--open .zrz-concierge{display:none!important}
#assistant-root .zrz.zrz--perched .zrz-panel{pointer-events:auto}
@keyframes asfoura-perch-arrive{
  0%{opacity:0;transform:translate3d(-80px,-130px,0) rotate(-13deg) scale(.82)}
  18%{opacity:1}
  58%{transform:translate3d(12px,-48px,0) rotate(6deg) scale(1)}
  83%{transform:translate3d(-3px,-5px,0) rotate(-2deg)}
  94%{transform:translate3d(0,2px,0) rotate(1deg)}
  100%{opacity:1;transform:none}
}
/* Two brief wing beats, then a relaxed look around. Feet remain anchored to the
   branch; mouth-row selection and the faster active-call animation are separate. */
@keyframes asfoura-perch-idle-flutter{
  0%,16%,24%,32%,100%{background-position-x:66.666667%;clip-path:inset(0 11%)}
  18%,26%{background-position-x:33.333333%;clip-path:inset(0)}
  20%,28%{background-position-x:0%;clip-path:inset(0 5%)}
  22%,30%{background-position-x:100%;clip-path:inset(0)}
}
@keyframes asfoura-perch-idle{
  0%,34%,72%,100%{transform:none}
  8%,48%,88%{transform:scaleY(1.014) rotate(.6deg)}
  16%,24%{transform:scaleY(1.012) rotate(-.8deg)}
  20%,28%{transform:scaleY(1.02) rotate(.8deg)}
  55%{transform:scaleY(1.01) rotate(-1.4deg)}
  62%{transform:scaleY(1.01) rotate(1.3deg)}
}
@media(max-width:600px){
  #assistant-root .zrz.zrz--perched{left:0!important;right:auto!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;width:180px!important;max-width:calc(100vw - 16px)!important}
  #assistant-root .zrz.zrz--perched .zrz-launch{height:108px}
  #assistant-root .zrz.zrz--perched .zrz-launch-bird{top:-8px;left:calc(50% - 58px);width:116px!important;height:116px!important}
  #assistant-root .zrz-perch-branch{height:40px}
  #assistant-root .zrz.zrz--perched .zrz-entry-actions button{font-size:11px!important;min-height:44px!important;gap:3px;padding-inline:3px!important}
  #assistant-root .zrz.zrz--perched .zrz-entry-actions button svg{width:15px;height:15px;flex-basis:15px}
  .transaction-mode #assistant-root .zrz.zrz--perched{bottom:calc(80px + env(safe-area-inset-bottom))!important}
}
@media(max-height:500px) and (min-width:601px){
  #assistant-root .zrz.zrz--perched{width:180px!important;bottom:10px!important;left:10px!important}
  #assistant-root .zrz.zrz--perched .zrz-launch{height:96px}
  #assistant-root .zrz.zrz--perched .zrz-launch-bird{top:-11px;left:calc(50% - 54px);width:108px!important;height:108px!important}
  #assistant-root .zrz-perch-branch{height:36px}
  #assistant-root .zrz.zrz--perched .zrz-entry-actions button{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  #assistant-root .zrz.zrz--perched .zrz-launch-bird,
  #assistant-root .zrz.zrz--perched .zrz-launch-bird .asfoura-avatar,
  #assistant-root .zrz.zrz--perched .zrz-launch-bird .asfoura-sprite{animation:none!important;transform:none!important}
  #assistant-root .zrz.zrz--perched .zrz-launch-bird .asfoura-sprite{background-position-x:66.666667%;clip-path:inset(0 11%)}
}
