.ora-support {
  color: #203452;
  font-family: inherit;
}

.os-launcher {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8e8fc;
  border-radius: 50px;
  padding: 7px 18px 7px 6px;
  background: #fff;
  color: #29496e;
  box-shadow: 0 8px 30px #254e8c18;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.os-launcher img {
  width: 48px;
  height: 48px;
}

.os-launcher:hover {
  background: #f2f8ff;
}

.os-panel {
  box-sizing: border-box;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  width: 430px;
  max-width: calc(100vw - 32px);
  max-height: min(780px, calc(100dvh - 32px));
  border: 1px solid #dbe8f8;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 90px #17365b30;
  isolation: isolate;
  opacity: 0;
  transform: translateY(22px) scale(.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .22s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}

.os-panel[hidden] {
  display: none;
}

.os-panel.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.os-hero {
  position: relative;
  flex: 0 0 auto;
  padding: 23px 28px 22px;
  background: radial-gradient(ellipse at 50% 15%, #d8ecff, #f4f9ff 75%);
  text-align: center;
}

.os-mascot {
  display: block;
  width: 115px;
  height: 115px;
  margin: 0 auto 6px;
  transform-origin: 50% 80%;
}

.os-panel.is-open .os-mascot {
  animation: os-hello 1s ease-in-out;
}

.os-kicker {
  color: #3672b9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
}

.os-hero h2 {
  margin: 10px 0;
  color: #203452;
  font-size: 25px;
  letter-spacing: -.8px;
}

.os-hero p {
  margin: 0;
  color: #637e9e;
  font-size: 13px;
  line-height: 1.6;
}

.os-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffffd9;
  color: #536a87;
  cursor: pointer;
}

.os-close span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.os-close span::before,
.os-close span::after {
  position: absolute;
  top: -1px;
  left: 8px;
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: #536a87;
  content: '';
}

.os-close span::before {
  transform: rotate(45deg);
}

.os-close span::after {
  transform: rotate(-45deg);
}

.os-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  overscroll-behavior: contain;
}

.os-chat-row {
  display: flex;
  align-items: flex-start;
  margin: 0 0 14px;
}

.os-chat-bubble {
  max-width: 88%;
  border: 1px solid #dbe9f9;
  border-radius: 15px 15px 15px 5px;
  padding: 11px 13px;
  background: #f2f8ff;
  color: #5f7897;
  font-size: 12px;
  line-height: 1.55;
}

.os-search-label {
  display: block;
  margin: 5px 0 7px;
  color: #304762;
  font-size: 12px;
  font-weight: 700;
}

.os-chat-body input[type='search'] {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid #d5e3f5;
  border-radius: 12px;
  padding: 12px 13px;
  background: #fafcff;
  color: #203452;
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
}

.os-topic-kicker {
  margin: 20px 0 7px;
  color: #7890ac;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.os-topic-list {
  border-top: 1px solid #e2ebf6;
}

.ora-support .faq-item {
  border-bottom: 1px solid #e2ebf6;
}

.ora-support .faq-item[hidden] {
  display: none;
}

.ora-support .faq-item h3 {
  margin: 0;
}

.ora-support .faq-item h3 button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  border: 0;
  padding: 15px 1px;
  background: transparent;
  color: #243a58;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.ora-support .faq-item h3 button > span {
  position: relative;
  display: block;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border: 1px solid #cfe0f7;
  border-radius: 50%;
  background: #fff;
  transition: background .2s, border-color .2s, transform .3s ease;
}

.ora-support .faq-item h3 button > span::before,
.ora-support .faq-item h3 button > span::after {
  position: absolute;
  top: 11px;
  right: 7px;
  left: 7px;
  height: 2px;
  border-radius: 2px;
  background: #6a8bb2;
  content: '';
}

.ora-support .faq-item h3 button > span::after {
  transform: rotate(90deg);
  transition: transform .3s ease;
}

.ora-support .faq-item.is-open h3 button > span {
  border-color: #0869f5;
  background: #0869f5;
  transform: rotate(180deg);
}

