/* The MBPrep doctor: one clay companion on sign-in and onboarding (12 Nov). Poses cross-fade; she breathes while idle. */
.doc { position: relative; margin: 0; width: var(--doc-w, 150px); aspect-ratio: 517 / 640; pointer-events: none; user-select: none; }
.doc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  opacity: 0; transform: translateY(6px) scale(.97); transform-origin: 50% 100%;
  transition: opacity .32s ease, transform .5s cubic-bezier(.2,.9,.25,1.25); filter: drop-shadow(0 16px 18px rgb(0 0 0 / .28)); }
.doc img.on { opacity: 1; transform: none; animation: docBreathe 4.2s ease-in-out .6s infinite; }
.doc::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -3px; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .32), transparent); z-index: -1; }
@keyframes docBreathe { 0%, 100% { transform: none; } 50% { transform: translateY(-3px) scale(1.012, .995); } }
@media (prefers-reduced-motion: reduce) { .doc img, .doc img.on { transition: opacity .2s; transform: none; animation: none; } }
