:root {
  --v11-web-night: #181423;
  --v11-web-paper: #f7f6f8;
  --v11-web-surface: #ffffff;
  --v11-web-ink: #2d2836;
  --v11-web-muted: #77717f;
  --v11-web-line: #e7e3e9;
  --v11-web-violet: #65568c;
}

body.v11-web {
  min-width: 0;
  color: var(--v11-web-ink);
  background: var(--v11-web-paper);
}

body.v11-web .app-shell {
  display: block;
  min-width: 0;
}

body.v11-web .sidebar {
  display: none;
}

body.v11-web .main-column {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 28px 72px;
}

body.v11-web .topbar {
  position: relative;
  min-height: 76px;
  padding: 0;
  border-bottom: 1px solid var(--v11-web-line);
  background: transparent;
}

body.v11-web .desktop-brand {
  display: inline-flex;
}

body.v11-web .desktop-brand strong {
  font-weight: 620;
  letter-spacing: 0;
}

body.v11-web .page-title {
  display: none;
}

body.v11-web .top-actions {
  margin-left: auto;
}

body.v11-web .top-actions > .ghost-button {
  min-height: 36px;
  border-radius: 5px;
}

body.v11-web .v11-desktop-more {
  position: relative;
}

body.v11-web .v11-desktop-more-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #655e6e;
  border: 1px solid var(--v11-web-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

body.v11-web .v11-desktop-more-button svg {
  width: 18px;
  height: 18px;
}

body.v11-web .v11-desktop-more > div {
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 30;
  display: grid;
  width: 218px;
  padding: 8px;
  border: 1px solid var(--v11-web-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(30, 24, 41, 0.16);
}

body.v11-web .v11-desktop-more > div[hidden] {
  display: none;
}

body.v11-web .v11-desktop-more button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 0 11px;
  color: #4e4759;
  border: 0;
  border-radius: 5px;
  background: transparent;
  text-align: left;
}

body.v11-web .v11-desktop-more button:hover {
  background: #f3f0f5;
}

body.v11-web .v11-desktop-more button svg {
  width: 17px;
  height: 17px;
  color: #71628f;
}

body.v11-web .v11-desktop-boundary {
  margin: 7px 4px 2px;
  padding: 10px 8px 2px;
  color: #8a8390;
  border-top: 1px solid var(--v11-web-line);
  font-size: 10px;
  line-height: 1.55;
}

body.v11-web .hero-grid {
  display: block;
  margin: 0;
}

body.v11-web .lunar-panel {
  min-height: 276px;
  margin-inline: -28px;
  padding: 30px 52px 35px;
  border: 0;
  border-radius: 0;
  background: var(--v11-web-night);
  box-shadow: none;
}

body.v11-web .desktop-moon-context,
body.v11-web .desktop-tonight-moon {
  display: none;
}

body.v11-web .desktop-moon-phases {
  max-width: 760px;
  margin: 0 auto;
}

body.v11-web .hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
}

body.v11-web .hero-copy h1 {
  max-width: none;
  margin: 0;
  color: #f5f2f9;
  font-size: 32px;
  font-weight: 580;
  line-height: 1.35;
  letter-spacing: 0;
}

body.v11-web .hero-copy > p:last-child {
  max-width: 560px;
  margin: 10px auto 0;
  color: #c7bfd2;
  font-size: 14px;
  line-height: 1.65;
}

body.v11-web .stats-panel {
  display: none;
}

body.v11-web .workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 18px;
  margin-top: 0;
}

body.v11-web .input-panel,
body.v11-web .reflection-panel {
  min-width: 0;
  padding: 34px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.v11-web .panel-heading,
body.v11-web .reflection-panel > .panel-heading {
  display: none;
}

body.v11-web .entry-form {
  display: grid;
  grid-template-columns: 1fr;
}

body.v11-web .voice-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 20px;
  min-height: 236px;
  padding: 20px;
  border: 1px solid var(--v11-web-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.46);
}

body.v11-web .input-panel .field {
  display: block;
  min-width: 0;
  border: 0;
  background: transparent;
}

body.v11-web .input-panel .field > span {
  display: none;
}

body.v11-web #entryText {
  display: block;
  width: 100%;
  height: 194px;
  min-height: 194px;
  max-height: 44vh;
  padding: 8px 4px;
  box-sizing: border-box;
  color: var(--v11-web-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 430;
  line-height: 1.85;
  letter-spacing: 0;
  resize: none;
}

body.v11-web #entryText::placeholder {
  color: #8e8794;
}

body.v11-web .dictation-card {
  display: flex;
  min-height: 194px;
  margin: 0;
  padding: 20px 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 0;
  border-left: 1px solid var(--v11-web-line);
  border-radius: 0;
  background: rgba(247, 245, 249, 0.72);
}

body.v11-web .dictation-button {
  position: relative;
  display: grid;
  width: 84px;
  height: 84px;
  min-height: 84px;
  margin: 0 0 34px;
  padding: 0;
  place-items: center;
  justify-content: center;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: var(--v11-web-violet);
  box-shadow: 0 12px 28px rgba(66, 53, 97, 0.16);
}

body.v11-web .dictation-button span {
  position: absolute;
  top: calc(100% + 12px);
  width: 150px;
  margin: 0;
  color: #574d68;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

body.v11-web .dictation-card p {
  margin: 0;
  max-width: 150px;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}

body.v11-web .submit-row {
  margin-top: 10px;
}

body.v11-web .submit-row .primary-button {
  min-height: 48px;
  border-radius: 7px;
}

body.v11-web #saveHint,
body.v11-web .self-check-details,
body.v11-web .emotion-output.draft-preview {
  display: none;
}

body.v11-web .reflection-panel {
  padding-top: 10px;
}

body.v11-web .reflection-area {
  display: grid;
  gap: 18px;
}

body.v11-web #reflectionArea > .v11-web-user-turn {
  order: 0;
}

