:root {
  --v14-listening-violet: #6254c7;
  --v14-listening-blue: #4f6fc9;
  --v14-listening-mint: #6fc8b5;
}

body.v14 .guided-breath-program.is-auto-presented {
  animation: v14-program-arrive 420ms ease-out both;
}

body.v14 .guided-breath-program.is-auto-presented,
body.v14 .suggested-support.is-auto-presented {
  position: relative;
  margin-top: 18px;
  scroll-margin-top: 24px;
  border: 1px solid rgba(98, 84, 199, 0.18);
  border-radius: 8px;
  background: rgba(251, 250, 255, 0.92);
  box-shadow: 0 14px 34px rgba(40, 31, 83, 0.1);
}

body.v14 .suggested-support.is-auto-presented {
  animation: v14-program-arrive 420ms ease-out both;
}

body.v14 .guided-mindful-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

body.v14 .guided-mindful-steps p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #554f66;
  line-height: 1.6;
}

body.v14 .guided-mindful-steps p span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #574e92;
  background: #eeebf8;
}

body.v14 .guided-mindful-steps blockquote {
  margin: 4px 0 0;
  padding: 16px;
  border: 0;
  border-left: 3px solid #79b6a8;
  color: #30294e;
  background: rgba(111, 200, 181, 0.09);
  font-size: 17px;
  line-height: 1.7;
}

body.v14 .guided-breath-program.is-auto-presented .guided-breath-mark {
  box-shadow: 0 0 0 8px rgba(105, 169, 155, 0.08);
}

body.v14 .guided-breath-program:not(.is-active):not(.is-complete) .guided-breath-stage,
body.v14 .guided-breath-program:not(.is-active):not(.is-complete) .guided-breath-track,
body.v14 .guided-mindful-program .guided-mindful-steps {
  display: none;
}

body.v14 .guided-breath-program.is-active .guided-breath-stage,
body.v14 .guided-breath-program.is-complete .guided-breath-stage {
  animation: v14-program-arrive 320ms ease-out both;
}

body.v14[data-dictation-visual="followup-listening"] {
  overflow: hidden;
}

body.v14[data-dictation-visual="followup-listening"] #responseArea > .conversation-next {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 430px);
  height: 100dvh;
  margin: 0 auto;
  padding: max(34px, env(safe-area-inset-top)) 24px max(30px, env(safe-area-inset-bottom));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 66% 62%, rgba(111, 215, 193, 0.5), transparent 35%),
    radial-gradient(ellipse at 35% 34%, rgba(104, 121, 229, 0.72), transparent 48%),
    linear-gradient(160deg, #211936 0%, #313d6d 54%, #397879 100%);
  box-shadow: none;
  animation: v14-followup-space-breathe 10s ease-in-out infinite;
}

body.v14[data-dictation-visual="followup-listening"] .continuation-invite {
  display: block;
  align-self: start;
}

body.v14[data-dictation-visual="followup-listening"] .continuation-invite span,
body.v14[data-dictation-visual="followup-listening"] .continuation-invite p {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

body.v14[data-dictation-visual="followup-listening"] .continuation-invite h3 {
  margin: 5px 0 4px;
  color: #fff;
  font-size: 25px;
  font-weight: 560;
}

body.v14[data-dictation-visual="followup-listening"] .continuation-prompts,
body.v14[data-dictation-visual="followup-listening"] .continuation-submit,
body.v14[data-dictation-visual="followup-listening"] .review-path {
  display: none;
}

body.v14[data-dictation-visual="followup-listening"] .followup-form {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 22px 0 0;
}

body.v14[data-dictation-visual="followup-listening"] #followupText {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  max-height: none;
  padding: 12px 0;
  resize: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  line-height: 1.8;
}

body.v14[data-dictation-visual="followup-listening"] #followupText::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

body.v14[data-dictation-visual="followup-listening"] .followup-voice-strip {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 18px;
  justify-items: center;
  margin: 0;
  padding: 26px 0 0;
  border: 0;
}

body.v14[data-dictation-visual="followup-listening"] .followup-voice-strip .voice-action {
  position: relative;
  width: 112px;
  min-width: 112px;
  height: 112px;
  min-height: 112px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.06), 0 0 52px rgba(117, 225, 203, 0.38);
  animation: v14-followup-mic-breathe 10s ease-in-out infinite;
}

body.v14[data-dictation-visual="followup-listening"] .followup-voice-strip .voice-action svg {
  width: 36px;
  height: 36px;
}

body.v14[data-dictation-visual="followup-listening"] .followup-voice-strip .voice-action span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

body.v14[data-dictation-visual="followup-listening"] .followup-voice-strip > p {
  display: block;
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
}

@keyframes v14-program-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes v14-followup-space-breathe {
  0%, 100% { background-size: 100% 100%, 100% 100%, 100% 100%; }
  40% { background-size: 138% 138%, 126% 126%, 100% 100%; }
}

@keyframes v14-followup-mic-breathe {
  0%, 100% { transform: scale(0.94); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05), 0 0 40px rgba(117, 225, 203, 0.28); }
  40% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.07), 0 0 64px rgba(117, 225, 203, 0.48); }
}

@media (max-width: 350px) {
  body.v14 .guided-breath-program.is-auto-presented,
  body.v14 .suggested-support.is-auto-presented {
    margin-inline: 0;
  }

  body.v14[data-dictation-visual="followup-listening"] #responseArea > .conversation-next {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v14 .guided-breath-program.is-auto-presented,
  body.v14 .suggested-support.is-auto-presented,
  body.v14[data-dictation-visual="followup-listening"] #responseArea > .conversation-next,
  body.v14[data-dictation-visual="followup-listening"] .followup-voice-strip .voice-action {
    animation: none;
  }
}

body.v14 .mood-portrait-map {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 10px 0;
}

body.v14 .mood-portrait-line {
  inset: 18px auto 18px 4px;
  width: 1px;
  height: auto;
  background: linear-gradient(to bottom, rgba(101, 85, 143, 0.12), rgba(88, 157, 143, 0.3), rgba(101, 85, 143, 0.12));
}

body.v14 .mood-portrait-node {
  min-height: 76px;
  padding: 8px 0 11px 25px;
}

body.v14 .mood-portrait-node i {
  top: 14px;
  left: 0;
}

body.v14 .mood-portrait-node.is-reality i,
body.v14 .mood-portrait-node.is-responsibility i,
body.v14 .mood-portrait-node.is-resource i {
  background: #5c9f91;
}

body.v14 .mood-portrait-node small {
  color: #62587a;
  font-size: 11px;
  font-weight: 620;
}

body.v14 .mood-portrait-node strong {
  -webkit-line-clamp: 5;
  font-size: 13px;
  line-height: 1.7;
}
