[data-component="session-message-rail"] {
  display: contents;
}

[data-slot="session-message-rail-compact"],
[data-slot="session-message-rail-full"] {
  position: absolute;
  left: 1.5rem;
  margin-top: 0.625rem;
}

[data-slot="session-message-rail-compact"] {
  display: flex;
}

[data-slot="session-message-rail-full"] {
  display: none;
}

@container (min-width: 88rem) {
  [data-slot="session-message-rail-compact"] {
    display: none;
  }
  [data-slot="session-message-rail-full"] {
    display: flex;
  }
}

[data-component="session-message-rail"] [data-slot="session-message-rail-full"] {
  transform: none;
}

[data-component="session-message-rail"][data-wide] [data-slot="session-message-rail-full"] {
  margin-top: 0.125rem;
  left: calc(((100% - min(100%, 50rem)) / 2) - 1.5rem);
  transform: translateX(-100%);
}

[data-component="session-message-rail"]:not([data-wide]) [data-slot="session-message-rail-full"] {
  margin-top: 0.625rem;
}