body.v11-web #reflectionArea > .response-output {
  order: 1;
}

body.v11-web #reflectionArea > .web-conversation-stage {
  order: 2;
}

body.v11-web #reflectionArea > .continuation-panel {
  order: 3;
}

body.v11-web #reflectionArea > .v11-web-aftercare {
  order: 4;
}

body.v11-web .v11-web-user-turn {
  justify-self: end;
  max-width: 78%;
  margin: 0;
  padding: 13px 16px;
  color: #40384b;
  border-radius: 7px 7px 2px 7px;
  background: #ece8f2;
  font-size: 15px;
  line-height: 1.75;
}

body.v11-web .response-output {
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.v11-web .response-output .release-head {
  display: none;
}

body.v11-web .active-dialogue {
  display: grid;
  gap: 9px;
}

body.v11-web .active-dialogue p {
  margin: 0;
  color: #37313f;
  font-size: 16px;
  line-height: 1.8;
}

body.v11-web .active-dialogue-turn.is-receive {
  font-weight: 520;
}

body.v11-web .active-dialogue-turn::before,
body.v11-web .active-dialogue-turn::after {
  display: none !important;
}

body.v11-web .active-dialogue-turn {
  padding: 0 !important;
}

body.v11-web .response-output .voice-row {
  margin-top: 13px;
}

body.v11-web .response-output [data-voice-hint] {
  display: none;
}

body.v11-web .response-output .echo-details > summary {
  color: #837b89;
  font-size: 11px;
}

body.v11-web .continuation-panel {
  padding: 21px 18px;
  border: 1px solid var(--v11-web-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

body.v11-web .web-continuation-invite span,
body.v11-web .web-continuation-invite h3,
body.v11-web .web-continuation-prompts,
body.v11-web .desktop-review-path {
  display: none;
}

body.v11-web .web-continuation-invite p {
  margin: 0 0 13px;
  color: #635b6c;
  font-size: 13px;
  line-height: 1.65;
}

body.v11-web .continuation-panel .followup-form {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

body.v11-web .continuation-panel [data-followup-text] {
  grid-column: 2;
  grid-row: 1;
  min-height: 56px;
  max-height: 140px;
  padding: 14px;
  border: 1px solid #dfdae4;
  border-radius: 7px;
  background: #fff;
  resize: none;
}

body.v11-web .followup-dictation-card {
  display: contents;
}

body.v11-web .followup-dictation-button {
  grid-column: 1;
  grid-row: 1;
  width: 54px;
  min-height: 54px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
}

body.v11-web .followup-dictation-button span,
body.v11-web .followup-dictation-card p {
  display: none;
}

body.v11-web .continuation-panel .submit-row {
  display: grid;
  grid-column: 3;
  grid-row: 1;
  gap: 5px;
  margin: 0;
}

body.v11-web .continuation-panel .submit-row .primary-button {
  min-height: 44px;
}

body.v11-web .continuation-panel .submit-row .subtle-button {
  min-height: 28px;
  color: #746d7d;
  border: 0;
  background: transparent;
  font-size: 11px;
}

body.v11-web .v11-web-aftercare {
  border-top: 1px solid var(--v11-web-line);
}

body.v11-web .v11-web-aftercare:not([open]) {
  display: none;
}

body.v11-web .v11-web-aftercare > summary {
  min-height: 52px;
  padding: 0 4px;
  color: #675b7c;
  font-size: 13px;
  line-height: 52px;
  cursor: pointer;
  list-style: none;
}

body.v11-web .v11-web-aftercare > summary::-webkit-details-marker {
  display: none;
}

body.v11-web .v11-web-aftercare > summary::after {
  content: "＋";
  float: right;
}

body.v11-web .v11-web-aftercare[open] > summary::after {
  content: "−";
}

body.v11-web .v11-web-aftercare-body {
  display: grid;
  gap: 12px;
}

body.v11-web .desktop-response-evening,
body.v11-web .post-check-panel,
body.v11-web .context-disclosure,
body.v11-web .memory-panel {
  margin: 0;
  border-radius: 6px;
  box-shadow: none;
}

body.v11-web .daily-review-panel,
body.v11-web .lower-grid {
  max-width: 1020px;
  margin-inline: auto;
}

body.v11-web #reviewSection,
body.v11-web #historySection,
body.v11-web #contextSection,
body.v11-web .web-scope {
  display: none;
}

body.v11-web #reviewSection.v11-secondary-open,
body.v11-web #historySection.v11-secondary-open,
body.v11-web #contextSection.v11-secondary-open {
  display: block;
}

body.v11-web #reviewSection.v11-secondary-open,
body.v11-web #historySection.v11-secondary-open,
body.v11-web #contextSection.v11-secondary-open {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--v11-web-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

body.v11-web .daily-review-heading,
body.v11-web .section-head {
  position: relative;
}

body.v11-web .v11-secondary-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #706878;
  border: 1px solid var(--v11-web-line);
  border-radius: 50%;
  background: #fff;
}

body.v11-web .v11-secondary-close svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 820px) {
  body.v11-web .main-column {
    padding-inline: 16px;
  }

  body.v11-web .voice-entry {
    grid-template-columns: 1fr;
  }

  body.v11-web .dictation-card {
    min-height: 160px;
    border-top: 1px solid var(--v11-web-line);
    border-left: 0;
  }

  body.v11-web .lunar-panel {
    margin-inline: -16px;
    padding-inline: 20px;
  }

  body.v11-web .continuation-panel .followup-form {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  body.v11-web .continuation-panel .submit-row {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr auto;
  }
}
