:root {
  --v5-web-ink: #343039;
  --v5-web-muted: #77717b;
  --v5-web-violet: #675d91;
  --v5-web-mint: #79aa9d;
  --v5-web-line: rgba(52, 48, 57, 0.1);
}

body.v5-web {
  letter-spacing: 0;
}

.v5-web .reflection-area {
  display: grid;
  gap: 0;
}

.v5-web .response-output {
  padding-bottom: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.v5-web .echo-primary {
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 18px;
  line-height: 1.92;
}

.v5-web .web-conversation-stage {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  padding: 25px 0;
  border-top: 1px solid var(--v5-web-line);
}

.v5-web .web-stage-mark {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--v5-web-mint);
  box-shadow: 0 0 0 5px rgba(121, 170, 157, 0.12);
}

.v5-web .web-conversation-stage h3 {
  margin: 0 0 8px;
  color: #4c4652;
  font-size: 17px;
  font-weight: 560;
}

.v5-web .web-conversation-stage p {
  max-width: 680px;
  margin: 0;
  color: var(--v5-web-muted);
  font-size: 14px;
  line-height: 1.8;
}

.v5-web .web-conversation-stage small,
.v5-web .web-conversation-stage em {
  display: block;
  max-width: 680px;
  color: #8a8490;
  font-size: 11px;
  font-style: normal;
  line-height: 1.65;
}

.v5-web .web-conversation-stage small {
  margin-bottom: 6px;
}

.v5-web .web-conversation-stage em {
  margin-top: 10px;
}

.v5-web .web-conversation-stage.is-reflecting {
  margin-inline: -18px;
  padding-inline: 18px;
  background: rgba(232, 242, 238, 0.42);
  border-top-color: transparent;
}

.v5-web .web-conversation-stage.is-ready {
  margin-inline: -18px;
  padding-inline: 18px;
  background: linear-gradient(110deg, rgba(231, 226, 240, 0.56), rgba(231, 242, 238, 0.46));
  border-top-color: transparent;
}

.v5-web .web-organize-button {
  min-height: 46px;
  margin-top: 17px;
  padding: 0 19px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  background: #5e547f;
  border: 0;
  border-radius: 7px;
}

.v5-web .web-conversation-organization {
  padding: 30px 0;
  border-block: 1px solid var(--v5-web-line);
}

.v5-web .web-organization-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
}

.v5-web .web-organization-heading > span {
  color: #7c70a5;
  font-size: 18px;
}

.v5-web .web-organization-heading p,
.v5-web .web-organization-heading h3 {
  margin: 0;
}

.v5-web .web-organization-intro {
  max-width: 700px;
  margin: -8px 0 24px 31px;
  color: #77707c;
  font-size: 13px;
  line-height: 1.78;
}

.v5-web .web-organization-heading p {
  margin-bottom: 4px;
  color: #8a8490;
  font-size: 11px;
}

.v5-web .web-organization-heading h3 {
  color: #443d4d;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 24px;
  font-weight: 560;
}

.v5-web .web-organization-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.v5-web .web-organization-flow > p {
  position: relative;
  margin: 0;
  padding: 0 0 22px 19px;
  color: #514b56;
  font-size: 15px;
  line-height: 1.82;
  border-left: 1px solid rgba(103, 93, 145, 0.23);
}

.v5-web .web-organization-flow > p::before {
  position: absolute;
  top: 8px;
  left: -4px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #9488b5;
}

.v5-web .web-organization-flow p span {
  display: block;
  margin-bottom: 5px;
  color: #81788d;
  font-size: 11px;
}

.v5-web .web-organization-flow .organization-hold {
  color: #39343f;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 17px;
}

.v5-web .web-organization-flow .organization-tonight,
.v5-web .web-organization-flow .organization-question {
  grid-column: 1 / -1;
  border-left: 0;
}

.v5-web .web-organization-flow .organization-tonight {
  margin: 5px 0 0;
  padding: 18px 20px;
  color: #4e4860;
  background: rgba(231, 226, 240, 0.55);
}

.v5-web .web-organization-flow .organization-tonight::before,
.v5-web .web-organization-flow .organization-question::before {
  display: none;
}

.v5-web .web-organization-flow .organization-question {
  padding-top: 18px;
  color: #544a74;
  font-weight: 520;
}

.v5-web .web-organization-boundary {
  margin: 0 0 20px;
  color: #8a8490;
  font-size: 12px;
  line-height: 1.7;
}

.v5-web .web-organization-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--v5-web-line);
}

.v5-web .web-organization-feedback > span {
  margin-right: 5px;
  color: #665e6d;
  font-size: 13px;
}

