/* Local candidate: avatar-only styles. MOW remains the page/theme authority. */
#assistent .office-assistant-avatar {
  --assistant-gaze-x: 0px;
  --assistant-gaze-y: 0px;
  --assistant-dot-start: #219CB4;
  --assistant-dot-middle: #1774C2;
  --assistant-dot-end: #552FCA;
  flex: none;
  line-height: 0;
  pointer-events: none;
}
:root[data-theme="dark"] #assistent .office-assistant-avatar {
  --assistant-dot-start: #35DEF7;
  --assistant-dot-middle: #6DB3FA;
  --assistant-dot-end: #9086F9;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #assistent .office-assistant-avatar {
    --assistant-dot-start: #35DEF7;
    --assistant-dot-middle: #6DB3FA;
    --assistant-dot-end: #9086F9;
  }
}
#assistent .office-assistant-avatar--hero { width: 100px; height: 100px; margin: -14px 0 10px -13px; }
#assistent .office-assistant-avatar--compact { width: 36px; height: 36px; margin-left: -5px; }
#assistent .office-assistant-avatar svg { width: 100%; height: 100%; display: block; overflow: visible; }
#assistent .office-assistant-avatar .dot-start { stop-color: var(--assistant-dot-start); }
#assistent .office-assistant-avatar .dot-middle { stop-color: var(--assistant-dot-middle); }
#assistent .office-assistant-avatar .dot-end { stop-color: var(--assistant-dot-end); }
#assistent .office-assistant-avatar .dot { transform-box: fill-box; transform-origin: center; opacity: .85; }
#assistent .office-assistant-avatar .eye { fill: var(--ink); }
#assistent .office-assistant-avatar .eyes { transform: translate(var(--assistant-gaze-x),var(--assistant-gaze-y)); }
#assistent .office-assistant-avatar .eyelids { transform-origin: 80px 72px; }
#assistent .office-assistant-avatar[data-assistant-active="true"] .eyes { transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
#assistent .office-assistant-avatar[data-assistant-active="true"] .eyelids { animation: office-assistant-blink 7.6s infinite; }
/* Exact point wave from the standalone Assistant's thinking state. */
#assistent .office-assistant-avatar[data-assistant-active="true"] .dot {
  animation: office-assistant-think-dot 1.8s ease-in-out infinite;
  animation-delay: var(--phase);
}
@keyframes office-assistant-think-dot {
  0%,100% { opacity: .44; transform: scale(.88); }
  38% { opacity: 1; transform: scale(1.12); }
}
@keyframes office-assistant-blink {
  0%,37%,40%,76%,79%,100% { transform: scaleY(1); }
  38.5%,77.5% { transform: scaleY(.1); }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  #assistent .office-assistant-avatar .eyes { transform: none; transition: none; }
  #assistent .office-assistant-avatar[data-assistant-active] .eyelids,
  #assistent .office-assistant-avatar[data-assistant-active] .dot { animation: none; }
}
@media (prefers-contrast: more) {
  #assistent .office-assistant-avatar .dot { opacity: 1; }
}
