:root {
  --v13-ink: #302a38;
  --v13-muted: #756e7e;
  --v13-violet: #65558f;
  --v13-violet-soft: #eeeaf5;
  --v13-mint: #69a99b;
  --v13-mint-soft: #e8f3ef;
  --v13-line: rgba(63, 52, 73, 0.12);
}

body.v13 .active-dialogue {
  gap: 12px;
}

body.v13 .active-dialogue-turn {
  max-width: 32em;
  font-weight: 430;
  line-height: 1.82;
}

body.v13 .active-dialogue-turn.is-reflect {
  color: #4f4759;
}

body.v13 .guided-breath-program {
  display: grid;
  gap: 16px;
  margin: 22px 0 8px;
  padding: 20px 2px 10px;
  border-top: 1px solid var(--v13-line);
  border-bottom: 1px solid var(--v13-line);
}

body.v13 .guided-breath-program > header {
  display: flex;
  gap: 12px;
  align-items: center;
}

body.v13 .guided-breath-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--v13-violet-soft);
  color: var(--v13-violet);
}

body.v13 .guided-breath-mark svg {
  width: 20px;
}

body.v13 .guided-breath-program header small,
body.v13 .guided-breath-program header h3 {
  display: block;
  margin: 0;
}

body.v13 .guided-breath-program header small {
  color: var(--v13-muted);
  font-size: 11px;
}

body.v13 .guided-breath-program header h3 {
  margin-top: 3px;
  color: var(--v13-ink);
  font-size: 18px;
  font-weight: 620;
  line-height: 1.45;
}

body.v13 .guided-breath-lead {
  margin: 0;
  color: #635b69;
  font-size: 14px;
  line-height: 1.75;
}

body.v13 .guided-breath-stage {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 104px;
}

body.v13 .guided-breath-orb {
  display: grid;
  width: 92px;
  height: 92px;
  place-content: center;
  border: 1px solid rgba(101, 85, 143, 0.22);
  border-radius: 50%;
  background: #eeeaf5;
  box-shadow: 0 0 0 9px rgba(105, 169, 155, 0.08);
  color: var(--v13-violet);
  text-align: center;
  transform: scale(0.88);
  transition: transform 1s ease, background-color 1s ease, box-shadow 1s ease;
}

body.v13 .guided-breath-orb strong,
body.v13 .guided-breath-orb span {
  display: block;
}

body.v13 .guided-breath-orb strong {
  font-size: 28px;
  font-weight: 580;
  line-height: 1;
}

body.v13 .guided-breath-orb span {
  margin-top: 5px;
  color: var(--v13-muted);
  font-size: 10px;
}

body.v13 .guided-breath-orb.inhale {
  background: #e4f1ef;
  box-shadow: 0 0 0 16px rgba(105, 169, 155, 0.1), 0 10px 28px rgba(101, 85, 143, 0.13);
  animation: v13-inhale 4s linear forwards;
}

body.v13 .guided-breath-orb.exhale {
  background: #eeeaf5;
  box-shadow: 0 0 0 8px rgba(101, 85, 143, 0.07);
  animation: v13-exhale 6s linear forwards;
}

@keyframes v13-inhale {
  from { transform: scale(0.88); }
  to { transform: scale(1); }
}

@keyframes v13-exhale {
  from { transform: scale(1); }
  to { transform: scale(0.88); }
}

body.v13 .guided-breath-copy strong,
body.v13 .guided-breath-copy p,
body.v13 .guided-breath-copy small {
  display: block;
  margin: 0;
}

body.v13 .guided-breath-copy strong {
  color: #40374e;
  font-size: 17px;
  font-weight: 610;
}

body.v13 .guided-breath-copy p {
  min-height: 46px;
  margin-top: 7px;
  color: #68606f;
  font-size: 13px;
  line-height: 1.7;
}

body.v13 .guided-breath-copy small {
  margin-top: 5px;
  color: var(--v13-muted);
  font-size: 11px;
}

body.v13 .guided-breath-track {
  overflow: hidden;
  height: 4px;
  border-radius: 2px;
  background: rgba(101, 85, 143, 0.1);
}

body.v13 .guided-breath-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--v13-mint);
  transition: width 0.3s linear;
}

body.v13 .guided-breath-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 8px;
}

body.v13 .guided-breath-actions button {
  min-height: 50px;
  white-space: normal;
}

body.v13 .guided-breath-check {
  padding-top: 4px;
}

body.v13 .guided-breath-check p {
  margin: 0 0 10px;
  color: #4e4657;
  font-size: 13px;
}

body.v13 .guided-breath-check > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.v13 .guided-breath-check button {
  min-height: 42px;
  padding: 7px 5px;
  border: 1px solid rgba(101, 85, 143, 0.16);
  border-radius: 7px;
  background: #f8f6fa;
  color: #5f536f;
  font-size: 12px;
}

body.v13 .guided-breath-check button.is-selected {
  border-color: rgba(105, 169, 155, 0.62);
  background: var(--v13-mint-soft);
  color: #356d63;
}

body.v13 .guided-breath-dismiss {
  justify-self: start;
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--v13-muted);
  font-size: 12px;
}

body.v13 .mood-portrait-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 13px;
  margin: 20px 0 16px;
  padding: 16px 0;
  border-top: 1px solid var(--v13-line);
  border-bottom: 1px solid var(--v13-line);
}

body.v13 .mood-portrait-line {
  position: absolute;
  inset: 50% 15% auto;
  height: 1px;
  background: rgba(101, 85, 143, 0.18);
}

body.v13 .mood-portrait-node {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-left: 15px;
}

body.v13 .mood-portrait-node i {
  position: absolute;
  top: 4px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #faf8f6;
  border-radius: 50%;
  background: var(--v13-violet);
  box-shadow: 0 0 0 1px rgba(101, 85, 143, 0.16);
}

body.v13 .mood-portrait-node.is-protection i,
body.v13 .mood-portrait-node.is-open i {
  background: var(--v13-mint);
}

body.v13 .mood-portrait-node small,
body.v13 .mood-portrait-node strong {
  display: block;
}

body.v13 .mood-portrait-node small {
  color: var(--v13-muted);
  font-size: 10px;
}

body.v13 .mood-portrait-node strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: #4a424f;
  font-size: 12px;
  font-weight: 480;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.v13 .conversation-organization .organization-flow > p:not(.organization-tonight):not(.organization-question) {
  display: none;
}

body.v13 .conversation-organization::before {
  content: none;
}

@media (max-width: 350px) {
  body.v13 .guided-breath-stage {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  body.v13 .guided-breath-orb {
    width: 76px;
    height: 76px;
  }

  body.v13 .guided-breath-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v13 .guided-breath-orb.inhale,
  body.v13 .guided-breath-orb.exhale {
    animation: none;
  }
}
