/* ORKIDEM ORKI VOICE TOP BAR V4 CSS 2026-09-01
   Only the voice strip is styled. The panel/messages/suggestions/composer are untouched.
   The JS moves the EXISTING realtime node directly after the header. */
body[data-r47-customer] [data-orki-panel] > [data-orki-realtime],
body[data-r47-customer] .a22-orki-panel.r172-orki-panel > .r173-orki-realtime{
  position:relative!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:4px 8px 0!important;
  padding:0!important;
  align-self:stretch!important;
  flex:0 0 auto!important;
  z-index:14!important;
  transform:none!important;
  translate:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body[data-r47-customer] [data-orki-panel] > [data-orki-realtime][hidden]{display:none!important}
body[data-r47-customer] [data-orki-panel] > [data-orki-realtime] .r173-voice-stage,
body[data-r47-customer] .a22-orki-panel.r172-orki-panel > .r173-orki-realtime .r173-voice-stage{
  position:relative!important;
  inset:auto!important;
  display:grid!important;
  grid-template-columns:30px auto minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  align-content:center!important;
  column-gap:7px!important;
  row-gap:0!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:48px!important;
  max-height:58px!important;
  margin:0!important;
  padding:7px 8px!important;
  flex:0 0 auto!important;
  transform:none!important;
  translate:none!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body[data-r47-customer] [data-orki-panel] .r173-voice-orb{
  grid-column:1!important;grid-row:1!important;
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;
  margin:0!important;transform:none!important;translate:none!important;justify-self:center!important;align-self:center!important;
}
body[data-r47-customer] [data-orki-panel] .r173-voice-orb .r173-voice-ring{display:none!important}
body[data-r47-customer] [data-orki-panel] .r173-voice-orb img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important}
body[data-r47-customer] [data-orki-panel] .r173-voice-stage > strong{grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important;padding:0!important;white-space:nowrap!important;align-self:center!important}
body[data-r47-customer] [data-orki-panel] .r173-voice-stage > p{grid-column:3!important;grid-row:1!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;align-self:center!important}
body[data-r47-customer] [data-orki-panel] .r173-voice-stage > .r173-voice-wave,
body[data-r47-customer] [data-orki-panel] .r173-voice-stage > small{display:none!important}
body[data-r47-customer] [data-orki-panel] .r173-voice-controls{
  position:relative!important;inset:auto!important;
  grid-column:4!important;grid-row:1!important;
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;justify-self:end!important;
  gap:6px!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;
  transform:none!important;translate:none!important;box-sizing:border-box!important;white-space:nowrap!important;
}
body[data-r47-customer] [data-orki-panel] .r173-voice-controls > *{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;margin:0!important}
body[data-r47-customer] [data-orki-panel] .r173-voice-controls button{min-height:32px!important;padding-top:6px!important;padding-bottom:6px!important;white-space:nowrap!important}
@media(max-width:360px){
  body[data-r47-customer] [data-orki-panel] > [data-orki-realtime] .r173-voice-stage,
  body[data-r47-customer] .a22-orki-panel.r172-orki-panel > .r173-orki-realtime .r173-voice-stage{
    grid-template-columns:28px auto minmax(0,1fr)!important;
    row-gap:6px!important;
    max-height:none!important;
  }
  body[data-r47-customer] [data-orki-panel] .r173-voice-orb{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important}
  body[data-r47-customer] [data-orki-panel] .r173-voice-controls{grid-column:1/-1!important;grid-row:2!important;width:100%!important;justify-content:center!important;justify-self:stretch!important}
}