/* Omni 0.2.138 QA: compact in-call controls behind the Mini Central.
   Local-only overlay. Source call controls and all handlers remain unchanged. */
#appShell .omni-compact-voice {
  --compact-surface: rgba(20, 25, 30, .965);
  --compact-ink: #edf2f5;
  --compact-muted: #aeb9c3;
  --compact-outline: rgba(229, 239, 247, .16);
  position: absolute;
  z-index: 27;
  left: -68px;
  bottom: 88px;
  width: calc(100% + 68px);
  box-sizing: border-box;
  min-width: 0;
  padding: 10px 11px 11px;
  border: 1px solid var(--compact-outline);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  color: var(--compact-ink);
  background: var(--compact-surface);
  box-shadow: 0 -7px 18px rgba(0, 0, 0, .13);
  font: 500 12px/1.3 "Segoe UI", "SF Pro Display", sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 19px, 0);
  transition: opacity .21s ease, transform .28s cubic-bezier(.2,.7,.2,1),
    visibility 0s linear .28s;
}
#appShell .omni-compact-voice.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: opacity .21s ease, transform .28s cubic-bezier(.2,.7,.2,1),
    visibility 0s;
}
#appShell .omni-compact-voice .omni-compact-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 9px;
}
#appShell .omni-compact-voice .omni-compact-live {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79dfa5;
}
#appShell .omni-compact-voice .omni-compact-caption {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#appShell .omni-compact-voice .omni-compact-caption strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .01em;
}
#appShell .omni-compact-voice .omni-compact-caption small {
  color: var(--compact-muted);
  font-size: 10px;
  line-height: 12px;
}
#appShell .omni-compact-voice .omni-compact-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 3px;
}
#appShell .omni-compact-voice button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--compact-ink);
  padding: 0;
  cursor: pointer;
  min-width: 32px;
  height: 34px;
  transition: background-color .13s ease, color .13s ease;
}
#appShell .omni-compact-voice button:hover {
  background-color: rgba(236, 245, 250, .10);
}
#appShell .omni-compact-voice button:focus-visible {
  outline: 2px solid #9bcdf3;
  outline-offset: 1px;
}
#appShell .omni-compact-voice button:disabled {
  opacity: .43;
  cursor: not-allowed;
}
#appShell .omni-compact-voice .omni-compact-return {
  min-width: 27px;
  width: 27px;
  height: 27px;
  color: var(--compact-muted);
}
#appShell .omni-compact-voice .omni-compact-pair {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 36px;
  border: 1px solid rgba(229,239,247,.12);
  border-radius: 9px;
  background: rgba(233,242,248,.035);
  overflow: hidden;
}
#appShell .omni-compact-voice .omni-compact-pair > button {
  border-radius: 0;
  height: 34px;
  width: 32px;
  min-width: 32px;
}
#appShell .omni-compact-voice .omni-compact-pair > button.omni-compact-device {
  width: 18px;
  min-width: 18px;
  color: var(--compact-muted);
  border-left: 1px solid rgba(229,239,247,.12);
}
#appShell .omni-compact-voice button svg {
  display: block;
  flex: none;
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
#appShell .omni-compact-voice button.omni-compact-device svg {
  width: 11px;
  height: 11px;
}
#appShell .omni-compact-voice button.omni-compact-return svg {
  width: 16px;
  height: 16px;
}
#appShell .omni-compact-voice .omni-compact-main.is-active,
#appShell .omni-compact-voice .omni-compact-pair:has(.omni-compact-main.is-active) {
  color: #8ee7b3;
  border-color: rgba(119,206,166,.22);
}
#appShell .omni-compact-voice .omni-compact-main.is-muted,
#appShell .omni-compact-voice .omni-compact-pair:has(.omni-compact-main.is-muted) {
  color: #ff969e;
  border-color: rgba(235,136,149,.24);
}
#appShell .omni-compact-voice .omni-compact-share.is-active {
  color: #8bded3;
  background: rgba(67,155,140,.13);
}
#appShell .omni-compact-voice button.omni-compact-leave {
  color: #fff;
  background: #a93846;
  border-color: rgba(255,190,195,.14);
  border-radius: 9px;
  min-width: 38px;
  width: 38px;
  height: 36px;
}
#appShell .omni-compact-voice button.omni-compact-leave:hover {
  background: #c04a58;
}
#appShell .omni-compact-voice button.omni-compact-leave svg {
  stroke: currentColor;
  width: 22px;
  height: 22px;
}
html[data-omni-voice-skin="omni-black"] #appShell .omni-compact-voice {
  --compact-surface: rgba(6, 8, 11, .98);
}
html[data-omni-voice-skin="omni-minimal"] #appShell .omni-compact-voice {
  --compact-surface: rgba(26, 29, 32, .985);
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}
html[data-omni-voice-skin="omni-glass"] #appShell .omni-compact-voice {
  --compact-surface: rgba(23, 33, 41, .80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html[data-nexo-theme="light"] #appShell .omni-compact-voice {
  --compact-surface: rgba(245, 247, 248, .98);
  --compact-ink: #28333d;
  --compact-muted: #485660;
  --compact-outline: rgba(33, 47, 56, .20);
}
html[data-nexo-theme="light"] #appShell .omni-compact-voice button:hover {
  background: rgba(33, 47, 56, .085);
}
html[data-nexo-theme="light"] #appShell .omni-compact-voice .omni-compact-pair {
  border-color: rgba(33, 47, 56, .17);
}
html[data-nexo-theme="light"] #appShell .omni-compact-voice .omni-compact-main.is-muted {
  color: #a32f3f;
}
html[data-nexo-theme="light"] #appShell .omni-compact-voice .omni-compact-main.is-active {
  color: #176d43;
}
@media(max-width:1150px) {
  #appShell .omni-compact-voice {
    left: -62px;
    width: calc(100% + 62px);
  }
}
@media(max-width:760px) {
  #appShell .omni-compact-voice {
    display: none !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  #appShell .omni-compact-voice,
  #appShell .omni-compact-voice.is-open,
  #appShell .omni-compact-voice button {
    transition: none !important;
  }
}

