/* Shared conversation stage, in its own document on both entry routes. */
body {
  background: #164989 !important;
}
.interview-nav {
  background: #0e2f59;
  border-color: #698fca60;
}
.interview-nav a {
  text-decoration: none;
}
.interview-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: 66px max(24px, calc((100vw - 1200px) / 2)) 72px;
  background: #3b3cdd url("brand-gradient.jpg") center / cover;
}
.interview-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #17357126;
  z-index: -1;
}
.interview-intro::after {
  content: "Hello.";
  position: absolute;
  right: 4%;
  top: 26%;
  z-index: -1;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.075em;
  color: #fff;
  opacity: 0.33;
  filter: url("letter-outline.svg#silhouette-outline");
  transform: rotate(-7deg);
}
.interview-intro h1 {
  font-size: clamp(54px, 6.8vw, 92px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 22px 0 24px;
}
.interview-intro h1 > span {
  display: block;
}
.interview-intro h1 > span:last-child {
  animation: interview-title-in 750ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.interview-intro > p {
  color: #fff;
  max-width: 520px;
  line-height: 1.65;
}
.interview-intro > .eyebrow {
  color: #fff;
  font-size: 10px;
}
#lab {
  margin-top: -20px;
  position: relative;
  z-index: 1;
}
.interview-widget {
  --agent: var(--agent-accent);
  border: 1px solid #789aca;
  border-radius: 0;
  background: #0e2f59;
  box-shadow: 0 30px 60px -30px #071d3d99;
}
.interview-toolbar {
  padding: 24px 30px;
  border-color: #698fca55;
  background: #0e2f59;
}
.interview-toolbar h2 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.interview-toolbar p {
  font-size: 13px;
  margin-top: 8px;
}
.interview-trade {
  flex-basis: 250px;
}
.interview-trade summary {
  background: #173f74;
  border-radius: 4px;
  border-color: #6e92c6;
}
.interview-trade-options {
  background: #0e2f59;
  border-radius: 4px;
}
.interview-trade summary > .interview-trade-value {
  color: #fff;
}
#lab .lab-grid {
  grid-template-columns: 350px minmax(0, 1fr);
}
.interview-team {
  padding: 0 22px 20px;
  border-right: 1px solid #789aca55;
  min-width: 0;
  background: var(--agent-deep);
  transition: background-color 300ms;
}
.interview-spotlight {
  position: relative;
  height: 320px;
  overflow: hidden;
  isolation: isolate;
  margin: 0 -22px 20px;
}
.interview-spotlight-ink {
  position: absolute;
  inset: -15%;
  z-index: -2;
  background: linear-gradient(
    125deg,
    var(--agent-deep) 10%,
    color-mix(in srgb, var(--agent) 65%, var(--agent-deep))
  );
  transform: rotate(-12deg);
  animation: interview-ink-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.interview-spotlight::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  background: linear-gradient(transparent, var(--agent-deep));
}
.interview-spotlight-label {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 8px;
  border: 1px solid #ffffff70;
  color: #fff;
  background: #0e2f5966;
}
.interview-spotlight-portrait {
  position: absolute;
  inset: 0;
  animation: interview-portrait-in 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.interview-spotlight-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  mask-image: linear-gradient(#000 65%, transparent);
}
[data-interview-current="jack"] .interview-spotlight-portrait {
  transform-origin: center top;
}
[data-interview-current="jack"] .interview-spotlight-portrait img {
  object-position: center top;
}
.interview-spotlight-copy {
  position: absolute;
  z-index: 2;
  inset: auto 26px 4px;
  animation: interview-name-in 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.interview-spotlight-copy > span {
  display: block;
  color: var(--agent-light);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.interview-spotlight-copy strong {
  display: block;
  color: #fff;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  font-size: 70px;
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.interview-cast-caption > strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: #fff;
}
.interview-cast-caption p {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 24px;
  color: #c0d4ee;
}
.interview-picker-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  color: #c0d4ee;
}
.interview-agent-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.interview-agent {
  --choice-highlight: color-mix(in srgb, var(--choice-accent) 55%, #fff);
  position: relative;
  padding: 10px 8px;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--choice-accent) 50%, #071d3d);
  border-radius: 4px;
  background: #071d3d66;
  box-shadow: inset 0 3px var(--choice-accent);
  min-height: 62px;
  transition:
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 300ms,
    border-color 300ms;
}
.interview-agent:hover {
  background: color-mix(in srgb, var(--choice-accent) 25%, #071d3d);
  transform: translateY(-3px);
}
.interview-agent[aria-pressed="true"] {
  border-color: var(--choice-highlight);
  background: color-mix(in srgb, var(--choice-accent) 25%, #071d3d);
  box-shadow:
    inset 0 3px var(--choice-accent),
    0 0 0 1px var(--choice-highlight);
}
.interview-avatar {
  width: 33px;
  height: 38px;
  border-radius: 3px;
}
.interview-agent-copy strong {
  font-size: 14px;
  color: white;
}
.interview-agent-copy > span {
  font-size: 9px;
  white-space: nowrap;
  color: #c0d4ee;
}
.interview-agent-check {
  display: none;
}
.interview-agent[aria-pressed="true"] .interview-agent-check {
  display: grid;
  place-items: center;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--choice-highlight);
  color: #071d3d;
  font-size: 10px;
}
.interview-team-hint {
  margin: 14px 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: #adc5e6;
}
#lab .lab-chat-panel {
  height: 680px;
  border-radius: 0;
  background: #edf2f8;
  color: #10386c;
  border: 0;
}
#lab .interview-chat-header {
  min-height: 90px;
  padding: 20px 30px !important;
  border-top: 4px solid var(--agent);
  border-bottom: 1px solid #cfdaea !important;
  background: var(--agent-tint) !important;
  animation: interview-header-in 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#lab .interview-chat-header > div:nth-child(2) > div:first-child {
  color: #10386c;
  font-size: 20px !important;
  letter-spacing: -0.025em;
}
#lab .interview-agent-role {
  color: #42638b !important;
}
#lab .interview-chat-header > div:last-child > div:first-child {
  color: #42638b !important;
  font-size: 10px !important;
}
#lab .lab-messages {
  padding: 30px !important;
  overscroll-behavior: auto;
}
#lab .chat-message {
  animation: interview-message-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#lab .chat-message > div:last-child {
  max-width: min(90%, 620px) !important;
  font-size: 15px !important;
}
#lab
  .chat-message[data-message-role="agent"][data-message-kind="text"]
  > div:last-child,
