/* Controls are separate DOM content, never painted over the video frame. */
.context-motion .demo-player,.session-demo .demo-player{width:100%;margin:16px 0}
.context-motion .demo-player video,.session-demo .demo-player video{display:block;box-sizing:border-box;padding:0;margin:0 auto;max-width:100%;background:#e8ede5}
.demo-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#e0e8d9;padding:10px;border-radius:0 0 12px 12px;direction:rtl}
.demo-controls button{min-height:44px;padding:8px 12px;font-size:14px;flex:1 0 100%;border-radius:8px;background:#193e31;color:white;border:0}
.demo-controls input[type=range]{direction:ltr;flex:1;min-width:70px;width:60%;min-height:44px;padding:0;accent-color:#193e31}
.demo-controls output{font-size:13px;color:#193e31;font-variant-numeric:tabular-nums}
.demo-control-status:empty{display:none}.demo-control-status{flex:1 0 100%;font-size:14px;color:#193e31}

.demo-controls .demo-fullscreen{flex:0 0 auto;font-size:13px;background:transparent;color:#193e31;border:1px solid #8b9f87}.demo-player:fullscreen{background:#edf1e8;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:auto}.demo-player:fullscreen video{max-height:80vh!important;width:auto;max-width:100%}.demo-player:fullscreen .demo-controls{width:min(700px,100%);box-sizing:border-box}

.calf-views{display:flex;gap:8px;margin:12px 0}.calf-views button{flex:1;min-height:44px;padding:10px;border-radius:8px}.calf-views button[aria-pressed=true]{background:#193e31;color:white}.context-motion.calf-reference video{width:100%;max-width:100%;max-height:70vh;object-fit:contain}.calf-switch-status{min-height:1.5em}
.context-motion.calf-reference{padding:0;background:transparent}.calf-reference .calf-views button{font-size:15px;padding:10px 5px}.calf-reference .calf-credit{font-size:13px;overflow-wrap:anywhere}
.detail-open .context-motion.calf-reference{padding:0;background:transparent}.detail-open .context-motion.calf-reference .calf-views button{font-size:15px;white-space:nowrap;padding:10px 5px}.detail-open .context-motion.calf-reference .calf-credit{font-size:13px;overflow-wrap:anywhere}

.context-motion.sit-stand-reference,.detail-open .context-motion.sit-stand-reference{padding:0;background:transparent}.context-motion.sit-stand-reference video{width:100%;max-width:100%;max-height:70vh;object-fit:contain}.sit-stand-reference .sit-stand-credit{font-size:13px;overflow-wrap:anywhere}
