
/* V0.8 -- seated agents at desks, walking only during transitions */
.ti-avatar.ti-seated{width:70px;height:92px;transform:translate(-50%,-90%);z-index:7}
.ti-avatar.ti-seated .ti-person{width:75px;height:85px;bottom:0;animation:ti-chair-sway 3.2s ease-in-out infinite}
.ti-seated-svg{width:100%;height:100%;filter:drop-shadow(0 5px 3px #0b071ab3)}
.ti-seated-svg .ti-sit-arms{transform-box:fill-box;transform-origin:top center;animation:ti-keypress .55s ease-in-out infinite alternate}
.ti-motion-avatar .ti-person{width:66px;height:100px}
.ti-walking-svg{width:100%;height:100%}
@keyframes ti-keypress{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
@keyframes ti-chair-sway{0%,100%{transform:translateX(-50%) rotate(-1deg)}50%{transform:translateX(-50%) rotate(1deg)}}
.ti-ceo-stage{background-image:linear-gradient(0deg,#100a20a8 0%,#12091a00 36%),url('/assets/ceo-pov-v08.webp')!important}
.ti-ceo-workers{position:absolute;inset:0;z-index:2;pointer-events:none}
.ti-ceo-worker{position:absolute;width:6.5%;aspect-ratio:4/5;transform:translate(-50%,-82%);display:grid;place-items:center;filter:drop-shadow(0 5px 6px #110a2b);z-index:2}
.ti-ceo-worker svg{width:100%;height:100%;animation:ti-chair-sway 3.3s ease-in-out infinite}
.ti-ceo-worker .ti-worker-label{position:absolute;top:-19px;left:50%;transform:translateX(-50%);font-size:clamp(6px,.55vw,9px);white-space:nowrap;background:#20112fe8;border:1px solid #b88cff88;color:#fff;padding:3px 6px;border-radius:6px;text-shadow:0 1px 4px #000;max-width:140px;overflow:hidden;text-overflow:ellipsis}
.ti-ceo-occupancy{position:absolute;left:2.4%;bottom:5%;z-index:3;background:#1b0c32dd;border:1px solid #8d69b499;padding:8px 11px;border-radius:8px;font-size:11px;color:#f7ecff;pointer-events:none}
.ti-ceo-stage[data-dialogue='speaking'] .ti-director-signal{z-index:5}
.ti-ceo-stage .ti-ceo-worker:nth-child(2n) svg{animation-delay:.4s}
@media (max-width:750px){.ti-ceo-worker{width:9%}.ti-ceo-worker .ti-worker-label{display:none}.ti-ceo-occupancy{font-size:9px;bottom:2%}}
@media(prefers-reduced-motion:reduce){.ti-seated-svg .ti-sit-arms,.ti-ceo-worker svg,.ti-avatar.ti-seated .ti-person{animation:none!important}}

/* V0.9: photorealistic agent renders are private local WebP assets. */
.ti-avatar.ti-seated {width:90px;height:125px;transform:translate(-50%,-85%);isolation:isolate}
.ti-avatar.ti-seated .ti-person {width:90px;height:119px;bottom:0;animation:ti-realistic-breath 3.9s ease-in-out infinite}
.ti-seated-real {width:100%;height:100%;display:block;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 6px #0b061bb0);user-select:none;pointer-events:none}
.ti-avatar.ti-seated:nth-child(3n+1) .ti-person {animation-delay: -1.6s}
.ti-avatar.ti-seated:nth-child(3n+2) .ti-person {animation-delay: -2.8s}
.ti-ceo-worker {width:8.2%;aspect-ratio:1/1.45;transform:translate(-50%,-86%)}
.ti-ceo-worker .ti-seated-real {width:100%;height:100%;animation:ti-realistic-breath 3.8s ease-in-out infinite}
.ti-ceo-worker:nth-child(2n) .ti-seated-real {animation-delay:-1.5s}
@keyframes ti-realistic-breath {0%,100% {transform:translateY(0) rotate(-.35deg)} 50% {transform:translateY(-1.4px) rotate(.35deg)}}
@media(max-width:750px) {.ti-ceo-worker{width:11%}}
@media(prefers-reduced-motion: reduce) {.ti-seated-real,.ti-avatar.ti-seated .ti-person,.ti-ceo-worker .ti-seated-real{animation:none!important}}

/* Reports and staff movements use realistic identity portraits (no leftover SVG person). */
.ti-avatar.ti-report .ti-person,.ti-motion-avatar .ti-person{width:62px;height:62px;bottom:0;display:grid;place-items:center;animation:ti-realistic-breath 2.8s ease-in-out infinite}
.ti-walking-portrait{width:59px;height:59px;object-fit:cover;object-position:center 13%;display:block;border-radius:50%;border:2px solid #c9a4ff;background:#1a1530;box-shadow:0 3px 15px #1a082acc,0 0 15px #9e63f48c;user-select:none;pointer-events:none}
@media(prefers-reduced-motion: reduce){.ti-avatar.ti-report .ti-person,.ti-motion-avatar .ti-person{animation:none!important}}