.ora-support .faq-item.is-open h3 button > span::before,
.ora-support .faq-item.is-open h3 button > span::after {
  background: #fff;
}

.ora-support .faq-item.is-open h3 button > span::after {
  transform: rotate(0);
}

.ora-support .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-5px);
  transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, transform .35s ease;
}

.ora-support .faq-answer > div {
  overflow: hidden;
}

.ora-support .faq-answer strong {
  display: block;
  margin: 0 32px 5px 1px;
  color: #4e6d91;
  font-size: 12px;
  line-height: 1.4;
}

.ora-support .faq-answer p {
  margin: 0 28px 15px 1px;
  color: #6a819e;
  font-size: 12px;
  line-height: 1.6;
}

.ora-support .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}

.os-empty {
  margin: 14px 0;
  color: #7187a2;
  font-size: 12px;
}

.os-empty[hidden],
.os-billing[hidden],
.os-request-card[hidden] {
  display: none;
}

.os-billing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 16px 0 2px;
  border: 1px solid #d6e7fc;
  border-radius: 11px;
  padding: 11px 12px;
  background: #f1f7ff;
  color: #1764c8;
  font-size: 12px;
  cursor: pointer;
}

.os-request-cta {
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
  border: 1px solid #e0ebf8;
  border-radius: 15px;
  padding: 14px;
  background: #fbfdff;
}

.os-request-cta > span {
  color: #617b9a;
  font-size: 12px;
}

.os-request-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: #eaf4ff;
  color: #0869f5;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.os-request-card {
  margin-top: 12px;
  border: 1px solid #dbe9f9;
  border-radius: 15px;
  padding: 13px;
  background: #f7fbff;
}

.os-request-intro {
  margin: 0 0 12px;
  color: #617b9a;
  font-size: 12px;
  line-height: 1.55;
}

.os-request-card .os-chat-bubble {
  max-width: 100%;
  margin-bottom: 12px;
  background: #fff;
}

.os-form {
  display: grid;
  gap: 7px;
}

.os-form label {
  color: #304762;
  font-size: 11px;
  font-weight: 700;
}

.os-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 84px;
  border: 1px solid #d5e3f5;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fff;
  color: #203452;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

.os-form p {
  margin: 0 0 3px;
  color: #7b91ac;
  font-size: 10px;
  line-height: 1.45;
}

.os-copy {
  border: 0;
  border-radius: 10px;
  padding: 11px;
  background: #0869f5;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.os-status {
  min-height: 1.35em;
}

.os-fallback {
  background: #fff;
}

.os-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 2px;
  color: #7188a3;
  font-size: 10px;
}

.os-links a {
  color: inherit;
}

.os-close:focus-visible,
.os-launcher:focus-visible,
.os-chat-body :focus-visible {
  outline: 3px solid #8bbaff;
  outline-offset: 3px;
}

body.is-live-session .os-launcher {
  display: none;
}

body.os-support-open > header {
  z-index: 0;
}

@keyframes os-hello {
  0% { transform: scale(.85) rotate(-8deg); }
  35% { transform: scale(1.06) rotate(7deg); }
  65% { transform: scale(1) rotate(-4deg); }
  100% { transform: none; }
}

@media (max-width: 700px) {
  .os-launcher {
    right: 16px;
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 5px;
  }

  .os-launcher span {
    display: none;
  }

  .os-launcher img {
    width: 44px;
    height: 44px;
  }

  .os-panel {
    top: 8px;
    right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    max-width: none;
    max-height: none;
    border-radius: 24px;
  }

  .os-hero {
    padding-top: 16px;
  }

  .os-mascot {
    width: 88px;
    height: 88px;
  }

  .os-chat-body {
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .ora-support .faq-item h3 button {
    padding: 13px 1px;
  }

  .ora-support .faq-answer p {
    margin-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .os-panel,
  .ora-support .faq-answer,
  .ora-support .faq-item h3 button > span,
  .ora-support .faq-item h3 button > span::after {
    transition: none;
  }

  .os-panel.is-open .os-mascot {
    animation: none;
  }
}
