html,
body,
#root {
  height: 100%;
  margin: 0;
}
body {
  overflow: hidden;
  background: #f2f4f5;
}
#root {
  display: flex;
}
.frame,
.screen-column {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.frame {
  justify-content: center;
}
.screen-column {
  flex-direction: column;
}
.rail {
  display: none;
}
:focus-visible {
  outline: 3px solid #3e8dae !important;
  outline-offset: -3px;
}
.install-hint {
  position: absolute;
  bottom: 8px;
  left: 4%;
  right: 4%;
  background: white;
  color: #1e2b33;
  border: 1px solid #d5dce0;
  padding: 10px;
  border-radius: 12px;
  font:
    14px Figtree_500Medium,
    sans-serif;
  z-index: 2;
}
.install-hint button {
  border: 0;
  background: transparent;
  color: #004c6c;
  text-decoration: underline;
  padding: 6px;
}
@media (min-width: 768px) {
  .screen-column {
    max-width: 480px;
    border-inline: 1px solid #dde3e7;
  }
  .signed-in {
    padding-left: 150px;
  }
  .rail {
    position: absolute;
    inset: 0 auto 0 0;
    width: 132px;
    padding: 30px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    border-right: 1px solid #dde3e7;
  }
  .rail > div {
    margin: 0 8px 28px;
  }
  .rail a {
    padding: 14px 15px;
    border-radius: 12px;
    color: #004c6c;
    text-decoration: none;
    font:
      16px Figtree_600SemiBold,
      sans-serif;
  }
  .rail a[aria-current] {
    background: #eaf3f7;
  }
  .install-hint {
    display: none;
  }
}
@media (min-width: 1024px) {
  .chat-frame .screen-column {
    max-width: 960px;
  }
}
.unies-alert {
  border: 1px solid #dde3e7;
  border-radius: 18px;
  padding: 24px;
  max-width: min(340px, 80vw);
  color: #1e2b33;
  font:
    16px Figtree_500Medium,
    sans-serif;
}
.unies-alert::backdrop {
  background: #002b3d66;
}
.unies-alert h2 {
  font-size: 20px;
  margin: 0;
}
.unies-alert button {
  border: 0;
  border-radius: 18px;
  padding: 10px 16px;
  margin: 4px;
  background: #004c6c;
  color: white;
  cursor: pointer;
}
.rail-badge {
  float: right;
  border-radius: 1em;
  background: #004c6c;
  color: white;
  font-size: 0.78rem;
  padding: 0.12em 0.5em;
}
