/* A conversation on the page, with no surrounding player or application frame. */
.ai-showcase {
  --ai-ink: #f4eef8;
  --ai-muted: #c4b6d0;
  --ai-line: #ffffff20;
  --ai-reply-bg: #2d2038f0;
  --ai-inset-bg: #ffffff06;
  --ai-chrome: #786588;
  --ai-tab-hover: #f0e9fa;
  --ai-conversation-height: 660px;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  min-width: 0;
  color: var(--ai-ink);
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
}
.home-ai .ai-showcase {
  --ai-reply-bg: #ffffff10;
  --ai-chrome: #c9b8dc;
  --ai-tab-hover: #ffffff0d;
}
.ai-showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 0 8px;
}
.ai-showcase-tabs > button {
  min-width: 0;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  color: var(--ai-chrome);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}
.ai-showcase-tabs > button:hover {
  background: var(--ai-tab-hover);
}
.ai-showcase-tabs > button[aria-selected="true"] {
  background: #efe5ff;
  color: #63339f;
}
.ai-showcase-conversation {
  min-height: var(--ai-conversation-height);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ai-showcase-transcript {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
}
.ai-showcase-transcript > [data-message] {
  min-width: 0;
  width: 100%;
  overflow: visible;
}
.ai-showcase-user {
  width: fit-content;
  max-width: 86%;
  min-width: min(200px, 86%);
  margin-left: auto;
  margin-right: 0;
}
.ai-showcase-speaker {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
}
.ai-showcase-user > .ai-showcase-speaker {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.ai-showcase-prompt {
  padding: 14px 20px;
  border-radius: 18px 18px 6px 18px;
  background: #eadcfa;
  color: #4a2f68;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 4px 16px #18082c05;
}
.ai-showcase-prompt-copy,
.ai-showcase-typed {
  display: block;
  min-height: 1.6em;
}
.ai-showcase-caret {
  display: inline-block;
  height: 1em;
  width: 2px;
  margin-left: 2px;
  background: #8950ca;
  vertical-align: -0.13em;
  animation: ai-showcase-blink 1s step-end infinite;
}
.ai-showcase-assistant-bubble {
  width: 94%;
  margin-left: 0;
  margin-right: auto;
  padding: 16px;
  border-radius: 6px 18px 18px 18px;
  background: var(--ai-reply-bg);
  color: var(--ai-ink);
  border: 1px solid #ffffff12;
}
.ai-showcase-assistant-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbb6e0;
}
.ai-showcase-assistant-label > img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.84;
}
.ai-showcase-search-dots {
  margin-left: 7px;
  letter-spacing: 2px;
  animation: ai-showcase-search 1.1s ease-in-out infinite;
}
p.ai-showcase-answer,
p.ai-showcase-searching,
.ai-showcase-logo-reply > p {
  margin: 0;
  color: #e6dced;
  font-size: 14.5px;
  line-height: 1.65;
}
p.ai-showcase-searching {
  color: var(--ai-muted);
}
.ai-showcase-result-entry {
  animation: ai-showcase-arrive 360ms ease-out both;
}
.ai-showcase-result-entry:focus-within {
  animation: none;
}
.ai-showcase-results {
  margin-top: 16px;
}
.ai-showcase-palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ai-showcase-colour {
  min-width: 0;
  border: 1px solid var(--ai-line);
  border-radius: 12px;
  overflow: hidden;
}
.ai-showcase-swatch {
  height: 88px;
  border-bottom: 1px solid var(--ai-line);
}
.ai-showcase-colour-info {
  padding: 12px;
}
.ai-showcase-colour-info > strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.ai-showcase-colour-info > span {
  display: block;
  margin-top: 6px;
  color: var(--ai-muted);
  font-size: 11px;
}
p.ai-showcase-source,
p.ai-showcase-event-source {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--ai-muted);
}
.ai-showcase-source > svg {
  flex: none;
  margin-top: 2px;
}
.ai-showcase-licence {
  border: 1px solid var(--ai-line);
  border-radius: 14px;
  overflow: hidden;
}
.ai-showcase-licence-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--ai-inset-bg);
}
.ai-showcase-licence-heading > svg {
  color: #d2b4ec;
  flex: none;
}
.ai-showcase-licence-heading span {
  display: block;
  color: #d2b4ec;
  font-size: 11px;
}
.ai-showcase-licence-heading strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
}
.ai-showcase-terms {
  margin: 0;
  padding: 0 16px;
  font-size: 12px;
}
.ai-showcase-terms > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ai-line);
}
.ai-showcase-terms dt {
  color: var(--ai-muted);
}
.ai-showcase-terms dd {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  text-align: right;
  font-weight: 500;
}
.ai-showcase-terms dd > svg {
  flex: none;
  color: #d2b4ec;
}
.ai-showcase-licence-scope {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 14px;
  padding: 13px 16px 6px;
  font-size: 11px;
  color: var(--ai-muted);
}
p.ai-showcase-licence-note {
  margin: 0;
  padding: 0 16px 13px;
  color: var(--ai-muted);
  font-size: 10px;
}
.ai-showcase-logo-reply {
  width: min(94%, 360px);
  min-width: 0;
}
.ai-showcase-logo-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.ai-showcase-logo-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 9px 8px;
  color: var(--ai-ink);
  text-decoration: none;
  border-radius: 8px;
}
.ai-showcase-logo-file-preview {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 56px;
  border-radius: 8px;
  background: #e5e0eb;
  transition: filter 160ms ease;
}
.ai-showcase-logo-file:hover .ai-showcase-logo-file-preview {
  filter: brightness(1.1);
}
.ai-showcase-logo-file-preview > img {
  display: block;
  width: 74%;
  max-width: 100px;
  height: 34px;
  object-fit: contain;
}
.ai-showcase-asset-white .ai-showcase-logo-file-preview {
  background: var(--purple);
}
.ai-showcase-logo-file > span:nth-child(2) {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.ai-showcase-logo-file small {
  font-size: 9px;
  font-weight: 400;
  color: var(--ai-muted);
}
.ai-showcase-logo-file > svg {
  color: var(--ai-muted);
}
.ai-showcase-event-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ai-showcase-event-photos[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ai-showcase-event-photo {
  min-width: 0;
  margin: 0;
}
.ai-showcase-event-photo > img,
.ai-showcase-photo-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
.ai-showcase-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: var(--ai-inset-bg);
  color: var(--ai-muted);
  text-align: center;
}
.ai-showcase-photo-placeholder > span {
  font-size: 10px;
  line-height: 1.5;
}
.ai-showcase-event-photo figcaption {
  padding: 9px 1px 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ai-muted);
}
.ai-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 6px 2px;
  color: var(--ai-chrome);
  font-size: 10px;
  line-height: 1.4;
}
.ai-showcase-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ai-showcase-controls > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 10px;
  margin: 0;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ai-chrome);
  font: inherit;
  cursor: pointer;
}
.ai-showcase-controls > button:hover:not(:disabled) {
  background: var(--ai-tab-hover);
}
.ai-showcase-controls > button:disabled {
  opacity: 0.4;
  cursor: default;
}
.ai-showcase :is(button, a):focus-visible {
  outline: 2px solid #ab78db;
  outline-offset: 4px;
}
.ai-showcase-conversation:focus-visible {
  outline: 2px solid #ab78db;
  outline-offset: 5px;
  border-radius: 16px;
}
.ai-showcase[data-playing="false"]
  :is(.ai-showcase-caret, .ai-showcase-search-dots) {
  animation-play-state: paused;
}
.ai-showcase[data-motion-paused="true"] .ai-showcase-result-entry {
  animation-play-state: paused;
}
.ai-showcase-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes ai-showcase-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ai-showcase-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes ai-showcase-search {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .ai-showcase {
    --ai-conversation-height: 660px;
  }
  .ai-showcase-logo-reply {
    min-width: 0;
  }
  .ai-showcase-tabs {
    gap: 2px;
  }
  .ai-showcase-tabs > button {
    padding-inline: 10px;
    font-size: 11px;
  }
}
@media (max-width: 767px) {
  .ai-showcase {
    --ai-conversation-height: 640px;
  }
  .ai-showcase-conversation {
    padding-top: 20px;
  }
  .ai-showcase-tabs {
    gap: 2px;
    justify-content: space-between;
  }
  .ai-showcase-tabs > button {
    padding: 10px 12px;
    font-size: 11px;
  }
  .ai-showcase-prompt {
    font-size: 14px;
    padding: 13px 16px;
  }
  .ai-showcase-user {
    max-width: 92%;
  }
  .ai-showcase-assistant-bubble {
    width: 96%;
    padding: 15px;
  }
  .ai-showcase-logo-reply {
    min-width: 0;
    max-width: min(96%, 360px);
  }
  p.ai-showcase-answer,
  p.ai-showcase-searching,
  .ai-showcase-logo-reply > p {
    font-size: 14px;
  }
  .ai-showcase-logo-files {
    gap: 8px;
  }
  .ai-showcase-event-photos,
  .ai-showcase-palette {
    gap: 8px;
  }
  .ai-showcase-event-photo figcaption {
    font-size: 9px;
  }
  .ai-showcase-swatch {
    height: 70px;
  }
  .ai-showcase-colour-info {
    padding: 10px 8px;
  }
  .ai-showcase-colour-info > strong {
    min-height: 31px;
    font-size: 11px;
  }
  .ai-showcase-colour-info > span {
    font-size: 10px;
  }
  .ai-showcase-licence-heading {
    padding: 13px;
  }
  .ai-showcase-licence-heading strong {
    font-size: 12px;
  }
  .ai-showcase-terms {
    padding-inline: 13px;
    font-size: 11px;
  }
  .ai-showcase-terms > div {
    gap: 8px;
  }
}
@media (max-width: 359px) {
  .ai-showcase {
    --ai-conversation-height: 660px;
  }
  .ai-showcase-tabs > button {
    padding-inline: 8px;
    font-size: 10px;
  }
  .ai-showcase-assistant-bubble {
    padding: 14px;
    width: 100%;
  }
  .ai-showcase-logo-reply {
    max-width: min(100%, 360px);
  }
  .ai-showcase-event-photo figcaption {
    font-size: 8px;
  }
  p.ai-showcase-event-source {
    font-size: 9px;
  }
  .ai-showcase-footer {
    font-size: 9px;
    gap: 4px;
  }
  .ai-showcase-controls > button {
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-showcase *,
  .ai-showcase *::before,
  .ai-showcase *::after {
    animation: none !important;
    transition: none !important;
  }
}