.v5-web .continuation-panel,
.v5-web .desktop-response-evening,
.v5-web .self-reflection,
.v5-web .context-disclosure,
.v5-web .memory-panel {
  margin: 0;
  border-inline: 0;
  border-radius: 0;
  box-shadow: none;
}

.v5-web .continuation-panel {
  padding: 26px 0;
  background: transparent;
  border-top: 1px solid var(--v5-web-line);
}

.v5-web .desktop-response-evening,
.v5-web .self-reflection,
.v5-web .context-disclosure {
  padding: 22px 0;
  border-top: 1px solid var(--v5-web-line);
  background: transparent;
}

.v5-web .context-disclosure {
  padding-inline: 14px;
  background: linear-gradient(90deg, rgba(111, 91, 151, 0.035), rgba(103, 183, 166, 0.055));
}

.v5-web .self-reflection > summary strong {
  color: #49424f;
  font-weight: 560;
}

.v5-web .web-listening-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.v5-web .reflection-area > *,
.v5-web .desktop-response-evening,
.v5-web .desktop-evening-checkin,
.v5-web .desktop-felt-state-actions {
  min-width: 0;
  max-width: 100%;
}

.v5-web .web-continuation-invite > span {
  display: block;
  margin-bottom: 5px;
  color: #81779a;
  font-size: 11px;
}

.v5-web .web-continuation-invite h3,
.v5-web .web-continuation-invite p {
  margin: 0;
}

.v5-web .web-continuation-invite h3 {
  color: #403a47;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 22px;
  font-weight: 560;
}

.v5-web .web-continuation-invite p {
  max-width: 360px;
  margin-top: 9px;
  color: #706976;
  font-size: 14px;
  line-height: 1.75;
}

.v5-web .web-continuation-prompts {
  display: grid;
  gap: 7px;
  grid-column: 1;
}

.v5-web .web-continuation-prompts button {
  position: relative;
  min-height: 42px;
  padding: 9px 34px 9px 13px;
  color: #5b5365;
  font: inherit;
  font-size: 13px;
  text-align: left;
  background: rgba(231, 226, 240, 0.38);
  border: 1px solid rgba(103, 93, 145, 0.1);
  border-radius: 6px;
}

.v5-web .web-continuation-prompts button::after {
  position: absolute;
  top: 50%;
  right: 13px;
  content: "›";
  color: #8b81a2;
  font-size: 19px;
  transform: translateY(-52%);
}

.v5-web .web-listening-composer .followup-form {
  display: grid;
  gap: 10px;
  grid-column: 1;
  grid-row: auto;
  margin: 0;
}

.v5-web .web-listening-composer .followup-form textarea {
  min-height: 146px;
  font-size: 16px;
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(103, 93, 145, 0.16);
  border-radius: 7px;
}

.v5-web .web-listening-composer .followup-dictation-card {
  margin: 0;
}

.v5-web .web-listening-composer .submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(120px, 0.75fr);
  gap: 9px;
}

.v5-web .web-listening-composer .submit-row > button {
  width: 100%;
  min-height: 46px;
  margin: 0;
}

.v5-web .web-listening-composer .desktop-review-path,
.v5-web .web-listening-composer .followup-list {
  grid-column: 1 / -1;
}

.v5-web .desktop-weekly-clues {
  display: block;
  margin-top: 34px;
  padding: 0 30px;
  border-top: 1px solid var(--v5-web-line);
}

.v5-web .weekly-portrait {
  padding: 30px 0 6px;
}

.v5-web .weekly-portrait-head > span {
  color: #70668e;
  font-size: 11px;
}

.v5-web .weekly-portrait-head h3 {
  margin: 7px 0 8px;
  color: #3f3948;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 27px;
  font-weight: 560;
  line-height: 1.4;
}

.v5-web .weekly-portrait-head p {
  max-width: 520px;
  margin: 0;
  color: #7c7580;
  font-size: 13px;
  line-height: 1.7;
}

.v5-web .weekly-portrait-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(400px, 1.1fr);
  gap: 42px;
  margin-top: 24px;
}

.v5-web .weekly-tide {
  position: relative;
  min-width: 0;
  padding: 17px 0 15px;
  border-block: 1px solid rgba(52, 48, 57, 0.08);
}

.v5-web .weekly-tide-labels {
  position: absolute;
  z-index: 2;
  top: 13px;
  bottom: 55px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #928b95;
  font-size: 9px;
  pointer-events: none;
}

.v5-web .weekly-tide-chart {
  height: 132px;
  padding-left: 28px;
}

.v5-web .weekly-tide-chart svg {
  display: block;
  width: 100%;
  height: 132px;
  overflow: visible;
}

