[data-demo-link], [aria-disabled="true"] { cursor: default !important; }
[aria-disabled="true"] { pointer-events: none; }
[hidden] { display: none !important; }

main .hero-container { position: relative; }
main .hero-container .arc-wrapper {
  position: relative;
  height: clamp(28px, 5vw, 76px);
  overflow: hidden;
  pointer-events: none;
}
main .hero-container .arc-wrapper svg { width: 100%; height: 100%; display: block; }
main .hero-container .arc-wrapper .icon,
main .hero-container .arc-wrapper .arc { display: block; width: 100%; height: 100%; }

body.embedded #embeddedchat .va-embedded-bg-layer {
  background: none center 45% / min(100%, 1260px) auto no-repeat;
}
.demo-assistant {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e2df;
}
.demo-chat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #351c15;
  color: #fff;
}
.demo-chat-header h2 { color: inherit; margin: 0; font-size: 18px; line-height: 1.2; }
#demo-chat-status {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
}
#demo-chat-status p { margin: 0; }
#salesforce-chat { flex: 1; min-height: 0; position: relative; }
.demo-chat-footer {
  margin: 0;
  padding: 7px 12px;
  text-align: right;
  font-size: 12px;
  color: #59514d;
  background: #f2f2f2;
  border-top: 1px solid #e5e2df;
}

/* Keep the UPS stylesheet from stretching the chat shield. */
#embeddedchat .demo-chat-header img {
  width: 23px;
  height: 27px;
  max-width: 23px;
  flex: 0 0 23px;
  object-fit: contain;
}

#embeddedchat .demo-chat-header {
  flex: 0 0 auto;
  min-height: 50px;
}

#embeddedchat .demo-chat-header h2 {
  white-space: nowrap;
}

/* Put the existing winter artwork behind the chat panel. */
body.embedded #embeddedchat #background-container {
  width: min(100%, 1200px);
  background: url("./seasonal-chat-art.png") center / 100% auto no-repeat;
}

body.embedded #embeddedchat .va-embedded-bg-layer {
  display: none;
}

/* Keep the panel centered and closer to the reference proportions. */
body.embedded #embeddedchat .va-embedded-chat-frame {
  max-width: min(calc(100% - 28px), 650px) !important;
  height: 378px !important;
}
#embeddedchat .demo-chat-footer {
  display: none;
}