/* Narrow-window access: anchored to the content gutter, above the composer. */
#appShell .omni-narrow-voice-toggle {
  display: none;
}
#appShell .omni-narrow-voice-toggle[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  #appShell .omni-narrow-voice-toggle {
    position: fixed;
    left: 66px;
    bottom: 88px;
    z-index: 85;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 48px;
    height: 46px;
    padding: 0 7px;
    border: 1px solid rgba(235,242,249,.22);
    border-radius: 12px;
    color: var(--omni-narrow-ink, #f2f6fa);
    background: var(--omni-narrow-surface, rgba(24,24,27,.95));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 6px 22px rgba(0,0,0,.16);
    cursor: pointer;
    transition: background-color .16s, border-color .16s, transform .18s;
  }
  #appShell .omni-narrow-voice-toggle .omni-narrow-call-icon {
    width: 20px;
    height: 20px;
    flex: none;
  }
  #appShell .omni-narrow-voice-toggle .omni-narrow-drawer-icon {
    width: 12px;
    height: 12px;
    flex: none;
    transition: transform .2s;
  }
  #appShell .omni-narrow-voice-toggle.is-open .omni-narrow-drawer-icon {
    transform: rotate(180deg);
  }
  #appShell .omni-narrow-voice-toggle.is-open {
    border-color: rgba(127,215,172,.58);
  }
  #appShell .omni-narrow-voice-toggle:focus-visible {
    outline: 2px solid #9bcdf3;
    outline-offset: 3px;
  }
  #appShell .omni-narrow-voice-toggle:active {
    transform: translateY(1px);
  }
  #appShell .omni-compact-voice {
    position: fixed;
    z-index: 84;
    display: block !important;
    left: 66px;
    bottom: 142px;
    width: min(318px, calc(100vw - 78px));
    padding: 11px;
    border: 1px solid var(--compact-outline);
    border-radius: 12px;
    background: var(--omni-narrow-surface, rgba(24,24,27,.95));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
    transform: translate3d(0, 12px, 0);
  }
  #appShell .omni-compact-voice.is-open {
    transform: translate3d(0, 0, 0);
  }
  html[data-nexo-theme="light"] #appShell .omni-narrow-voice-toggle {
    border-color: rgba(33,47,56,.25);
  }
}
@media (max-width: 760px) and (max-height: 440px) {
  #appShell .omni-narrow-voice-toggle { bottom: 12px; }
  #appShell .omni-compact-voice { bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  #appShell .omni-narrow-voice-toggle,
  #appShell .omni-narrow-voice-toggle .omni-narrow-drawer-icon {
    transition: none !important;
  }
}

/* QA 141: panel edges remain straight and the Mini Central portrait stays above.
   Restore the rounded, centered Omni voice controls (voice-dock-079). */
@media (min-width: 761px) {
  #appShell .user-panel.mini-central {
    z-index: 28 !important;
    overflow: visible !important;
  }
}
#appShell .omni-compact-voice {
  border-radius: 0 !important;
}
#appShell .omni-compact-voice button {
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: center;
  border-radius: 11px !important;
  padding: 0;
  text-align: center;
}
#appShell .omni-compact-voice .omni-compact-pair {
  border-radius: 11px !important;
  overflow: hidden;
}
#appShell .omni-compact-voice .omni-compact-pair > button {
  display: grid;
  place-items: center;
  border-radius: 0 !important;
}
#appShell .omni-compact-voice button.omni-compact-leave {
  border-radius: 11px !important;
}
#appShell .omni-compact-voice button > svg {
  display: block;
  position: static;
  justify-self: center;
  align-self: center;
  margin: 0;
}
#appShell .omni-narrow-voice-toggle {
  border-radius: 12px !important;
}

