.sk-userchat-action { margin-left: .45rem; white-space: nowrap; }
.sk-userchat-entry {
  width: 100%;
  margin-top: .5rem;
  padding: .7rem .9rem;
  text-align: left;
  font-size: 1rem;
}
.sk-userchat-mobile-entry { display: none; margin-top: .7rem; }
.sk-userchat-list-error { margin: .6rem; }
.sk-userchat-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 8, 18, .76);
}
.sk-userchat-panel {
  box-sizing: border-box;
  width: min(100%, 650px);
  max-height: min(92vh, 850px);
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(57, 205, 228, .45);
  border-radius: 18px;
  background: #102032;
  color: #f6fbff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
}
.sk-userchat-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sk-userchat-heading h2 { margin: 0; font-size: clamp(1.15rem, 3vw, 1.55rem); line-height: 1.25; }
.sk-userchat-contact { display: block; margin-top: .35rem; color: #a4dce8; font-size: .88rem; overflow-wrap: anywhere; }
.sk-userchat-no-email { display: inline-block; margin-top: .5rem; color: #ffd394; font-weight: 600; }
.sk-userchat-close {
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: inherit;
  font-size: 1.6rem;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
}
.sk-userchat-help { margin: .7rem 0 .9rem; color: #c5d6e3; font-size: .92rem; }
.sk-userchat-log {
  min-height: 120px;
  max-height: min(42vh, 390px);
  overflow: auto;
  padding: .7rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 11px;
  background: #0b1827;
  scrollbar-color: #3e758b transparent;
}
.sk-userchat-empty { color: #c5d6e3; text-align: center; }
.sk-userchat-bubble {
  width: fit-content;
  max-width: 88%;
  margin: .45rem auto .65rem 0;
  padding: .65rem .8rem;
  border-radius: 12px 12px 12px 3px;
  background: #24374a;
}
.sk-userchat-bubble.own { margin-left: auto; margin-right: 0; border-radius: 12px 12px 3px 12px; background: #15536a; }
.sk-userchat-meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; justify-content: space-between; font-size: .78rem; color: #cdeaf2; }
.sk-userchat-bubble p { margin: .45rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.sk-userchat-error { min-height: 1.3em; margin: .45rem 0; color: #ffd394; font-size: .9rem; }
.sk-userchat-form label { display: grid; gap: .4rem; font-weight: 700; }
.sk-userchat-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 5rem;
  padding: .7rem;
  border: 1px solid #5d8192;
  border-radius: 9px;
  background: #0b1827;
  color: inherit;
  font: inherit;
  resize: vertical;
}
.sk-userchat-form button { margin-top: .7rem; }
.sk-userchat-overlay :focus-visible { outline: 3px solid #78dfed; outline-offset: 2px; }
@media (max-width: 600px) {
  .sk-userchat-panel { max-height: 96vh; padding: .9rem; }
  .sk-userchat-log { max-height: 36vh; }
  .sk-userchat-action { display: block; margin: .45rem 0 0; }
}
@media (max-width: 1024px) {
  .sk-userchat-mobile-entry { display: inline-flex; }
}