.v5-web .weekly-guide {
  fill: none;
  stroke: rgba(103, 93, 145, 0.1);
  stroke-dasharray: 2 7;
  stroke-width: 1;
}

.v5-web .weekly-tide-line {
  fill: none;
  stroke: url("#desktopWeeklyTideGradient");
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  filter: drop-shadow(0 4px 8px rgba(103, 93, 145, 0.16));
}

.v5-web .weekly-tide-halo {
  fill: rgba(121, 170, 157, 0.16);
}

.v5-web .weekly-tide-dot {
  fill: #fff;
  stroke: #7166a0;
  stroke-width: 2.6;
}

.v5-web .weekly-day-buttons {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  margin-top: 3px;
}

.v5-web .weekly-day-buttons button {
  min-width: 0;
  min-height: 40px;
  padding: 4px 0;
  color: #89828d;
  font: inherit;
  font-size: 10px;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

.v5-web .weekly-day-buttons button i {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0 auto 5px;
  background: #d9d4dd;
  border-radius: 50%;
}

.v5-web .weekly-day-buttons button.has-report i {
  background: #8579aa;
}

.v5-web .weekly-day-buttons button.active {
  color: #4e4665;
  background: rgba(231, 226, 240, 0.5);
}

.v5-web .weekly-day-buttons button.active i {
  background: #6fa99b;
  box-shadow: 0 0 0 4px rgba(111, 169, 155, 0.13);
}

.v5-web .weekly-day-detail {
  min-height: 40px;
  margin: 10px 0 0;
  color: #6f6873;
  font-size: 11px;
  line-height: 1.65;
}

.v5-web .weekly-portrait-stories {
  display: grid;
  min-width: 0;
}

.v5-web .weekly-portrait-stories article {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 9px;
  padding: 15px 0;
  border-top: 1px solid rgba(52, 48, 57, 0.08);
}

.v5-web .weekly-portrait-stories article:first-child {
  border-top: 0;
}

.v5-web .weekly-portrait-stories article > span {
  padding-top: 2px;
  color: #aaa2ad;
  font-size: 9px;
}

.v5-web .weekly-portrait-stories strong {
  display: block;
  margin-bottom: 6px;
  color: #544c61;
  font-size: 13px;
  font-weight: 560;
}

.v5-web .weekly-portrait-stories p {
  margin: 0;
  color: #6d6671;
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
}

.v5-web .weekly-portrait-stories .weekly-open-thread {
  margin-inline: -12px;
  padding-inline: 12px;
  background: linear-gradient(100deg, rgba(231, 226, 240, 0.44), rgba(226, 241, 236, 0.38));
  border-top-color: transparent;
}

.v5-web .weekly-portrait-lower {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(400px, 1.1fr);
  gap: 42px;
  align-items: end;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(52, 48, 57, 0.08);
}

.v5-web .weekly-portrait-fit > span {
  display: block;
  margin-bottom: 10px;
  color: #716a76;
  font-size: 12px;
}

.v5-web .weekly-portrait-fit > div,
.v5-web .weekly-portrait-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.v5-web .weekly-portrait-fit button,
.v5-web .weekly-portrait-actions button,
.v5-web .weekly-portrait-collapsed button {
  min-height: 42px;
  padding: 0 13px;
  color: #5d5666;
  font: inherit;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--v5-web-line);
  border-radius: 7px;
}

.v5-web .weekly-portrait-fit > strong {
  color: #5f826f;
  font-size: 12px;
  font-weight: 560;
}

.v5-web .weekly-portrait-actions button.primary {
  color: #fff;
  background: #615781;
  border-color: #615781;
}

.v5-web .weekly-portrait-boundary {
  margin: 14px 0 0;
  color: #97909a;
  font-size: 10px;
  line-height: 1.65;
}

.v5-web .weekly-portrait-collapsed {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 22px 0;
}

.v5-web .weekly-portrait-collapsed > span {
  width: 7px;
  height: 7px;
  background: #86aa9f;
  border-radius: 50%;
}

.v5-web .weekly-portrait-collapsed strong,
.v5-web .weekly-portrait-collapsed p {
  display: block;
  margin: 0;
}

.v5-web .weekly-portrait-collapsed p {
  margin-top: 4px;
  color: #89828d;
  font-size: 11px;
}

@media (max-width: 900px) {
  .v5-web .web-organization-flow {
    grid-template-columns: 1fr;
  }

  .v5-web .web-listening-composer {
    grid-template-columns: 1fr;
  }

  .v5-web .web-listening-composer .followup-form {
    grid-column: 1;
    grid-row: auto;
  }

  .v5-web .weekly-portrait-grid,
  .v5-web .weekly-portrait-lower {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
