/* Omni 0.2.79 - voice call dock, UI/UX Pro Max
   Scope: the six existing live voice controls only. No event handlers,
   stream sizing, menu behavior or per-account data are changed. */
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls{
  --omni-dock-ink:#e9f0ee;
  --omni-dock-muted:#a7b8b7;
  --omni-dock-accent:#a6e6c6;
  --omni-dock-line:rgba(229,244,242,.16);
  --omni-dock-interactive:rgba(234,249,244,.035);
  --omni-dock-hover:rgba(233,248,244,.105);
  position:absolute!important;
  inset:auto auto clamp(12px,1.8vh,18px) 50%!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  z-index:35!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  flex:0 0 auto!important;
  width:max-content!important;
  max-width:calc(100% - 18px)!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:7px 9px!important;
  gap:6px!important;
  border:1px solid var(--omni-dock-line)!important;
  border-top-color:rgba(248,255,251,.23)!important;
  border-bottom-color:rgba(3,12,17,.52)!important;
  border-radius:17px!important;
  background:linear-gradient(168deg,rgba(28,39,44,.89),rgba(13,20,27,.92) 86%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.09),
   0 11px 30px rgba(0,0,0,.30),0 3px 9px rgba(0,0,0,.24)!important;
  backdrop-filter:blur(18px) saturate(112%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(112%)!important;
  transform:translateX(-50%)!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls::-webkit-scrollbar{
  display:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls > .stage-control-spacer{
  display:none!important;
}

/* Solid, equal hit areas; the icon carries contrast, not the button box. */
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > :is(.stage-control:not(.nexo-hangup),.stage-control-group){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  height:44px!important;
  min-height:44px!important;
  border:1px solid rgba(238,250,247,.095)!important;
  border-radius:11px!important;
  background:var(--omni-dock-interactive)!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--omni-dock-ink)!important;
  text-shadow:none!important;
  filter:none!important;
  transition:color .14s ease,background-color .14s ease,border-color .14s ease!important;
  transform:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup){
  width:44px!important;
  min-width:44px!important;
  padding:0!important;
  gap:0!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group{
  overflow:hidden!important;
  gap:0!important;
  width:70px!important;
  min-width:70px!important;
  padding:0!important;
  justify-content:stretch!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  box-sizing:border-box!important;
  width:44px!important;
  min-width:44px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  border:0!important;
  border-radius:10px 0 0 10px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:inherit!important;
  text-shadow:none!important;
  transform:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control-arrow{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 25px!important;
  box-sizing:border-box!important;
  width:25px!important;
  min-width:25px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-left:1px solid rgba(228,246,239,.12)!important;
  border-radius:0 10px 10px 0!important;
  background:transparent!important;
  background-image:none!important;
  color:var(--omni-dock-muted)!important;
  box-shadow:none!important;
  transform:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control-arrow .nexo-device-chevron{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  color:inherit!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 svg.stage-control-svg{
  display:block!important;
  flex:none!important;
  width:21px!important;
  height:21px!important;
  stroke:currentColor!important;
  stroke-width:1.95!important;
  stroke-linejoin:round!important;
  stroke-linecap:round!important;
  fill:none!important;
  filter:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 .stage-control-icon{
  display:grid!important;
  place-items:center!important;
  width:23px!important;
  height:23px!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup) > span,
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control > span:not(.stage-control-icon){
  display:none!important;
}

/* Dark neutral controls on rest; no jump, scale or glow when hovered. */
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup):is(:hover,:focus-visible),
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:hover{
  background:var(--omni-dock-hover)!important;
  border-color:rgba(225,246,237,.19)!important;
  box-shadow:none!important;
  transform:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > :is(.stage-control,.stage-control-arrow):hover{
  background:rgba(236,249,245,.09)!important;
  color:#fff!important;
}

/* Semantic colors: green for ready, coral for muted, turquoise for stream. */
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(>.stage-control.is-active){
  background:rgba(46,121,95,.16)!important;
  border-color:rgba(111,199,158,.36)!important;
  color:var(--omni-dock-accent)!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control.is-active{
  color:var(--omni-dock-accent)!important;
  background:transparent!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(>.stage-control.is-muted){
  background:rgba(145,69,78,.135)!important;
  border-color:rgba(216,123,136,.34)!important;
  color:#f0b2b9!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control.is-muted{
  color:#f0b2b9!important;
  background:transparent!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #shareScreenButton.is-active{
  color:#a2e6d4!important;
  border-color:rgba(101,219,190,.35)!important;
  background:rgba(30,123,106,.18)!important;
}
/* End-call button is the only high-emphasis surface in the whole dock. */
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #stageLeaveButton.nexo-hangup{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 47px!important;
  box-sizing:border-box!important;
  width:47px!important;
  min-width:47px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  margin:0 0 0 3px!important;
  border-radius:11px!important;
  border:1px solid rgba(247,138,149,.36)!important;
  background:linear-gradient(160deg,#ad424e,#802d39)!important;
  color:#fff3f3!important;
  box-shadow:inset 0 1px rgba(255,233,235,.16),0 3px 7px rgba(71,12,24,.24)!important;
  filter:none!important;
  text-shadow:none!important;
  transition:background .14s ease,border-color .14s ease!important;
  transform:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #stageLeaveButton.nexo-hangup:hover{
  background:linear-gradient(160deg,#c6535d,#993743)!important;
  border-color:rgba(255,188,197,.55)!important;
  box-shadow:inset 0 1px rgba(255,233,235,.18),0 3px 7px rgba(71,12,24,.24)!important;
  transform:none!important;
  filter:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 #stageLeaveButton.nexo-hangup .nexo-hangup-icon{
  width:22px!important;
  height:22px!important;
  fill:currentColor!important;
  stroke:none!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 button:focus-visible{
  outline:2px solid #c2f2df!important;
  outline-offset:-3px!important;
  box-shadow:0 0 0 1px rgba(4,14,17,.5)!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 button:disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
  filter:saturate(.5)!important;
}
#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 button:not(:disabled){
  cursor:pointer;
  touch-action:manipulation;
}

/* Preserve user's existing surface color, without overriding the
   distinction between neutral and emergency controls. */
html[data-nexo-personalized="1"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls{
  background:linear-gradient(160deg,
    color-mix(in srgb,var(--nexo-surface-bg,rgba(23,34,38,.62)) 80%,rgba(23,31,37,.75)),
    rgba(12,19,25,.72))!important;
}
/* Light theme gets real dark icons and a cool translucent surface. */
html[data-nexo-theme="light"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls{
  --omni-dock-ink:#243b41;
  --omni-dock-muted:#516973;
  --omni-dock-line:rgba(56,84,91,.20);
  --omni-dock-interactive:rgba(229,241,243,.42);
  --omni-dock-hover:rgba(204,228,231,.65);
  border-top-color:rgba(255,255,255,.7)!important;
  border-bottom-color:rgba(42,70,80,.22)!important;
  background:linear-gradient(158deg,rgba(247,253,253,.90),rgba(222,234,237,.87))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.75),0 8px 20px rgba(26,54,64,.16)!important;
}
html[data-nexo-theme="light"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > :is(.stage-control:not(.nexo-hangup),.stage-control-group){
  border-color:rgba(56,91,96,.16)!important;
}
html[data-nexo-theme="light"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(>.stage-control.is-active){
  background:rgba(49,140,99,.12)!important;
  color:#176347!important;
  border-color:rgba(36,128,82,.32)!important;
}
html[data-nexo-theme="light"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control.is-active{
  color:#176347!important;
}
html[data-nexo-theme="light"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group:has(>.stage-control.is-muted){
  background:rgba(176,65,87,.09)!important;
  border-color:rgba(166,54,76,.32)!important;
}
html[data-nexo-theme="light"] #appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control.is-muted{
  color:#a1324f!important;
}
/* Smaller in-app windows keep all actions available with no second row. */
@media(max-width:760px){
 #appShell:not(.nexo-video-fullscreen) .chat-column
  #voiceStage:not([hidden]) > .voice-stage-controls{
   gap:4px!important;
   padding:6px 7px!important;
   max-width:calc(100% - 10px)!important;
   border-radius:14px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control:not(.nexo-hangup){
   width:38px!important;min-width:38px!important;
   height:40px!important;min-height:40px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control-group{
   width:62px!important;min-width:62px!important;
   height:40px!important;min-height:40px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control-group > .stage-control{
   flex-basis:38px!important;
   width:38px!important;min-width:38px!important;
   height:38px!important;min-height:38px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control-group > .stage-control-arrow{
   flex-basis:23px!important;
   width:23px!important;min-width:23px!important;
   height:38px!important;min-height:38px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls #stageLeaveButton.nexo-hangup{
   width:43px!important;min-width:43px!important;flex-basis:43px!important;
   height:40px!important;min-height:40px!important;
   margin-left:0!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #appShell:not(.nexo-video-fullscreen) .chat-column
  #voiceStage:not([hidden]) > .voice-stage-controls button,
 #appShell:not(.nexo-video-fullscreen) .chat-column
  #voiceStage:not([hidden]) > .voice-stage-controls .stage-control-group{
   transition:none!important;
   animation:none!important;
   transform:none!important;
 }
}

/* At phone-sized windows, remove the last few pixels of horizontal scroll
   rather than allowing the end-call button to be partially clipped. */
@media(max-width:420px){
 #appShell:not(.nexo-video-fullscreen) .chat-column
  #voiceStage:not([hidden]) > .voice-stage-controls{
    gap:3px!important;
    padding:6px 5px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control:not(.nexo-hangup){
    width:36px!important;min-width:36px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control-group{
    width:60px!important;min-width:60px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls > .stage-control-group > .stage-control{
    flex-basis:36px!important;width:36px!important;min-width:36px!important;
 }
 #appShell:not(.nexo-video-fullscreen) .chat-column #voiceStage:not([hidden])
  > .voice-stage-controls #stageLeaveButton.nexo-hangup{
    width:41px!important;min-width:41px!important;flex-basis:41px!important;
 }
}

/* Light mode: override older state palettes that were tuned for a dark
   toolbar; retain color meaning with accessible contrast on pale glass. */
html[data-nexo-theme="light"] #appShell#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > :is(#stageMicButton,#stageDeafenButton).stage-control.is-active{
 color:#176347!important;
}
html[data-nexo-theme="light"] #appShell#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > :is(#stageMicButton,#stageDeafenButton).stage-control.is-muted{
 color:#a1324f!important;
}
html[data-nexo-theme="light"] #appShell#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control:not(.is-active):not(.is-muted){
 color:#243b41!important;
}
html[data-nexo-theme="light"] #appShell#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control-group > .stage-control-arrow{
 color:#516973!important;
}
html[data-nexo-theme="light"] #appShell#appShell:not(.nexo-video-fullscreen)
 .chat-column #voiceStage:not([hidden]) > .voice-stage-controls
 > .stage-control:not(.nexo-hangup):is(:hover,:focus-visible){
 color:#183d40!important;
}