#lab .chat-message[data-message-kind="cta"] > div:last-child {
  background: #fff !important;
  color: #10386c !important;
  border: 1px solid color-mix(in srgb, var(--agent) 28%, #d6e0ee) !important;
  border-left: 3px solid var(--agent) !important;
  box-shadow: 0 8px 20px -16px #10386c88;
}
#lab
  .chat-message[data-message-role="agent"][data-message-kind="voice-nudge"]
  > div:last-child {
  background: transparent !important;
  border: 0 !important;
  padding: 6px 4px !important;
  font-size: 12px !important;
  box-shadow: none;
  color: #43678f !important;
}
#lab .chat-message[data-message-role="user"] > div:last-child {
  background: #164989 !important;
  color: #fff !important;
  border-color: #164989 !important;
}
#lab .dot-bounce {
  background: var(--agent-deep) !important;
}
#lab .interview-sample {
  background: var(--agent-tint) !important;
  color: #164989 !important;
  border: 1px solid color-mix(in srgb, var(--agent) 30%, #c3d2e7) !important;
  border-left: 3px solid var(--agent) !important;
  border-radius: 4px !important;
  padding: 12px 15px !important;
  text-align: left;
  line-height: 1.45;
}
#lab .interview-composer {
  padding: 20px 26px !important;
  background: #f7f9fd;
  border-top: 1px solid #c3d2e7 !important;
}
#lab .chat-input {
  background: #fff !important;
  color: #10386c !important;
  border: 1px solid #b2c5df !important;
  border-radius: 5px !important;
  min-height: 52px;
}
#lab .chat-input::placeholder {
  color: #557195;
}
#lab .interview-composer button {
  height: 52px !important;
  width: 52px !important;
  border-radius: 5px !important;
}
#lab .interview-send-button {
  background: var(--agent-deep) !important;
}
#lab .interview-send-button svg {
  stroke: #fff;
}
#lab .interview-voice-button {
  background: var(--agent-tint) !important;
  border-color: color-mix(in srgb, var(--agent) 35%, #b2c5df) !important;
  color: var(--agent-deep) !important;
}
#lab .interview-voice-button svg {
  stroke: var(--agent-deep);
}
#lab .interview-composer > p {
  color: #486689 !important;
}
#lab :is(button, summary, input):focus-visible {
  outline-color: var(--agent-deep);
  outline-width: 3px;
}
#lab .interview-team button:focus-visible,
#lab .interview-toolbar :is(button, summary):focus-visible {
  outline-color: #fff;
}
.interview-demo-note {
  max-width: 800px;
  padding-inline: 12px;
  line-height: 1.65;
  margin-block: 22px 48px;
}
.interview-footer {
  background: #0e2f59;
}
.interview-voice-dialog {
  width: min(420px, calc(100% - 24px));
  max-height: min(680px, var(--voice-dialog-height, calc(100dvh - 48px)));
  margin: auto;
  padding: 0;
  border: 1px solid #789aca;
  border-radius: 12px;
  background: #0e2f59;
  color: #fff;
  overflow-y: auto;
  animation: interview-message-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.interview-voice-dialog::backdrop {
  background: #071d3dcc;
}
.interview-voice-dialog > div {
  position: relative;
  width: 100% !important;
  padding: 30px 24px 24px !important;
  background: #0e2f59 !important;
  border: 0 !important;
  border-radius: 0 !important;
  animation: none !important;
}
.interview-voice-dialog .interview-dialog-close {
  color: #fff !important;
  width: 36px;
  height: 36px;
}
.interview-voice-dialog :is(input, select) {
  background: #173f74 !important;
  border-color: #789aca !important;
  color: #fff !important;
}
.interview-voice-dialog :is(p, label) {
  color: #c0d4ee !important;
}
.interview-voice-dialog button:not(.interview-dialog-close) {
  background: #fff !important;
  color: #164989 !important;
  border-radius: 5px !important;
}
.interview-voice-dialog :focus-visible {
  outline: 2px solid #b5cfff;
  outline-offset: 2px;
}
@keyframes interview-title-in {
  from {
    opacity: 0;
    transform: translateY(30px);
    clip-path: inset(0 0 45%);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }
}
@keyframes interview-portrait-in {
  from {
    opacity: 0.2;
    transform: translateX(42px) scale(1.07);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes interview-ink-in {
  from {
    transform: translateX(-12%) rotate(-20deg);
  }
  to {
    transform: rotate(-12deg);
  }
}
@keyframes interview-name-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes interview-header-in {
  from {
    opacity: 0.25;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes interview-message-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.interview-embedded .interview-nav,
.interview-embedded .interview-intro,
.interview-embedded .interview-demo-note,
.interview-embedded .interview-footer {
  display: none;
}
.interview-embedded body {
  background: transparent !important;
}
.interview-embedded #lab {
  margin: 0;
  width: 100%;
}
.interview-embedded .interview-widget {
  box-shadow: none;
}
@media (max-width: 1000px) {
  #lab .lab-grid {
    grid-template-columns: 290px minmax(0, 1fr) !important;
  }
  .interview-team {
    padding-inline: 16px;
  }
  .interview-spotlight {
    margin-inline: -16px;
    height: 300px;
  }
  .interview-agent {
    gap: 6px;
    padding-inline: 6px;
  }
  .interview-avatar {
    width: 28px;
  }
  #lab .lab-messages {
    padding: 20px !important;
  }
}
@media (max-width: 760px) {
  .interview-intro {
    padding: 46px 24px 54px;
  }
  .interview-intro::after {
    top: 34%;
    right: -8%;
    font-size: 160px;
  }
  .interview-intro h1 {
    font-size: 60px;
  }
  .interview-toolbar {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .interview-toolbar-copy {
    max-width: 240px;
  }
  .interview-toolbar h2 {
    font-size: 22px;
  }
  .interview-trade {
    flex-basis: 240px;
    margin: 0;
  }
  #lab .lab-grid {
    grid-template-columns: 1fr !important;
  }
  .interview-team {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 20px;
    padding: 0 20px 16px;
    border-right: 0;
    border-bottom: 1px solid #698fca70;
  }
  .interview-spotlight {
    grid-column: 1;
    grid-row: 1 / 5;
    margin: 0 0 -16px -20px;
    height: 240px;
  }
  .interview-spotlight-label {
    display: none;
  }
  .interview-spotlight-copy {
    inset-inline: 16px;
    bottom: 16px;
  }
  .interview-spotlight-copy strong {
    font-size: 40px;
  }
  .interview-spotlight-copy > span {
    font-size: 8px;
  }
  .interview-cast-caption {
    display: none;
  }
  .interview-picker-label {
    grid-column: 2;
    margin-top: 20px;
  }
  .interview-agent-list {
    grid-column: 2;
  }
  .interview-agent {
    min-height: 60px;
  }
  .interview-team-hint {
    grid-column: 2;
  }
  #lab .lab-chat-panel {
    height: 550px;
  }
  #lab .interview-chat-header {
    padding: 16px 20px !important;
    min-height: 78px;
  }
  #lab .interview-composer {
    padding: 16px !important;
  }
  #lab .chat-message > div:last-child {
    font-size: 14px !important;
  }
}
@media (max-width: 500px) {
  .interview-nav {
    min-height: 72px;
    padding: 14px 16px;
    gap: 14px;
  }
  .interview-nav img {
    width: 88px;
  }
  .interview-nav > a:not(:first-child) {
    font-size: 11px;
  }
  .interview-nav .button {
    padding: 10px;
    min-height: 44px;
  }
  .interview-intro {
    padding: 36px 20px 50px;
  }
  .interview-intro h1 {
    font-size: 52px;
  }
  .interview-intro > p {
    font-size: 14px;
  }
  .interview-toolbar {
    display: block;
    padding: 20px 16px 16px;
  }
  .interview-toolbar-copy {
    max-width: none;
  }
  .interview-toolbar h2 {
    font-size: 22px;
  }
  .interview-toolbar p {
    font-size: 12px;
    margin-top: 6px;
  }
  .interview-trade {
    margin-top: 16px;
  }
  .interview-trade summary {
    min-height: 48px;
  }
  .interview-team {
    display: block;
    padding: 0 14px 16px;
  }
  .interview-spotlight {
    margin: 0 -14px 16px;
    height: 190px;
  }
  .interview-spotlight-portrait {
    left: 43%;
    width: 57%;
  }
  .interview-spotlight-portrait img {
    object-position: center 18%;
  }
  .interview-spotlight::after {
    inset: 0;
    background: linear-gradient(90deg, var(--agent-deep) 22%, transparent 100%);
  }
  .interview-spotlight-copy {
    bottom: 26px;
    left: 20px;
  }
  .interview-spotlight-copy strong {
    font-size: 56px;
  }
  .interview-spotlight-copy > span {
    font-size: 9px;
  }
  .interview-spotlight-label {
    display: block;
    left: 20px;
    top: 22px;
    border: 0;
    padding: 0;
    background: none;
  }
  .interview-picker-label {
    margin: 0 0 12px;
    font-size: 8px;
  }
  .interview-agent-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .interview-agent {
    flex-direction: column;
    padding: 8px 3px;
    gap: 6px;
    min-height: 82px;
    text-align: center;
  }
  .interview-avatar {
    width: 32px;
    height: 34px;
  }
  .interview-agent-copy strong {
    font-size: 12px;
  }
  .interview-agent-copy > span {
    display: none;
  }
  .interview-team-hint {
    margin-top: 10px;
    font-size: 9px;
  }
  #lab .lab-chat-panel {
    height: 520px;
  }
  #lab .interview-chat-header {
    padding: 14px 16px !important;
    gap: 10px !important;
  }
  #lab .interview-agent-role {
    max-width: 145px;
    font-size: 10px !important;
  }
  #lab .lab-messages {
    padding: 18px 14px !important;
  }
  #lab .chat-message > div:last-child {
    max-width: calc(100% - 38px) !important;
  }
  #lab .interview-chat-header > div:last-child > div:first-child {
    font-size: 9px !important;
  }
  #lab .interview-composer {
    padding: 12px !important;
  }
  #lab .interview-composer button {
    width: 44px !important;
    height: 48px !important;
  }
  #lab .chat-input {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .chat-message {
    opacity: 1 !important;
  }
}
/* Context changes are interface notices, separate from a Buddee's reply. */
.interview-context-change {
  padding: 12px 16px;
  margin: 16px 0;
  border-block: 1px solid #b9cbe4;
  color: #214f83;
  background: #eef4fb;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

#lab .interview-followup-button {color:var(--agent-deep);}
#lab .interview-lead .fine-print {color:inherit;}
#lab .interview-lead .chat-input {padding:10px;}

#lab .interview-lead :is(h3,p,a) {color:inherit;}
#lab .interview-lead .button-secondary {border:1px solid currentColor;background:transparent;}
