:host {
  all: initial;
  display: block;
  color: #f7f1ff;
  font-family: Manrope, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
.page {
  min-height: 100vh;
  padding: 28px 18px 36px;
  background: radial-gradient(ellipse at 50% 0, #2a1741, #0a0612 65%);
}
.top,
.card,
footer {
  width: min(100%, 720px);
  margin: 0 auto;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.brand {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}
.telegram {
  color: #cbb2ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.card {
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid #ffffff1a;
  border-radius: 22px;
  background: #171020;
  box-shadow: 0 16px 48px #0005;
}
.eyebrow {
  margin: 0 0 8px;
  color: #aa86ed;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
h1,
h2 {
  margin: 0;
  color: #fff;
  font-weight: 800;
}
h1 {
  font-size: clamp(22px, 5vw, 32px);
  overflow-wrap: anywhere;
}
h1 span {
  color: #c6a9ff;
}
h2 {
  font-size: 20px;
}
.summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  color: #c8bdcf;
  font-size: 14px;
}
.state {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #8154c8;
  border-radius: 14px;
  background: #271a36;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}
.pay-slot:empty {
  display: none;
}
.pay-button {
  display: block;
  margin-top: 14px;
  padding: 15px 20px;
  border-radius: 12px;
  background: linear-gradient(100deg, #a855f7, #7157ff);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.privacy {
  margin: 14px 0 0;
  color: #a99eb1;
  font-size: 12px;
  line-height: 1.6;
}
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.online {
  color: #78d6a0;
  font-size: 11px;
  white-space: nowrap;
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 250px;
  overflow-y: auto;
  margin: 18px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: #0e0a14;
}
.empty {
  margin: auto;
  color: #93889b;
  font-size: 13px;
  text-align: center;
}
.message {
  width: fit-content;
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 13px;
  background: #261b32;
}
.message.client {
  align-self: flex-end;
  background: #45306a;
}
.who {
  color: #c7a6ff;
  font-size: 10px;
  font-weight: 800;
}
.message p {
  margin: 4px 0 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.chat-form textarea {
  width: 100%;
  min-height: 74px;
  resize: vertical;
  padding: 12px;
  border: 1px solid #46384f;
  border-radius: 12px;
  outline: none;
  background: #100c16;
  color: #fff;
  font: inherit;
  font-size: 13px;
}
.chat-form textarea:focus {
  border-color: #9c67e9;
}
.chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.hint,
.feedback {
  color: #a99eb1;
  font-size: 11px;
  line-height: 1.5;
}
.chat-actions button {
  padding: 11px 17px;
  border: 0;
  border-radius: 10px;
  background: #8755cf;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.chat-actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.feedback {
  min-height: 16px;
  margin: 10px 0 0;
}
footer {
  color: #73697c;
  font-size: 11px;
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .page {
    padding: 16px 12px 26px;
  }
  .card {
    padding: 18px;
    border-radius: 17px;
  }
  .top {
    margin-bottom: 16px;
  }
  .messages {
    height: 220px;
  }
  .hint {
    max-width: 55%;
  }
}

/* CP22: temporarily hide the fulfillment lane selector. */
.tpm{display:none!important}
