/* WINDETECT v2.2.81: unify the moving chat as a full rounded page.
   The menu remains stationary behind it. Do not draw the red reference markup. */
html:root body #wdSmartCamera.wd-command-mode .wd-sc-shell{
  border-radius:0!important;
  box-shadow:none!important;
  border-left:0 solid transparent!important;
  overflow:hidden!important;
  background:#fff!important;
  isolation:isolate;
  transition:transform .28s cubic-bezier(.22,.72,.25,1), border-radius .28s ease,
             box-shadow .28s ease, filter .28s ease!important;
}
html:root body #wdSmartCamera.wd-command-mode.wd-sc-drawer-open .wd-sc-shell{
  border-radius:56px 0 0 56px!important;
  box-shadow:-8px 0 27px rgba(15,33,55,.19), -1px 0 0 rgba(165,179,196,.30)!important;
  background:#fff!important;
}
html:root body #wdSmartCamera.wd-command-mode .wd-sc-shell.wd-finger-dragging{
  transition:none!important;
  /* The surface itself is translated in JS; keep its edge visible during drag. */
  border-radius:56px 0 0 56px!important;
  box-shadow:-8px 0 27px rgba(15,33,55,.19), -1px 0 0 rgba(165,179,196,.30)!important;
}
/* Chat and dock are children of the same moving shell: no independently fixed dock. */
html:root body #wdSmartCamera.wd-command-mode #wdScCommandHome{
  inset:0!important;
  overflow:hidden!important;
  border-radius:inherit;
}
/* v2.2.86: retired duplicate chat log rule */

/* Keep upper action buttons above the fading text. */
html:root body #wdSmartCamera.wd-command-mode :is(.wd-sc-top,#wdScDrawerToggle){z-index:42!important}
@media(prefers-reduced-motion:reduce){
  html:root body #wdSmartCamera.wd-command-mode .wd-sc-shell{transition:none!important}
}
