.lm-wrap {
  direction: rtl;
  width: min(980px, calc(100% - 32px));
  max-width: 980px;
  margin: 0 auto 3rem;
  color: #172033;
  font-family: inherit;
  box-sizing: border-box;
}

/* v1.1.284: semantic opening choices */
.lm-teaser .lm-scale--choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.lm-teaser .lm-scale--choices .lm-scale-option {
  min-height: 72px;
  padding: 0.9rem 1rem;
  align-content: center;
  text-align: right;
}

.lm-teaser .lm-scale--choices .lm-scale-label {
  color: #20334f;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.lm-teaser .lm-scale--choices .lm-scale-option:has(input:checked) .lm-scale-label {
  color: #fff;
}

.lm-multi-choice-hint,
.lm-multi-choice-feedback {
  margin: 0.7rem 0 0;
  color: #456278;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.55;
}

.lm-multi-choice-hint::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #178a72;
  vertical-align: middle;
}

.lm-multi-choice-feedback {
  min-height: 1.45em;
  color: #8a5a00;
}

.lm-multi-choice-feedback[hidden] {
  display: none;
}

.lm-question-step[data-lm-selection-type="multi"] .lm-scale-option {
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 0.65rem;
}

.lm-question-step[data-lm-selection-type="multi"] .lm-scale-option::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #91a6b8;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}

.lm-question-step[data-lm-selection-type="multi"] .lm-scale-option:has(input:checked)::before {
  content: "\2713";
  display: grid;
  place-items: center;
  border-color: #fff;
  background: #fff;
  color: #0f6f60;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

/* v1.1.297: stable five-point scale for the opening Likert questionnaire */
.lm-teaser .lm-scale--choices.lm-scale--likert {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lm-teaser .lm-scale--choices.lm-scale--likert .lm-scale-option {
  min-height: 92px;
  text-align: center;
}

.lm-teaser .lm-scale--choices.lm-scale--likert .lm-scale-number {
  font-size: 1.2rem;
}

@media (max-width: 680px) {
  body .lm-teaser .lm-scale--choices {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .lm-teaser .lm-scale--choices .lm-scale-option {
    display: grid !important;
    min-height: 58px !important;
    padding: 12px 14px !important;
    text-align: right !important;
  }
}

/* v1.5.33: focused personal-map hierarchy and progressive disclosure. */
.lm-journey-workspace--refined .lm-personal-map--focused {
  gap: 18px;
}

.lm-journey-workspace--refined .lm-personal-map--focused .lm-personal-map__hero {
  margin: 0;
}

.lm-journey-workspace--refined .lm-personal-map__empty-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid #cfe1dc;
  border-inline-start: 5px solid var(--lm-j8-teal-bright);
  border-radius: 8px;
  background: var(--lm-j8-surface-teal);
}

.lm-journey-workspace--refined .lm-personal-map__empty-start :is(h3, p) {
  margin: 0;
}

.lm-journey-workspace--refined .lm-personal-map__empty-start p {
  margin-block-start: 6px;
  line-height: 1.65;
}

.lm-journey-workspace--refined .lm-personal-map__focus-domains,
.lm-journey-workspace--refined .lm-personal-map__all-domains {
  display: grid;
  gap: 12px;
}

.lm-journey-workspace--refined .lm-personal-map__section-head {
  padding: 2px 2px 0;
}

.lm-journey-workspace--refined .lm-personal-map__section-head h3 {
  margin: 3px 0 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.lm-journey-workspace--refined .lm-personal-map__domains--top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-journey-workspace--refined .lm-personal-map__domains--all {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-journey-workspace--refined .lm-personal-map__domains--all:not(.is-expanded) {
  display: none;
}

.lm-journey-workspace--refined .lm-personal-map--focused .lm-personal-map__domain > summary {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  min-height: 138px;
  padding: 16px;
  align-content: start;
}

.lm-journey-workspace--refined .lm-personal-map--focused .lm-personal-map__domain > summary::after {
  display: none;
}

.lm-journey-workspace--refined .lm-personal-map__domain-copy > span {
  color: var(--lm-j8-muted);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.55;
}

.lm-journey-workspace--refined .lm-personal-map__domain-action {
  grid-column: 2;
  color: var(--lm-j8-teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-personal-map__domain[open] .lm-personal-map__domain-action {
  color: var(--lm-j8-muted);
}

.lm-journey-workspace--refined .lm-personal-map__domain:not([open]) > .lm-personal-map__domain-body,
.lm-journey-workspace--refined .lm-childhood-present__secondary:not([open]) > .lm-childhood-present__card {
  display: none !important;
}

.lm-journey-workspace--refined .lm-personal-map__domain-body {
  gap: 12px;
  padding: 16px;
  border-block-start-color: var(--lm-j8-border);
}

.lm-journey-workspace--refined .lm-personal-map__domain-section {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dce7ed;
  border-radius: 8px;
  background: #f8fbfd;
}

.lm-journey-workspace--refined .lm-personal-map__domain-section > strong {
  color: var(--lm-j8-navy);
}

.lm-journey-workspace--refined .lm-personal-map__domain-section :is(p, h4) {
  margin: 0;
}

.lm-journey-workspace--refined .lm-personal-map__domain-section.is-strength {
  border-color: #cfe1dc;
  background: var(--lm-j8-surface-teal);
}

.lm-journey-workspace--refined .lm-personal-map__domain-section.is-connection {
  border-color: #cfe2eb;
  background: #edf6fa;
}

.lm-journey-workspace--refined .lm-personal-map__domain-section.is-unclear {
  border-color: #ecdba9;
  background: var(--lm-j8-surface-gold);
}

.lm-journey-workspace--refined .lm-personal-map__known-list {
  display: grid;
  gap: 12px;
}

.lm-journey-workspace--refined .lm-personal-map__known-list .lm-personal-map__signal {
  padding-block-start: 0;
}

.lm-journey-workspace--refined .lm-personal-map__known-list .lm-personal-map__signal + .lm-personal-map__signal {
  padding-block-start: 12px;
}

.lm-journey-workspace--refined .lm-personal-map__signal h4 {
  margin: 2px 0 5px;
  color: var(--lm-j8-navy);
  font-size: 1rem;
}

.lm-journey-workspace--refined .lm-personal-map__domain-evidence {
  padding: 12px 14px;
  border: 1px solid var(--lm-j8-border);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-personal-map__domain-evidence > summary {
  color: var(--lm-j8-teal);
  cursor: pointer;
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-personal-map__domain-evidence ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-inline-start: 18px;
}

.lm-journey-workspace--refined .lm-personal-map__domain-evidence li strong {
  display: block;
  color: var(--lm-j8-muted);
  font-size: 0.78rem;
}

.lm-journey-workspace--refined .lm-personal-map__unclear-body {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.lm-journey-workspace--refined .lm-personal-map__unclear-body .lm-button {
  min-height: 40px;
  padding: 8px 14px;
}

.lm-journey-workspace--refined .lm-childhood-present--primary .lm-childhood-present__head,
.lm-journey-workspace--refined .lm-childhood-present--additional .lm-childhood-present__head {
  padding: 0 2px;
}

.lm-journey-workspace--refined .lm-childhood-present__origin-title {
  margin: 0;
  color: var(--lm-j8-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section.is-origin-unclear {
  border-color: #dce7ed;
  background: #f5f8fa;
}

.lm-journey-workspace--refined .lm-childhood-present--additional {
  padding-block-start: 4px;
}

.lm-journey-workspace--refined .lm-childhood-present--additional .lm-childhood-present__list {
  gap: 10px;
}

.lm-journey-workspace--refined .lm-childhood-present__secondary > summary {
  min-height: 58px;
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable {
  padding: 14px 16px;
  border: 1px solid var(--lm-j8-border);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable > summary {
  color: var(--lm-j8-navy);
  cursor: pointer;
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 10px;
  border-block-start: 1px solid var(--lm-j8-border);
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable li > div {
  display: grid;
  gap: 3px;
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable time {
  color: var(--lm-j8-muted);
  font-size: 0.78rem;
}

.lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable .lm-button {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.8rem;
}

.lm-journey-workspace--refined :is(.lm-personal-map__learned-more, .lm-map-deepening-tools) {
  overflow: hidden;
  border: 1px solid var(--lm-j8-border);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined :is(.lm-personal-map__learned-more, .lm-map-deepening-tools) > summary {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  color: var(--lm-j8-navy);
  cursor: pointer;
}

.lm-journey-workspace--refined :is(.lm-personal-map__learned-more, .lm-map-deepening-tools) > summary span {
  color: var(--lm-j8-muted);
  font-size: 0.8rem;
}

.lm-journey-workspace--refined .lm-personal-map__learned-more-body,
.lm-journey-workspace--refined .lm-map-deepening-tools__body {
  display: grid;
  gap: 14px;
  padding: 16px 18px 18px;
  border-block-start: 1px solid var(--lm-j8-border);
}

.lm-journey-workspace--refined .lm-personal-map__learned-more-body section {
  display: grid;
  gap: 6px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--lm-j8-border);
}

.lm-journey-workspace--refined .lm-personal-map__learned-more-body section:first-child {
  padding-block-start: 0;
  border-block-start: 0;
}

.lm-journey-workspace--refined .lm-personal-map__learned-more-body :is(h4, p) {
  margin: 0;
}

.lm-journey-workspace--refined .lm-map-deepening-tools__body .lm-personal-map__legend {
  padding-block-end: 12px;
  border-block-end: 1px solid var(--lm-j8-border);
}

.lm-journey-workspace--refined .lm-map-deepening-tools__body .lm-personal-map__privacy {
  margin: 0;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--lm-j8-border);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-personal-map__empty-start,
  .lm-personal-map__domain-section,
  .lm-personal-map__domain-evidence,
  .lm-childhood-present__dismissed--reactivable,
  .lm-personal-map__learned-more,
  .lm-map-deepening-tools
) {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__domain-section.is-strength {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__domain-section.is-connection {
  border-color: #38586d;
  background: var(--lm-j8-surface-blue);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__domain-section.is-unclear {
  border-color: #6d5a32;
  background: var(--lm-j8-surface-gold);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-personal-map__domain-section > strong,
  .lm-personal-map__signal h4,
  .lm-childhood-present__dismissed--reactivable > summary,
  .lm-personal-map__learned-more > summary,
  .lm-map-deepening-tools > summary
) {
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__domain-copy > span,
html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__learned-more-body p {
  color: var(--lm-j8-muted);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__state span {
  color: #b7cdc8;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-childhood-present__flow > section.is-origin-unclear {
  border-color: var(--lm-j8-border);
  background: #1a2b3a;
}

@media (max-width: 1050px) {
  .lm-journey-workspace--refined .lm-personal-map__domains--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .lm-journey-workspace--refined .lm-personal-map__domains--top,
  .lm-journey-workspace--refined .lm-personal-map__domains--all,
  .lm-journey-workspace--refined .lm-personal-map__empty-start {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-personal-map--focused .lm-personal-map__domain > summary {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .lm-journey-workspace--refined .lm-personal-map--focused {
    gap: 14px;
  }

  .lm-journey-workspace--refined .lm-personal-map--focused .lm-personal-map__hero,
  .lm-journey-workspace--refined .lm-personal-map__empty-start,
  .lm-journey-workspace--refined .lm-personal-map__unclear,
  .lm-journey-workspace--refined .lm-childhood-present__card {
    padding: 16px;
  }

  .lm-journey-workspace--refined .lm-personal-map--focused .lm-personal-map__domain > summary {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .lm-journey-workspace--refined .lm-personal-map__domain-action {
    grid-column: 2;
  }

  .lm-journey-workspace--refined .lm-personal-map__unclear-body,
  .lm-journey-workspace--refined .lm-personal-map__unclear-body .lm-button,
  .lm-journey-workspace--refined .lm-personal-map__all-domains > .lm-button {
    width: 100%;
  }

  .lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable li {
    display: grid;
  }

  .lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable form,
  .lm-journey-workspace--refined .lm-childhood-present__dismissed--reactivable .lm-button {
    width: 100%;
  }

  .lm-journey-workspace--refined :is(.lm-personal-map__learned-more, .lm-map-deepening-tools) > summary,
  .lm-journey-workspace--refined .lm-personal-map__learned-more-body,
  .lm-journey-workspace--refined .lm-map-deepening-tools__body {
    padding-inline: 14px;
  }
}

#lm-start-questionnaire {
  scroll-margin-top: 110px;
}

.lm-grip-result {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.lm-grip-result__hero,
.lm-grip-main-card,
.lm-grip-insight,
.lm-grip-table-card,
.lm-grip-next,
.lm-grip-cards article {
  border: 1px solid rgba(18, 68, 105, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 171, 202, 0.12), transparent 12rem),
    linear-gradient(145deg, #ffffff, #f8fcff);
  box-shadow: 0 18px 46px rgba(16, 33, 59, 0.08);
}

.lm-grip-result__hero {
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.lm-grip-result__hero :is(h1, h2) {
  max-width: 15ch;
  margin: 0 auto 0.9rem;
  color: #10213b;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.lm-grip-result__hero p:not(.lm-kicker) {
  max-width: 58ch;
  margin: 0 auto;
  color: #52647a;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 750;
  line-height: 1.8;
}

.lm-grip-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(1rem, 2.5vw, 1.4rem);
  align-items: stretch;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-top: 5px solid #168466;
}

.lm-grip-main-card > div:first-child {
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.lm-grip-main-card span {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-grip-main-card strong {
  color: #10213b;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.08;
}

.lm-grip-main-card p {
  max-width: 64ch;
  margin: 0;
  color: #3f5066;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 780;
  line-height: 1.85;
}

.lm-grip-main-card__stats {
  display: grid;
  gap: 0.75rem;
}

.lm-grip-main-card__stats article {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(22, 132, 102, 0.15);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 194, 70, 0.12), transparent 7rem),
    rgba(255, 255, 255, 0.86);
}

.lm-grip-main-card__stats strong {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.lm-grip-main-card__stats small {
  color: #637083;
  font-weight: 850;
  line-height: 1.55;
}

.lm-grip-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-grip-summary article {
  min-height: 142px;
  padding: 1.25rem;
  border: 1px solid rgba(22, 132, 102, 0.14);
  border-top: 4px solid #1aa38d;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 33, 59, 0.07);
}

.lm-grip-summary span,
.lm-grip-cards span,
.lm-grip-next .lm-kicker {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-grip-summary strong {
  display: block;
  margin-top: 0.45rem;
  color: #10213b;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.lm-grip-summary small {
  display: block;
  margin-top: 0.45rem;
  color: #637083;
  font-weight: 800;
  line-height: 1.6;
}

.lm-grip-insight,
.lm-grip-table-card,
.lm-grip-next {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.lm-grip-insight h3,
.lm-grip-table-card h3,
.lm-grip-next h3 {
  margin: 0 0 0.7rem;
  color: #10213b;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.lm-grip-insight p,
.lm-grip-next p {
  margin: 0;
  color: #3f5066;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 760;
  line-height: 1.85;
}

.lm-grip-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lm-grip-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0 0.55rem;
}

.lm-grip-table th,
.lm-grip-table td {
  padding: 0.95rem 1rem;
  background: #ffffff;
  color: #10213b;
  text-align: right;
  vertical-align: middle;
}

.lm-grip-table thead th {
  background: transparent;
  color: #637083;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-grip-table tbody th {
  border-radius: 0 14px 14px 0;
  font-weight: 950;
}

.lm-grip-table tbody td:last-child {
  border-radius: 14px 0 0 14px;
  color: #52647a;
  font-weight: 820;
}

.lm-grip-score {
  display: grid;
  gap: 0.45rem;
  min-width: 170px;
}

.lm-grip-score strong {
  font-size: 0.95rem;
  font-weight: 950;
}

.lm-grip-score i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf5;
}

.lm-grip-score i::after {
  content: "";
  position: absolute;
  inset-block: 0;
  right: 0;
  width: var(--lm-grip-score, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #ffc757, #25abca, #168466);
}

.lm-grip-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-grip-cards article {
  padding: 1.2rem;
}

.lm-grip-cards p {
  margin: 0.55rem 0 0;
  color: #3f5066;
  font-weight: 760;
  line-height: 1.75;
}

.lm-grip-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-color: rgba(22, 132, 102, 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 199, 87, 0.16), transparent 12rem),
    linear-gradient(145deg, #ffffff, #f2fbf8);
}

.lm-grip-next .lm-button {
  white-space: nowrap;
}

.lm-grip-next--curiosity {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  border-color: rgba(255, 190, 64, 0.32);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 199, 87, 0.2), transparent 12rem),
    radial-gradient(circle at 100% 100%, rgba(37, 171, 202, 0.14), transparent 13rem),
    linear-gradient(145deg, #ffffff, #f4fbf8);
}

.lm-grip-next__content {
  display: grid;
  gap: 0.8rem;
}

.lm-next-teaser-card {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.2rem;
  padding: 1rem;
  border: 1px solid rgba(22, 132, 102, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 252, 248, 0.92));
  box-shadow: inset 4px 0 0 #168466, 0 14px 30px rgba(16, 33, 59, 0.05);
}

.lm-next-teaser-card span {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-next-teaser-card strong {
  color: #10213b;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.25;
}

.lm-next-teaser-card p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.lm-next-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.lm-next-teaser-list li {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(29, 79, 134, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #24344d;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-next-teaser-action {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

.lm-next-teaser-action .lm-button {
  width: min(100%, 430px);
  min-height: 52px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  box-shadow: 0 16px 34px rgba(17, 95, 91, 0.18);
}

.lm-next-teaser-action small {
  max-width: 46ch;
  color: #607086;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .lm-grip-main-card,
  .lm-grip-summary,
  .lm-grip-cards,
  .lm-grip-next {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-grip-result__hero,
  .lm-grip-main-card,
  .lm-grip-insight,
  .lm-grip-table-card,
  .lm-grip-next,
  .lm-grip-cards article {
    border-radius: 16px;
  }

  .lm-grip-result__hero :is(h1, h2) {
    max-width: 100%;
  }

  .lm-grip-table {
    min-width: 560px;
  }

  .lm-grip-next .lm-button {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .lm-next-teaser-action .lm-button {
    width: 100%;
  }

  .lm-next-teaser-list {
    display: grid;
  }

  .lm-next-teaser-list li {
    border-radius: 14px;
  }
}

.lm-section-header {
  margin-bottom: 1.6rem;
}

.lm-section-header :is(h1, h2) {
  margin-bottom: 0.55rem;
}

.lm-kicker {
  margin: 0 0 0.5rem;
  color: #1d4f86;
  font-weight: 800;
}

.lm-muted,
.lm-section-header p {
  color: #5d6879;
}

.lm-form,
.lm-panel,
.lm-domain-section,
.lm-save-box,
.lm-result-card,
.lm-score-card,
.lm-topic-result-card,
.lm-topic-link-card,
.lm-topic-more {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-form {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.lm-form-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.74)),
    #fff;
  border: 1px solid rgba(58, 134, 200, 0.22);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-form-intro-card span {
  color: #1d4f86;
  font-weight: 850;
}

.lm-form-intro-card p {
  margin: 0.35rem 0 0;
  color: #425169;
}

.lm-form-meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.5rem;
}

.lm-form-meta span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0.35rem 0.7rem;
  background: #eef6fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  color: #10233f;
  font-size: 0.9rem;
  white-space: nowrap;
}

.lm-form--compact {
  max-width: 680px;
}

.lm-step-progress {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-step-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #10233f;
  font-weight: 850;
}

.lm-step-progress > div:first-child span {
  color: #1d4f86;
}

.lm-progress-track {
  height: 10px;
  overflow: hidden;
  background: #dfe7ef;
  border-radius: 999px;
}

.lm-progress-track span {
  display: block;
  width: var(--lm-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, #24a389, #3a86c8);
  border-radius: inherit;
  transition: width 180ms ease;
}

.lm-step-dots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18px, 1fr));
  gap: 0.45rem;
}

.lm-step-dots span {
  height: 6px;
  background: #dfe7ef;
  border-radius: 999px;
}

.lm-step-dots span.is-active {
  background: #1d4f86;
}

.lm-step-error {
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
  background: #fff1f1;
  border: 1px solid rgba(138, 31, 31, 0.22);
  border-radius: 8px;
  color: #8a1f1f;
  font-weight: 800;
}

.lm-questionnaire--enhanced .lm-question-step {
  display: none;
}

.lm-questionnaire--enhanced .lm-question-step.is-active {
  display: block;
}

.lm-step-heading {
  margin-bottom: 1rem;
}

.lm-step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  margin-top: 1rem;
}

.lm-step-nav button[type="button"] {
  display: none;
}

.lm-questionnaire--enhanced .lm-step-nav button[type="button"] {
  display: inline-flex;
}

.lm-questionnaire--auto-advance .lm-step-nav {
  justify-content: flex-start;
}

.lm-questionnaire--auto-advance [data-lm-next],
.lm-questionnaire--auto-advance [data-lm-topic-next],
.lm-questionnaire--auto-advance [data-lm-teaser-next] {
  display: none !important;
}

.lm-questionnaire--auto-advance .lm-step-nav:not(:has([data-lm-prev], [data-lm-topic-prev], [data-lm-teaser-prev])) {
  display: none;
}

.lm-question--needs-answer {
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(229, 173, 51, 0.32);
}

.lm-domain-section {
  padding: clamp(1rem, 3vw, 1.35rem);
  margin-bottom: 1rem;
}

.lm-background-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(220, 238, 250, 0.72)),
    #fff;
  border-color: rgba(58, 134, 200, 0.24);
}

.lm-background-section::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 6px;
  background: linear-gradient(180deg, #10233f, #3a86c8);
}

.lm-topic-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(36, 163, 137, 0.12), transparent 17rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 251, 0.72)),
    #fff;
  border-color: rgba(58, 134, 200, 0.22);
}

.lm-step-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.75rem;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
}

.lm-form-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  padding: 0.9rem 1rem;
  background: #eef6fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-form-divider span {
  color: #1d4f86;
  font-weight: 850;
}

.lm-form-divider strong {
  color: #10233f;
  font-size: 1.05rem;
}

.lm-domain-section h3 {
  margin-bottom: 1rem;
}

.lm-question {
  margin: 0 0 1.2rem;
  padding: 0 0 1.2rem;
  border: 0;
  border-bottom: 1px solid #edf2f6;
}

.lm-question:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.lm-question legend {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 0.8rem;
  color: #10233f;
  font-weight: 750;
}

.lm-question legend span {
  display: inline-grid;
  min-width: 2rem;
  height: 2rem;
  place-items: center;
  background: #dceefa;
  border-radius: 8px;
  color: #1d4f86;
  font-size: 0.9rem;
}

.lm-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.lm-scale-option {
  position: relative;
  display: grid;
  gap: 0.3rem;
  min-height: 96px;
  align-content: center;
  padding: 0.75rem;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.lm-scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lm-scale-number {
  color: #10233f;
  font-size: 1.25rem;
  font-weight: 900;
}

.lm-scale-label {
  color: #5d6879;
  font-size: 0.86rem;
  line-height: 1.35;
}

.lm-scale-option:has(input:checked) {
  background: #10233f;
  border-color: #10233f;
  box-shadow: 0 12px 24px rgba(16, 35, 63, 0.16);
}

.lm-scale-option:has(input:checked) .lm-scale-number,
.lm-scale-option:has(input:checked) .lm-scale-label {
  color: #fff;
}

.lm-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: #10233f;
  font-weight: 700;
}

.lm-field input,
.lm-field select,
.lm-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d1dce8;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
}

.lm-field small {
  color: #5d6879;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.lm-checkbox {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.65rem 0;
  color: #263348;
  font-weight: 600;
}

.lm-checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
}

.lm-save-box {
  padding: 1rem;
  margin: 1rem 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(36, 163, 137, 0.12), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef6fb);
  border-color: rgba(58, 134, 200, 0.28);
}

.lm-save-box__heading {
  margin-bottom: 0.8rem;
}

.lm-save-box__heading span {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: #1d4f86;
  font-weight: 900;
}

.lm-save-box__heading h3 {
  margin: 0 0 0.35rem;
  color: #10233f;
}

.lm-save-box__heading p {
  margin: 0;
  color: #425169;
}

.lm-save-box__actions {
  margin-top: 0.85rem;
}

.lm-lock-note {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(29, 79, 134, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(16, 35, 63, 0.08);
  color: #10233f;
}

.lm-lock-note strong {
  font-size: 1rem;
}

.lm-lock-note span {
  color: #526178;
  line-height: 1.75;
}

.lm-teaser .lm-section-header,
.lm-teaser-result .lm-simple-result-hero,
.lm-paywall-card {
  position: relative;
  overflow: hidden;
}

.lm-teaser-count,
.lm-paywall-price {
  display: inline-grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  border: 1px solid rgba(33, 150, 183, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(231, 247, 255, 0.9), rgba(255, 250, 236, 0.92));
  color: #10233f;
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.08);
}

.lm-teaser-count span,
.lm-paywall-price span {
  color: #526178;
  font-weight: 800;
}

.lm-teaser-count strong,
.lm-paywall-price strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #10233f;
}

.lm-teaser-midpoint {
  display: grid;
  gap: 0.25rem;
  max-width: 520px;
  padding: 0.9rem 1rem;
  margin: -0.15rem 0 1rem;
  border: 1px solid rgba(22, 132, 102, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 194, 70, 0.18), transparent 8rem),
    linear-gradient(135deg, rgba(236, 251, 246, 0.95), rgba(247, 251, 255, 0.95));
  color: #10233f;
  box-shadow: 0 16px 36px rgba(16, 35, 63, 0.08);
  animation: lm-soft-reveal 0.28s ease-out both;
}

.lm-teaser-midpoint[hidden] {
  display: none;
}

.lm-teaser-midpoint strong {
  color: #168466;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 950;
}

.lm-teaser-midpoint span {
  color: #526178;
  font-weight: 800;
  line-height: 1.65;
}

.lm-teaser-form--auto .lm-teaser-next-fallback {
  display: none !important;
}

.lm-teaser-form--auto .lm-question-step[data-lm-selection-type="multi"] .lm-teaser-next-fallback {
  display: inline-flex !important;
}

.lm-teaser-form--auto .lm-teaser-step-nav {
  justify-content: flex-start;
}

@keyframes lm-soft-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lm-teaser-opening {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  align-items: center;
  margin: 0 0 20px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(33, 150, 183, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.18), transparent 14rem),
    radial-gradient(circle at 88% 0%, rgba(40, 169, 224, 0.16), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef8fb);
  box-shadow: 0 20px 56px rgba(16, 35, 63, 0.1);
}

.lm-teaser-opening__copy {
  display: grid;
  gap: 8px;
}

.lm-teaser-opening h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.18;
}

.lm-teaser-opening p {
  margin: 0;
  color: #536277;
  line-height: 1.8;
}

.lm-teaser-opening__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lm-teaser-opening__steps article {
  display: grid;
  gap: 7px;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(16, 33, 59, 0.06);
}

.lm-teaser-opening__steps span {
  color: #168466;
  font-weight: 950;
}

.lm-teaser-opening__steps strong {
  color: #10213b;
  line-height: 1.45;
}

.lm-teaser-opening__steps p {
  font-size: 0.93rem;
}

.lm-paywall {
  max-width: 980px;
}

.lm-paywall-card {
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid rgba(33, 150, 183, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 10% 18%, rgba(252, 194, 74, 0.17), transparent 14rem),
    radial-gradient(circle at 90% 0%, rgba(27, 126, 189, 0.16), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef8fb);
  box-shadow: 0 28px 80px rgba(16, 35, 63, 0.16);
}

.lm-paywall-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 6px;
  background: linear-gradient(90deg, #168466, #28a9e0, #ffc246);
}

.lm-paywall-card h2 {
  margin: 0 0 0.65rem;
  color: #10233f;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.lm-paywall-card > p {
  max-width: 760px;
  color: #526178;
  font-size: 1.08rem;
  line-height: 1.8;
}

.lm-paywall-list {
  margin: 1.1rem 0 1.35rem;
}

.lm-paywall-note {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(36, 163, 137, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #40516b;
  font-size: 0.98rem;
  font-weight: 800;
}

.lm-teaser-emotional-hook {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  align-items: center;
  border-color: rgba(22, 132, 102, 0.18);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.18), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f4fff8);
}

.lm-teaser-emotional-hook h3 {
  margin: 6px 0 8px;
}

.lm-teaser-emotional-hook__focus {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.lm-teaser-emotional-hook__focus span {
  color: #168466;
  font-weight: 950;
}

.lm-teaser-emotional-hook__focus strong {
  color: #10213b;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.lm-teaser-emotional-hook__focus small {
  color: #64748b;
  font-weight: 800;
  line-height: 1.5;
}

.lm-button--disabled {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

.lm-context-box {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  margin: 1rem 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(36, 163, 137, 0.12), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f3f8fb);
  border: 1px solid rgba(58, 134, 200, 0.22);
  border-radius: 8px;
}

.lm-choice-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.lm-choice-fieldset legend {
  margin-bottom: 0.65rem;
  color: #10233f;
  font-weight: 900;
}

.lm-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.lm-choice-grid--readiness {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-choice-option {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid #d1dce8;
  border-radius: 8px;
  cursor: pointer;
}

.lm-choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lm-choice-option span {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.lm-choice-option strong {
  color: #10233f;
  font-size: 1.02rem;
}

.lm-choice-option small {
  color: #5d6879;
  line-height: 1.5;
}

.lm-choice-option:has(input:checked) {
  background: #10233f;
  border-color: #10233f;
  box-shadow: 0 14px 28px rgba(16, 35, 63, 0.16);
}

.lm-choice-option:has(input:checked) strong,
.lm-choice-option:has(input:checked) small {
  color: #fff;
}

.lm-journal-field {
  margin-bottom: 0;
}

.lm-identity-choice {
  display: grid;
  gap: 0.7rem;
  margin: 0.85rem 0;
}

.lm-identity-choice label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid #d1dce8;
  border-radius: 8px;
}

.lm-identity-choice input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
}

.lm-identity-choice span {
  display: grid;
  gap: 0.2rem;
}

.lm-identity-choice strong {
  color: #10233f;
}

.lm-identity-choice small {
  color: #5d6879;
  font-size: 0.92rem;
  line-height: 1.55;
}

.lm-disclaimer {
  color: #425169;
  font-size: 0.95rem;
}

.lm-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid #10233f;
  border-radius: 8px;
  background: #10233f;
  color: #fff;
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.lm-button:hover,
.lm-button:focus {
  background: #1d4f86;
  border-color: #1d4f86;
  color: #fff;
}

.lm-button--secondary {
  background: #fff;
  border-color: #d1dce8;
  color: #10233f;
}

.lm-button--secondary:hover,
.lm-button--secondary:focus {
  background: #dceefa;
  color: #10233f;
}

.lm-button--ghost {
  background: transparent;
  border-color: transparent;
  color: #1d4f86;
}

.lm-button--ghost:hover,
.lm-button--ghost:focus {
  background: #eef6fb;
  border-color: #d1dce8;
  color: #10233f;
}

.lm-notice {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.lm-notice--error {
  background: #fff1f1;
  color: #8a1f1f;
}

.lm-notice--success {
  background: #e5f4ed;
  color: #1f684e;
}

.lm-notice--info {
  background: #eef6fb;
  color: #1d4f86;
}

.lm-new-cycle-notice {
  display: grid;
  gap: 0.25rem;
  border: 1px solid rgba(58, 134, 200, 0.22);
}

.lm-result-grid,
.lm-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.lm-score-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-result-card,
.lm-score-card,
.lm-panel {
  padding: 1.15rem;
}

.lm-result-card {
  display: grid;
  gap: 0.45rem;
  min-height: 130px;
}

.lm-result-card span,
.lm-score-card__top span {
  color: #5d6879;
  font-weight: 700;
}

.lm-result-card strong {
  color: #10233f;
  font-size: 1.35rem;
}

.lm-result-card--strong {
  background: linear-gradient(180deg, #fff, #e5f4ed);
}

.lm-result-card--attention {
  background: linear-gradient(180deg, #fff, #fff3d7);
}

.lm-result-hero-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.lm-background-meter {
  display: grid;
  align-content: center;
  gap: 0.5rem;
  min-height: 220px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(36, 163, 137, 0.22), transparent 9rem),
    linear-gradient(160deg, #10233f, #1d4f86);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.16);
}

.lm-background-meter span,
.lm-background-meter small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.lm-background-meter strong {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1;
}

.lm-background-meter__bar {
  height: 12px;
  overflow: hidden;
  margin-top: 0.3rem;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.lm-background-meter__bar i {
  display: block;
  width: var(--lm-meter, 0%);
  height: 100%;
  background: linear-gradient(90deg, #e5ad33, #24a389);
  border-radius: inherit;
}

.lm-background-result {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 246, 251, 0.92)),
    #fff;
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-result-hero-panel .lm-background-result {
  margin-bottom: 0;
}

.lm-background-result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #dfe7ef;
}

.lm-background-result__top span {
  color: #1d4f86;
  font-weight: 850;
}

.lm-background-result__top strong {
  color: #10233f;
  font-size: 1.12rem;
}

.lm-background-result p:last-child {
  margin-bottom: 0;
}

.lm-panel {
  margin-bottom: 1rem;
}

.lm-panel--step {
  background: #eef6fb;
}

.lm-score-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.lm-score-card__top strong {
  color: #10233f;
}

.lm-score-bar {
  height: 10px;
  overflow: hidden;
  background: #edf2f6;
  border-radius: 999px;
}

.lm-score-bar span {
  display: block;
  width: var(--score-width);
  height: 100%;
  background: linear-gradient(90deg, #3a86c8, #287357);
  border-radius: inherit;
}

.lm-comparison-list {
  display: grid;
  gap: 0.6rem;
}

.lm-comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #edf2f6;
}

.lm-comparison-row:last-child {
  border-bottom: 0;
}

.lm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.lm-handoff-form {
  display: inline-flex;
  margin: 0;
}

.lm-actions > .lm-handoff-form {
  flex: 1 1 240px;
}

.lm-actions > .lm-handoff-form .lm-button {
  width: 100%;
}

.lm-handoff-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #126f7d;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.lm-topic-recommendations {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.78)),
    #fff;
}

.lm-topic-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.lm-topic-link-card {
  display: grid;
  gap: 0.35rem;
  min-height: 118px;
  padding: 1rem;
  color: #172033;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lm-topic-link-card:hover,
.lm-topic-link-card:focus {
  transform: translateY(-2px);
  border-color: rgba(58, 134, 200, 0.55);
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.11);
  color: #172033;
}

.lm-topic-link-card--active {
  background:
    radial-gradient(circle at 14% 12%, rgba(36, 163, 137, 0.16), transparent 12rem),
    linear-gradient(135deg, #ffffff, #e5f4ed);
  border-color: rgba(36, 163, 137, 0.34);
}

.lm-topic-link-card--locked {
  background: #f7f9fb;
  color: #5d6879;
  cursor: default;
  opacity: 0.78;
}

.lm-topic-link-card--locked:hover,
.lm-topic-link-card--locked:focus {
  transform: none;
  border-color: #dfe7ef;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-topic-link-card span,
.lm-topic-link-card small {
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 800;
}

.lm-topic-link-card strong {
  color: #10233f;
  font-size: 1.08rem;
  line-height: 1.35;
}

.lm-path-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(220, 238, 250, 0.72)),
    #fff;
}

.lm-personal-path {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  counter-reset: lm-path;
}

.lm-personal-path li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  min-height: 72px;
  padding: 0.8rem 3.2rem 0.8rem 0.9rem;
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-personal-path li::before {
  counter-increment: lm-path;
  content: counter(lm-path);
  position: absolute;
  inset-block-start: 0.8rem;
  inset-inline-start: 0.8rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.lm-personal-path span {
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-personal-path strong {
  color: #10233f;
}

.lm-route-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.lm-route-step {
  display: grid;
  gap: 0.28rem;
  min-height: 126px;
  padding: 0.95rem;
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-route-step span {
  color: #1d4f86;
  font-size: 0.86rem;
  font-weight: 900;
}

.lm-route-step strong {
  color: #10233f;
  font-size: 1rem;
  line-height: 1.25;
}

.lm-route-step small {
  color: #5d6879;
  line-height: 1.45;
}

.lm-route-step--active {
  background: linear-gradient(135deg, #ffffff, #e5f4ed);
  border-color: rgba(36, 163, 137, 0.36);
  box-shadow: 0 16px 34px rgba(16, 35, 63, 0.08);
}

.lm-route-step--done {
  background: #eef6fb;
  border-color: rgba(29, 79, 134, 0.22);
}

.lm-route-step--locked {
  background: #f7f9fb;
  opacity: 0.82;
}

.lm-all-topics summary {
  cursor: pointer;
  color: #10233f;
  font-size: 1.05rem;
  font-weight: 850;
}

.lm-all-topics[open] summary {
  margin-bottom: 0.7rem;
}

.lm-save-after-result {
  display: grid;
  gap: 0.15rem;
  flex: 1 1 100%;
  padding: 0.95rem 1rem;
  background: #eef6fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-save-after-result strong {
  color: #10233f;
}

.lm-save-after-result span {
  color: #5d6879;
}

.lm-topic-more {
  padding: 1.15rem;
  margin-top: 1.2rem;
}

.lm-topic-result-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(220, 238, 250, 0.74)),
    #fff;
}

.lm-topic-result-card__score {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 1rem;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.lm-topic-result-card__score span,
.lm-topic-result-card__score small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.lm-topic-result-card__score strong {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1;
}

.lm-topic-result-card > div:not(.lm-topic-result-card__score) > span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: #1d4f86;
  font-weight: 850;
}

.lm-topic-result-card--compact {
  align-items: start;
}

.lm-compact-result-header p {
  max-width: 680px;
}

.lm-result-brief {
  display: grid;
  gap: 0.65rem;
}

.lm-result-bullets {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-result-bullets li {
  position: relative;
  padding-inline-start: 1.45rem;
  color: #3d4858;
  line-height: 1.75;
}

.lm-result-bullets li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.72em;
  inset-inline-start: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: #24a389;
  border-radius: 999px;
}

.lm-result-bullets strong {
  color: #10233f;
  font-weight: 900;
}

.lm-result-bullets--large {
  gap: 0.7rem;
}

.lm-daily-result--compact,
.lm-panel--compact-step {
  display: grid;
  gap: 0.75rem;
}

.lm-daily-flow-card,
.lm-daily-result,
.lm-topic-locked-card {
  padding: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 14% 12%, rgba(58, 134, 200, 0.14), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef6fb);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-daily-flow-card {
  display: grid;
  gap: 0.25rem;
}

.lm-daily-flow-card span,
.lm-daily-flow-card small,
.lm-daily-result article span,
.lm-interim-summary span,
.lm-next-unlock span,
.lm-daily-status span,
.lm-next-topic-mini span {
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 900;
}

.lm-daily-flow-card strong {
  color: #10233f;
  font-size: 1.08rem;
}

.lm-daily-flow-card p {
  max-width: 760px;
  margin: 0;
  color: #425169;
}

.lm-daily-result__header {
  margin-bottom: 1rem;
}

.lm-daily-result__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-daily-result article,
.lm-interim-summary,
.lm-next-unlock,
.lm-daily-status,
.lm-next-topic-mini {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 134, 200, 0.2);
  border-radius: 8px;
}

.lm-daily-result article p,
.lm-interim-summary p,
.lm-next-unlock p {
  margin: 0;
  color: #425169;
}

.lm-interim-summary {
  margin-top: 0.85rem;
  background: linear-gradient(135deg, #fff, #e5f4ed);
  border-color: rgba(36, 163, 137, 0.28);
}

.lm-next-unlock {
  margin-top: 0.85rem;
}

.lm-topic-locked-card {
  max-width: 760px;
  margin-inline: auto;
}

.lm-topic-locked-card h2 {
  margin-bottom: 0.65rem;
  color: #10233f;
}

.lm-topic-locked-card > p {
  color: #425169;
}

.lm-background-locked {
  max-width: 1040px;
}

.lm-background-locked-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.4rem);
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 12% 14%, rgba(36, 163, 137, 0.18), transparent 15rem),
    radial-gradient(circle at 92% 8%, rgba(229, 173, 51, 0.18), transparent 13rem),
    linear-gradient(135deg, #fff, #eef6fb);
  border-color: rgba(58, 134, 200, 0.22);
}

.lm-background-locked-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 7px;
  background: linear-gradient(180deg, #24a389, #3a86c8, #e5ad33);
}

.lm-background-locked-card__icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: #10233f;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 18px 32px rgba(16, 35, 63, 0.18);
}

.lm-background-locked-card__copy {
  display: grid;
  gap: 0.85rem;
}

.lm-background-locked-card h1 {
  margin: 0;
  color: #10233f;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.lm-background-locked-card p {
  max-width: 760px;
  margin: 0;
  color: #425169;
}

.lm-background-locked-list {
  margin: 0;
}

.lm-background-locked-next {
  max-width: 560px;
  background: rgba(255, 255, 255, 0.9);
}

.lm-daily-status,
.lm-next-topic-mini {
  margin-top: 0.85rem;
}

.lm-daily-status strong,
.lm-next-topic-mini strong {
  color: #10233f;
}

.lm-next-topic-mini small {
  color: #5d6879;
  font-weight: 750;
}

.lm-result--immersive {
  max-width: 1120px;
}

.lm-result-hero-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  gap: clamp(1rem, 3vw, 1.4rem);
  align-items: stretch;
  padding: clamp(1.15rem, 4vw, 2rem);
  margin-bottom: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(36, 163, 137, 0.18), transparent 16rem),
    radial-gradient(circle at 90% 10%, rgba(229, 173, 51, 0.18), transparent 13rem),
    linear-gradient(135deg, #ffffff, #eef6fb);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(16, 35, 63, 0.1);
}

.lm-result-hero-report__copy {
  display: grid;
  align-content: center;
}

.lm-result-hero-report h2 {
  max-width: 760px;
  margin: 0 0 0.8rem;
  color: #10233f;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
}

.lm-result-hero-report p {
  max-width: 720px;
  color: #425169;
  font-size: 1.06rem;
  line-height: 1.8;
}

.lm-result-quick-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lm-result-quick-summary span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 999px;
  color: #10233f;
  font-size: 0.92rem;
  font-weight: 850;
}

.lm-result-meter-card {
  display: grid;
  gap: 1rem;
  place-items: center;
  min-height: 300px;
  padding: 1.2rem;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.2);
}

.lm-result-meter-ring {
  display: grid;
  width: min(190px, 44vw);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #10233f 57%, transparent 58%),
    conic-gradient(#24a389 var(--lm-meter, 0%), rgba(255, 255, 255, 0.18) 0);
}

.lm-result-meter-ring span {
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.lm-result-meter-card > div:last-child {
  display: grid;
  gap: 0.25rem;
}

.lm-result-meter-card span,
.lm-result-meter-card small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.lm-result-meter-card strong {
  color: #fff;
  font-size: 1.2rem;
}

.lm-result-story-card,
.lm-result-action-card,
.lm-result-save-card,
.lm-result-reflection-card,
.lm-result-not-diagnosis,
.lm-result-area-card {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-result-story-card {
  padding: clamp(1.1rem, 3vw, 1.45rem);
  margin-bottom: 1rem;
  border-color: rgba(58, 134, 200, 0.28);
}

.lm-result-story-card__label,
.lm-result-reflection-card > span,
.lm-result-not-diagnosis > span,
.lm-result-action-card span,
.lm-result-save-card span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: #1d4f86;
  font-size: 0.92rem;
  font-weight: 900;
}

.lm-result-story-card p {
  color: #263348;
  font-size: 1.03rem;
  line-height: 1.8;
}

.lm-result-story-card p:last-child {
  margin-bottom: 0;
}

.lm-result-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0;
}

.lm-result-insight-card,
.lm-result-route-card,
.lm-report-layer,
.lm-result-journal-card {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-result-insight-card {
  min-height: 230px;
  padding: clamp(1rem, 3vw, 1.25rem);
}

.lm-result-insight-card--profile {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 215, 0.72)),
    #fff;
  border-color: rgba(229, 173, 51, 0.36);
}

.lm-result-insight-card span,
.lm-result-route-card span,
.lm-report-layer span,
.lm-result-journal-card span {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 900;
}

.lm-result-insight-card h3,
.lm-result-route-card h3,
.lm-report-layer h4,
.lm-result-journal-card h3 {
  margin: 0 0 0.6rem;
  color: #10233f;
}

.lm-result-insight-card p,
.lm-result-route-card p,
.lm-report-layer p,
.lm-result-journal-card p {
  color: #425169;
  line-height: 1.75;
}

.lm-result-route-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.25rem);
  margin: 1rem 0 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.76)),
    #fff;
  border-color: rgba(36, 163, 137, 0.24);
}

.lm-result-route-card__items {
  display: grid;
  gap: 0.45rem;
}

.lm-result-route-card__items p {
  margin: 0;
}

.lm-result-section {
  margin: 1.2rem 0;
}

.lm-result-section__heading {
  margin-bottom: 0.8rem;
}

.lm-result-section__heading h3 {
  margin: 0;
  color: #10233f;
}

.lm-result-top-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.lm-result-area-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 220px;
  padding: 1rem;
}

.lm-result-area-card > span {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.lm-result-area-card h4 {
  margin: 0;
  color: #10233f;
  font-size: 1.25rem;
}

.lm-result-area-card p {
  color: #425169;
  line-height: 1.65;
}

.lm-result-area-card__bar {
  height: 10px;
  overflow: hidden;
  margin-top: auto;
  background: #edf2f6;
  border-radius: 999px;
}

.lm-result-area-card__bar i {
  display: block;
  width: var(--area-score, 0%);
  height: 100%;
  background: linear-gradient(90deg, #e5ad33, #24a389);
  border-radius: inherit;
}

.lm-result-area-card small {
  color: #5d6879;
  font-weight: 800;
}

.lm-result-reflection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 1rem;
  margin: 1.2rem 0;
}

.lm-result-reflection-card,
.lm-result-not-diagnosis {
  padding: clamp(1.05rem, 3vw, 1.35rem);
}

.lm-result-reflection-card h3,
.lm-result-not-diagnosis h3,
.lm-result-action-card h3,
.lm-result-save-card h3 {
  margin: 0 0 0.65rem;
  color: #10233f;
}

.lm-result-reflection-card p {
  color: #263348;
  font-size: 1.03rem;
  line-height: 1.82;
}

.lm-result-not-diagnosis {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.72)),
    #fff;
}

.lm-result-not-diagnosis ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lm-result-not-diagnosis li {
  position: relative;
  padding-inline-start: 1.45rem;
  color: #263348;
  font-weight: 700;
  line-height: 1.55;
}

.lm-result-not-diagnosis li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.55rem;
  inset-inline-start: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: #24a389;
  border-radius: 50%;
}

.lm-report-layers {
  margin: 1.2rem 0;
}

.lm-report-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.lm-report-layer {
  min-height: 250px;
  padding: 1rem;
  background:
    linear-gradient(180deg, #fff, #f7f9fb),
    #fff;
}

.lm-report-layer h4 {
  font-size: 1.05rem;
}

.lm-score-grid--result {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-score-card--primary {
  border-color: rgba(229, 173, 51, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 215, 0.86)),
    #fff;
}

.lm-result-action-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  margin: 1.2rem 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(58, 134, 200, 0.14), transparent 13rem),
    linear-gradient(135deg, #10233f, #1d4f86);
  color: #fff;
}

.lm-result-action-card span,
.lm-result-action-card h3,
.lm-result-action-card p {
  color: #fff;
}

.lm-result-action-card span {
  color: rgba(255, 255, 255, 0.72);
}

.lm-result-action-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.lm-result-journal-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.25rem);
  margin: 1rem 0;
}

.lm-journal-quote {
  padding: 1rem;
  margin: 0;
  background: #f7f9fb;
  border-inline-start: 4px solid #24a389;
  border-radius: 8px;
  color: #263348;
  font-weight: 750;
}

.lm-path-panel--result {
  padding: clamp(1.05rem, 3vw, 1.4rem);
}

.lm-topic-link-grid--result {
  margin-bottom: 1rem;
}

.lm-result-save-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  margin-top: 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(220, 238, 250, 0.82)),
    #fff;
}

.lm-result-save-card p {
  margin: 0;
  color: #425169;
  line-height: 1.7;
}

.lm-result-save-card .lm-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.lm-topic-worlds {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.lm-topic-world {
  padding: 1rem;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-topic-world h4,
.lm-journey-summary h3,
.lm-journey-history h3 {
  margin: 0 0 0.8rem;
  color: #10233f;
}

.lm-topic-world-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background: #eef6fb;
  border: 1px solid #dfe7ef;
  border-radius: 999px;
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 900;
}

.lm-journey-list {
  display: grid;
  gap: 0.65rem;
}

.lm-journey-list article {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.lm-journey-list span {
  color: #5d6879;
  font-size: 0.88rem;
  font-weight: 700;
}

.lm-journey-list strong {
  color: #10233f;
}

.lm-account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1.15rem, 4vw, 2rem);
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(36, 163, 137, 0.18), transparent 15rem),
    radial-gradient(circle at 92% 18%, rgba(58, 134, 200, 0.16), transparent 16rem),
    linear-gradient(135deg, #ffffff, #eef6fb);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(16, 35, 63, 0.1);
}

.lm-account-hero h2 {
  max-width: 760px;
  margin-bottom: 0.65rem;
  color: #10233f;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.14;
}

.lm-account-hero p {
  max-width: 720px;
  color: #425169;
}

.lm-account-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lm-account-hero__meta span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 999px;
  color: #10233f;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-account-meter {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  min-height: 210px;
  padding: 1rem;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.lm-account-meter strong {
  color: #fff;
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1;
}

.lm-account-meter span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.lm-account-meter i {
  display: block;
  height: 10px;
  overflow: hidden;
  margin-top: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.lm-account-meter i::before {
  content: "";
  display: block;
  width: var(--lm-meter, 0%);
  height: 100%;
  background: linear-gradient(90deg, #24a389, #3a86c8, #e5ad33);
  border-radius: inherit;
}

.lm-account-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.lm-account-next-card {
  display: grid;
  gap: 0.35rem;
  min-height: 142px;
  padding: 1rem;
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  color: #172033;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-account-next-card--primary {
  background: linear-gradient(135deg, #10233f, #1d4f86);
  color: #fff;
}

.lm-account-next-card span,
.lm-account-next-card small {
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-account-next-card--primary span,
.lm-account-next-card--primary small,
.lm-account-next-card--primary strong {
  color: #fff;
}

.lm-account-next-card strong {
  color: #10233f;
  font-size: 1.1rem;
  line-height: 1.35;
}

.lm-account-recommendations {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.74)),
    #fff;
}

.lm-topic-history-list,
.lm-result-history-list {
  display: grid;
  gap: 0.65rem;
}

.lm-topic-history-list a,
.lm-result-history-list article {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  color: #172033;
  text-decoration: none;
}

.lm-topic-history-list span,
.lm-result-history-list span,
.lm-topic-history-list small,
.lm-result-history-list small {
  color: #5d6879;
  font-size: 0.88rem;
  font-weight: 750;
}

.lm-topic-history-list strong,
.lm-result-history-list strong {
  color: #10233f;
}

.lm-clear-results {
  display: grid;
  gap: clamp(1.35rem, 2.5vw, 2.1rem);
  max-width: 1120px;
}

.lm-clear-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: stretch;
  padding: clamp(1.15rem, 4vw, 2rem);
  margin-bottom: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(36, 163, 137, 0.18), transparent 15rem),
    radial-gradient(circle at 92% 14%, rgba(229, 173, 51, 0.2), transparent 14rem),
    linear-gradient(135deg, #fff, #eef6fb);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(16, 35, 63, 0.1);
}

.lm-clear-hero h2 {
  max-width: 760px;
  margin: 0 0 0.65rem;
  color: #10233f;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.14;
}

.lm-clear-hero p {
  max-width: 720px;
  color: #425169;
}

.lm-clear-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lm-clear-meta span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: 999px;
  color: #10233f;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-clear-meter {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  min-height: 210px;
  padding: 1rem;
  background: #10233f;
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.lm-clear-meter strong {
  color: #fff;
  font-size: clamp(1.35rem, 3.2vw, 2.45rem);
  line-height: 1.15;
}

.lm-clear-meter span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.lm-clear-meter i {
  display: block;
  height: 10px;
  overflow: hidden;
  margin-top: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.lm-clear-meter i::before {
  content: "";
  display: block;
  width: var(--lm-meter, 0%);
  height: 100%;
  background: linear-gradient(90deg, #24a389, #3a86c8, #e5ad33);
  border-radius: inherit;
}

.lm-today-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
  margin-bottom: 0;
}

.lm-today-card,
.lm-change-summary-card,
.lm-change-card,
.lm-next-action-box {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-today-card {
  display: grid;
  gap: 0.7rem;
  min-height: 164px;
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.lm-today-card--focus {
  background: linear-gradient(135deg, #10233f, #1d4f86);
  color: #fff;
}

.lm-today-card span,
.lm-change-summary-card span,
.lm-next-action-box span {
  color: #1d4f86;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-today-card--focus span,
.lm-today-card--focus h3,
.lm-today-card--focus p {
  color: #fff;
}

.lm-today-card h3 {
  margin: 0;
  color: #10233f;
  font-size: 1.15rem;
  line-height: 1.3;
}

.lm-today-card p {
  margin: 0;
  color: #425169;
  line-height: 1.6;
}

.lm-change-panel {
  margin-bottom: 0;
}

.lm-change-summary-grid,
.lm-change-card-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.lm-change-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.lm-change-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-change-summary-card {
  display: grid;
  gap: 0.6rem;
  min-height: 116px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-inline-start: 5px solid #3a86c8;
}

.lm-change-summary-card strong {
  color: #10233f;
  font-size: 1.15rem;
}

.lm-change-summary-card small {
  color: #5d6879;
  font-weight: 750;
  line-height: 1.5;
}

.lm-change-summary-card.is-higher,
.lm-change-card.is-higher,
.lm-topic-compare-card.is-higher {
  border-inline-start-color: #e5ad33;
}

.lm-change-summary-card.is-lower,
.lm-change-card.is-lower,
.lm-topic-compare-card.is-lower {
  border-inline-start-color: #24a389;
}

.lm-change-summary-card.is-stable,
.lm-change-card.is-stable,
.lm-topic-compare-card.is-stable {
  border-inline-start-color: #3a86c8;
}

.lm-change-card {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-inline-start: 5px solid #3a86c8;
}

.lm-change-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.lm-change-card h4 {
  margin: 0;
  color: #10233f;
  font-size: 1rem;
  line-height: 1.35;
}

.lm-change-card__top span {
  flex: 0 0 auto;
  padding: 0.2rem 0.55rem;
  background: #eef6fb;
  border-radius: 999px;
  color: #1d4f86;
  font-size: 0.82rem;
  font-weight: 850;
}

.lm-change-bars {
  display: grid;
  gap: 0.35rem;
}

.lm-change-bars div {
  height: 9px;
  overflow: hidden;
  background: #dfe7ef;
  border-radius: 999px;
}

.lm-change-bars span {
  display: block;
  width: var(--score-width, 0%);
  height: 100%;
  background: linear-gradient(90deg, #24a389, #3a86c8);
  border-radius: inherit;
}

.lm-change-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: #5d6879;
  font-size: 0.9rem;
  font-weight: 750;
}

.lm-change-values strong {
  color: #10233f;
}

.lm-next-step-panel,
.lm-topic-compare-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: center;
  margin-bottom: 0;
}

.lm-next-step-panel h3,
.lm-topic-compare-card h3 {
  margin-bottom: 0.45rem;
  color: #10233f;
}

.lm-next-step-panel p,
.lm-topic-compare-card p {
  margin: 0;
  color: #425169;
}

.lm-next-action-box {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.74)),
    #fff;
}

.lm-next-action-box strong {
  color: #10233f;
  font-size: 1.08rem;
  line-height: 1.35;
}

.lm-current-scores-panel {
  margin-bottom: 0;
}

.lm-history-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
  margin-bottom: 0;
}

.lm-clear-actions {
  margin-top: 0;
}

.lm-topic-compare-card {
  grid-template-columns: minmax(0, 1fr) auto;
  border-inline-start: 5px solid #3a86c8;
}

.lm-topic-compare-card > strong {
  color: #10233f;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.lm-empty-dashboard {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 2rem);
  text-align: center;
}

.lm-login-screen {
  max-width: 1080px;
}

.lm-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
}

.lm-login-intro,
.lm-login-card {
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 35, 63, 0.07);
}

.lm-login-intro {
  display: grid;
  align-content: center;
  padding: clamp(1.35rem, 4vw, 2.2rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(220, 238, 250, 0.76)),
    #fff;
}

.lm-login-intro h2 {
  max-width: 560px;
  margin-bottom: 0.8rem;
}

.lm-login-intro p {
  max-width: 620px;
}

.lm-login-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.1rem 0 1.3rem;
}

.lm-login-points span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(58, 134, 200, 0.22);
  border-radius: 8px;
  color: #10233f;
  font-size: 0.92rem;
  font-weight: 850;
  text-align: center;
}

.lm-login-card {
  padding: clamp(1rem, 3vw, 1.35rem);
}

.lm-login-card .lm-form {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lm-hidden-field {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.lm-login-submit {
  width: 100%;
}

.lm-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  margin-top: 1rem;
  color: #5d6879;
  font-size: 0.94rem;
  font-weight: 700;
}

.lm-login-links a {
  color: #1d4f86;
}

.lm-login-links .lm-register-link {
  padding: 0.2rem 0.45rem;
  background: #eef6fb;
  border-radius: 8px;
  color: #10233f;
  text-decoration: none;
}

.lm-register-screen .lm-login-intro {
  background:
    radial-gradient(circle at 16% 18%, rgba(58, 134, 200, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 237, 0.72)),
    #fff;
}

.lm-recent-members {
  max-width: 1100px;
}

.lm-recent-members__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.35rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 199, 79, 0.18), transparent 14rem),
    radial-gradient(circle at 88% 18%, rgba(33, 166, 196, 0.16), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef8fb);
  border: 1px solid rgba(33, 166, 196, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 35, 63, 0.08);
}

.lm-recent-members__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.lm-recent-members__head h2 {
  margin: 0 0 0.35rem;
}

.lm-recent-members__head p {
  max-width: 720px;
  margin: 0;
  color: #425169;
}

.lm-recent-members__table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.lm-recent-members__table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
}

.lm-recent-members__table th,
.lm-recent-members__table td {
  padding: 0.85rem 1rem;
  text-align: right;
  border-bottom: 1px solid #e7edf4;
}

.lm-recent-members__table th {
  color: #132a4a;
  font-size: 0.9rem;
  font-weight: 900;
  background: rgba(238, 246, 251, 0.82);
}

.lm-recent-members__table tr:last-child td {
  border-bottom: 0;
}

.lm-recent-members__table td {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: #132a4a;
}

.lm-recent-members__avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #21a6c4, #15836f 62%, #ffc74f);
  box-shadow: 0 8px 18px rgba(21, 131, 111, 0.18);
}

.lm-recent-members__empty {
  margin-bottom: 0;
}

.lm-recent-members--compact {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.lm-recent-members--compact .lm-recent-members__panel {
  padding: 0.7rem;
  border-color: rgba(23, 106, 166, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(16, 35, 63, 0.07);
}

.lm-recent-members--compact .lm-recent-members__head {
  grid-template-columns: 1fr;
  margin-bottom: 0.55rem;
}

.lm-recent-members--compact .lm-recent-members__head h2 {
  margin: 0;
  color: #132a4a;
  font-size: 0.95rem;
}

.lm-recent-members--compact .lm-recent-members__table th {
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
}

.lm-recent-members--compact .lm-recent-members__table td {
  padding: 0.48rem 0.65rem;
  font-size: 0.88rem;
}

.lm-recent-members--compact .lm-recent-members__avatar {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
}

@media (max-width: 860px) {
  .lm-scale,
  .lm-result-grid,
  .lm-score-grid,
  .lm-topic-link-grid,
  .lm-topic-result-card,
  .lm-login-layout,
  .lm-recent-members__head,
  .lm-login-points,
  .lm-choice-grid,
  .lm-choice-grid--readiness,
  .lm-result-hero-panel,
  .lm-result-hero-report,
  .lm-result-top-areas,
  .lm-result-reflection-grid,
  .lm-result-insights-grid,
  .lm-result-route-card,
  .lm-report-layer-grid,
  .lm-result-action-card,
  .lm-result-journal-card,
  .lm-result-save-card,
  .lm-route-map,
  .lm-form-intro-card,
  .lm-form-meta,
  .lm-account-hero,
  .lm-account-next-grid,
  .lm-daily-result__grid,
  .lm-topic-history-list a,
  .lm-result-history-list article,
  .lm-background-locked-card,
  .lm-clear-hero,
  .lm-today-grid,
  .lm-change-summary-grid,
  .lm-change-card-grid,
  .lm-next-step-panel,
  .lm-history-columns,
  .lm-topic-compare-card {
    grid-template-columns: 1fr;
  }

  .lm-recent-members__head .lm-button {
    width: 100%;
  }

  .lm-scale-option {
    min-height: auto;
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: right;
  }

  .lm-choice-option,
  .lm-result-insight-card,
  .lm-report-layer {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .lm-wrap,
  .lm-login-screen,
  .lm-register-screen,
  .lm-login-layout,
  .lm-login-intro,
  .lm-login-card {
    width: min(100%, calc(100vw - 24px));
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    box-sizing: border-box;
  }

  .lm-login-layout {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .lm-login-intro,
  .lm-login-card {
    direction: rtl;
    padding-inline: 1rem;
  }

  .lm-login-intro h2,
  .lm-login-intro p {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .lm-register-screen .lm-login-layout,
  .lm-register-screen .lm-login-intro,
  .lm-register-screen .lm-login-card,
  .lm-register-screen .lm-register-onboarding {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .lm-login-intro h2 {
    font-size: clamp(1.55rem, 7.1vw, 2rem);
    line-height: 1.22;
  }

  .lm-button {
    width: 100%;
  }

  .lm-comparison-row,
  .lm-score-card__top,
  .lm-background-result__top,
  .lm-form-divider {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Administrator-only AI wording experiment. The existing result stays intact. */
.lm-ai-opening {
  width: min(100%, 980px);
  margin: 1.75rem auto;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid rgba(31, 139, 124, 0.24);
  border-inline-start: 4px solid #1f8b7c;
  border-radius: 8px;
  background: #f8fcfb;
  box-shadow: 0 14px 34px rgba(24, 54, 67, 0.08);
  color: #172b45;
  box-sizing: border-box;
}

.lm-ai-opening[hidden],
.lm-ai-opening [hidden] {
  display: none !important;
}

.lm-ai-opening__eyebrow,
.lm-ai-opening__connection > span,
.lm-ai-opening__lower-grid article > span,
.lm-ai-opening__next > span {
  display: block;
  margin-bottom: 0.45rem;
  color: #17796c;
  font-size: 0.82rem;
  font-weight: 850;
}

.lm-ai-opening h3 {
  margin: 0 0 0.65rem;
  color: #122540;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.lm-ai-opening p {
  margin: 0;
  color: #42576f;
  line-height: 1.72;
}

.lm-ai-opening__check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(31, 139, 124, 0.2);
  border-radius: 6px;
  background: #fff;
  color: #30465f;
  font-weight: 720;
  line-height: 1.55;
  cursor: pointer;
}

.lm-ai-opening__check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
  accent-color: #1f8b7c;
}

.lm-ai-opening__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.lm-ai-opening__actions .lm-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.lm-ai-opening__skip {
  padding: 0.55rem 0.35rem;
  border: 0;
  background: transparent;
  color: #52657a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.lm-ai-opening__skip:hover,
.lm-ai-opening__skip:focus-visible {
  color: #176f64;
  text-decoration: underline;
}

.lm-ai-opening__loading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 5rem;
}

.lm-ai-opening__loading i {
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  border: 3px solid rgba(31, 139, 124, 0.2);
  border-top-color: #1f8b7c;
  border-radius: 50%;
  animation: lm-ai-spin 0.8s linear infinite;
}

.lm-ai-opening__loading strong,
.lm-ai-opening__loading span {
  display: block;
}

.lm-ai-opening__loading span {
  margin-top: 0.2rem;
  color: #607087;
  font-size: 0.9rem;
}

@keyframes lm-ai-spin {
  to { transform: rotate(360deg); }
}

.lm-ai-opening__summary {
  max-width: 760px;
  font-size: 1.04rem;
  font-weight: 680;
}

.lm-ai-opening__connections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.15rem;
}

.lm-ai-opening__connection {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #dce8e5;
  border-radius: 7px;
  background: #fff;
}

.lm-ai-opening__connection--high {
  border-top: 3px solid #1f8b7c;
}

.lm-ai-opening__connection--medium {
  border-top: 3px solid #d29b36;
}

.lm-ai-opening__connection--low {
  border-top: 3px solid #91a2b5;
}

.lm-ai-opening__lower-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.lm-ai-opening__lower-grid article,
.lm-ai-opening__next {
  padding: 0.9rem;
  border-radius: 7px;
}

.lm-ai-opening__strength {
  border: 1px solid #cfe4d5;
  background: #f3faf5;
}

.lm-ai-opening__reflection {
  border: 1px solid #e6d8bb;
  background: #fff9ec;
}

.lm-ai-opening__next {
  margin-top: 0.8rem;
  border: 1px solid #d8e2ee;
  background: #f5f8fc;
}

.lm-ai-opening__next .lm-button {
  width: fit-content;
  margin-top: 0.85rem;
}

.lm-ai-opening__disclaimer {
  margin-top: 0.9rem !important;
  color: #68788b !important;
  font-size: 0.82rem;
}

html[data-theme="dark"] .lm-ai-opening {
  border-color: rgba(111, 202, 188, 0.3);
  border-inline-start-color: #6fcabc;
  background: #132c2a;
  color: #e7f2f0;
}

html[data-theme="dark"] .lm-ai-opening h3,
html[data-theme="dark"] .lm-ai-opening p,
html[data-theme="dark"] .lm-ai-opening__check {
  color: #e7f2f0;
}

html[data-theme="dark"] .lm-ai-opening__check,
html[data-theme="dark"] .lm-ai-opening__connection,
html[data-theme="dark"] .lm-ai-opening__lower-grid article,
html[data-theme="dark"] .lm-ai-opening__next {
  border-color: rgba(161, 199, 192, 0.24);
  background: #183936;
}

@media (max-width: 760px) {
  .lm-ai-opening {
    margin: 1rem auto;
    padding: 0.9rem;
  }

  .lm-ai-opening__connections,
  .lm-ai-opening__lower-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-ai-opening__actions,
  .lm-ai-opening__actions .lm-button,
  .lm-ai-opening__next .lm-button {
    width: 100%;
  }

  .lm-ai-opening__skip {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-ai-opening__loading i {
    animation-duration: 1.8s;
  }
}

/* v1.3.0: central personal journey workspace. */
.lm-journey-workspace {
  --lm-workspace-ink: #183b3a;
  --lm-workspace-muted: #5e706f;
  --lm-workspace-line: #dce8e5;
  --lm-workspace-mint: #e9f7f1;
  --lm-workspace-coral: #fff0e9;
  --lm-workspace-sun: #fff8d9;
  width: min(1160px, calc(100% - 2rem));
  max-width: 1160px;
  margin: 2rem auto 4rem;
  color: var(--lm-workspace-ink);
}

.lm-journey-workspace *,
.lm-journey-workspace *::before,
.lm-journey-workspace *::after {
  box-sizing: border-box;
}

.lm-journey-workspace__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem;
  border: 1px solid var(--lm-workspace-line);
  border-radius: 8px;
  background: linear-gradient(115deg, #ffffff 0%, #f1faf6 58%, #fff9e5 100%);
}

.lm-journey-workspace__header h1,
.lm-workspace-section-head h2 {
  margin: 0.25rem 0 0.55rem;
  color: var(--lm-workspace-ink);
  letter-spacing: 0;
}

.lm-journey-workspace__header h1 {
  font-size: 2rem;
}

.lm-journey-workspace__header p,
.lm-workspace-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--lm-workspace-muted);
  line-height: 1.75;
}

.lm-journey-workspace__home {
  flex: 0 0 auto;
  color: var(--lm-workspace-ink);
  font-weight: 700;
  text-decoration: none;
}

.lm-journey-workspace__tabs {
  position: sticky;
  z-index: 12;
  top: 0;
  display: flex;
  gap: 0.35rem;
  width: 100%;
  margin: 1rem 0;
  padding: 0.4rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  border: 1px solid var(--lm-workspace-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(24, 59, 58, 0.07);
  backdrop-filter: blur(12px);
}

.lm-journey-workspace__tabs button {
  flex: 1 0 auto;
  min-width: 112px;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #617370;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lm-journey-workspace__tabs button:hover,
.lm-journey-workspace__tabs button:focus-visible {
  background: #f2f7f5;
  color: var(--lm-workspace-ink);
  outline: 2px solid #87bdb1;
  outline-offset: -2px;
}

.lm-journey-workspace__tabs button.is-active {
  background: var(--lm-workspace-ink);
  color: #fff;
}

.lm-journey-workspace__panel {
  min-width: 0;
  animation: lm-workspace-enter 180ms ease-out;
}

.lm-journey-workspace__panel[hidden] {
  display: none !important;
}

@keyframes lm-workspace-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lm-journey-workspace__panel { animation: none; }
}

.lm-workspace-section-head {
  padding: 1.5rem 0 1.2rem;
}

.lm-workspace-section-head h2 {
  font-size: 1.75rem;
}

.lm-workspace-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: #337c6d;
  font-size: 0.78rem;
  font-weight: 800;
}

.lm-journey-today {
  display: grid;
  gap: 1rem;
}

.lm-today-new,
.lm-today-next,
.lm-today-preview,
.lm-today-recent,
.lm-today-revisit,
.lm-map-open-question,
.lm-user-insight-form,
.lm-story-add,
.lm-questionnaire-group,
.lm-workspace-empty,
.lm-personal-activity {
  border: 1px solid var(--lm-workspace-line);
  border-radius: 8px;
  background: #fff;
}

.lm-today-new,
.lm-today-preview,
.lm-today-recent,
.lm-today-revisit,
.lm-workspace-empty {
  padding: 1.35rem;
}

.lm-today-new {
  border-inline-start: 5px solid #f0b65e;
  background: linear-gradient(110deg, #fff 0%, var(--lm-workspace-sun) 100%);
}

.lm-today-new h3,
.lm-today-next h3,
.lm-today-preview h3,
.lm-today-recent h3,
.lm-today-revisit h3,
.lm-discovery-card h3,
.lm-story-timeline h3,
.lm-questionnaire-group h3 {
  margin: 0 0 0.45rem;
  color: var(--lm-workspace-ink);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.lm-today-new p,
.lm-today-next p,
.lm-today-revisit p,
.lm-discovery-card p,
.lm-story-timeline p,
.lm-workspace-empty p {
  color: var(--lm-workspace-muted);
  line-height: 1.7;
}

.lm-today-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-color: #285a54;
  background: var(--lm-workspace-ink);
  color: #fff;
  box-shadow: 0 14px 34px rgba(24, 59, 58, 0.16);
}

.lm-today-next h3,
.lm-today-next p,
.lm-today-next .lm-workspace-eyebrow {
  color: #fff;
}

.lm-today-next small {
  color: #c8dfd9;
}

.lm-today-next .lm-button {
  min-width: 190px;
  background: #f2c46e;
  color: #273f3c;
}

.lm-workspace-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lm-text-button,
.lm-discovery-save button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #247263;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.lm-text-button:focus-visible,
.lm-discovery-save button:focus-visible {
  outline: 2px solid #61a797;
  outline-offset: 3px;
}

.lm-map-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-map-preview-card {
  display: grid;
  min-width: 0;
  min-height: 126px;
  padding: 1rem;
  border: 1px solid #d8e7e2;
  border-radius: 7px;
  background: #f8fcfa;
  color: var(--lm-workspace-ink);
  text-align: start;
  cursor: pointer;
}

.lm-map-preview-card:nth-child(2n) { background: #fff8ef; border-color: #f0dfca; }
.lm-map-preview-card:nth-child(3n) { background: #f6f3fb; border-color: #e2dceb; }
.lm-map-preview-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24, 59, 58, 0.08); }
.lm-map-preview-card > span { font-size: 1.35rem; }
.lm-map-preview-card strong { align-self: end; margin-top: 0.7rem; }
.lm-map-preview-card small { margin-top: 0.2rem; color: var(--lm-workspace-muted); }

.lm-recent-discoveries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-recent-discoveries article {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.9rem;
  border-inline-start: 3px solid #e47e62;
  background: var(--lm-workspace-coral);
}

.lm-recent-discoveries span,
.lm-discovery-card > header span,
.lm-questionnaire-group > header span {
  color: #8f513e;
  font-size: 0.76rem;
  font-weight: 800;
}

.lm-today-revisit blockquote {
  margin: 1rem 0;
  padding: 1rem;
  border: 0;
  border-inline-start: 4px solid #79ae9f;
  background: #f2f8f6;
  color: #294e49;
}

.lm-revisit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lm-revisit-options button,
.lm-discovery-filters button,
.lm-questionnaire-group__actions button,
.lm-questionnaire-group__actions a {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #bdd6d0;
  border-radius: 6px;
  background: #fff;
  color: #285d54;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.lm-revisit-options button:hover,
.lm-discovery-filters button.is-active,
.lm-questionnaire-group__actions button:hover,
.lm-questionnaire-group__actions a:hover {
  background: #e7f5f0;
}

#journey-map .lm-personal-map {
  margin: 0;
}

.lm-map-open-question,
.lm-user-insight-form {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.35rem;
  background: #f9fcfb;
}

.lm-map-open-question form,
.lm-user-insight-form form,
.lm-story-add form {
  display: grid;
  gap: 0.65rem;
}

.lm-map-open-question label,
.lm-user-insight-form label,
.lm-story-add label {
  color: #315a55;
  font-weight: 700;
}

.lm-map-open-question textarea,
.lm-user-insight-form textarea,
.lm-user-insight-form select,
.lm-story-add textarea,
.lm-story-add select,
.lm-story-add input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #c8d9d5;
  border-radius: 6px;
  background: #fff;
  color: var(--lm-workspace-ink);
  font: inherit;
}

.lm-map-open-question__saved {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.8rem;
  background: #eef7f4;
  color: #315a55;
}

.lm-discoveries-page,
.lm-story-page,
.lm-history-page {
  display: grid;
  gap: 1rem;
}

.lm-discovery-filters {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
}

.lm-discovery-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-discovery-card {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--lm-workspace-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 74, 70, 0.05);
}

.lm-discovery-card[hidden] { display: none; }
.lm-discovery-card > header { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.lm-discovery-card time { color: #7c8d8a; font-size: 0.76rem; }
.lm-discovery-card > small { display: block; margin: 0.8rem 0; color: #657875; }
.lm-discovery-card details { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid #e5eeec; }
.lm-discovery-card details summary { color: #2b6b5f; font-weight: 700; cursor: pointer; }
.lm-discovery-card details li { margin-block: 0.4rem; color: #536b67; }
.lm-discovery-save { margin-top: 0.9rem; }
.lm-discovery-save button:disabled { color: #788986; cursor: default; text-decoration: none; }

.lm-story-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0 1.3rem 0 0;
  list-style: none;
}

.lm-story-timeline::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  right: 0.3rem;
  width: 2px;
  background: #c8ddd7;
  content: "";
}

.lm-story-timeline li { position: relative; }
.lm-story-timeline__dot { position: absolute; top: 1.15rem; right: -1.35rem; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 50%; background: #397d6e; box-shadow: 0 0 0 2px #8fc2b6; }
.lm-story-timeline article { padding: 1rem 1.15rem; border: 1px solid var(--lm-workspace-line); border-radius: 8px; background: #fff; }
.lm-story-timeline article > div { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.55rem; color: #6b7e7a; font-size: 0.8rem; }

.lm-story-add {
  padding: 1.15rem;
  background: #fbfcff;
}

.lm-story-add > summary,
.lm-personal-activity > summary {
  color: var(--lm-workspace-ink);
  font-weight: 800;
  cursor: pointer;
}

.lm-story-add form { margin-top: 1rem; }

.lm-questionnaire-history { display: grid; gap: 0.8rem; }
.lm-questionnaire-group { padding: 1.1rem; }
.lm-questionnaire-group > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.lm-questionnaire-group > header > div:last-child { display: grid; justify-items: end; color: #536b67; }
.lm-questionnaire-group > header small { margin-top: 0.2rem; }
.lm-questionnaire-group__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-top: 0.9rem; }
.lm-questionnaire-group__actions > span { color: #6f817e; font-size: 0.82rem; }

.lm-history-dialog {
  width: min(980px, calc(100vw - 2rem));
  max-width: 980px;
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfdfdc;
  border-radius: 8px;
  color: var(--lm-workspace-ink);
}

.lm-history-dialog::backdrop { background: rgba(16, 35, 34, 0.68); }
body.lm-journey-dialog-open { overflow: hidden; }
.lm-history-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid #dbe7e4; background: #f5faf8; }
.lm-history-dialog__head h2 { margin: 0.2rem 0 0; font-size: 1.35rem; }
.lm-history-dialog__head span { color: #4b786f; font-size: 0.78rem; font-weight: 800; }
.lm-history-dialog__head button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #e5efec; color: #294e49; font-size: 1.4rem; cursor: pointer; }
.lm-history-dialog__body { display: grid; gap: 1rem; max-height: calc(90vh - 80px); padding: 1.1rem; overflow-y: auto; }
.lm-attempt-card { padding: 1rem; border: 1px solid #dbe7e4; border-radius: 7px; background: #fff; }
.lm-attempt-card > header { display: flex; justify-content: space-between; gap: 1rem; }
.lm-attempt-card > p { color: #526966; line-height: 1.7; }
.lm-attempt-card dl { display: grid; gap: 0; margin: 1rem 0 0; }
.lm-attempt-card dl > div { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.5fr); gap: 1rem; padding: 0.75rem 0; border-top: 1px solid #e7efed; }
.lm-attempt-card dt { font-weight: 600; }
.lm-attempt-card dd { margin: 0; color: #2e665c; font-weight: 800; }
.lm-attempt-comparison { margin-top: 1rem; padding: 0.8rem; background: #fff8e6; }
.lm-attempt-comparison summary { font-weight: 800; cursor: pointer; }
.lm-attempt-comparison li { display: grid; gap: 0.2rem; margin-block: 0.7rem; }
.lm-attempt-comparison span { color: #6e6350; }
.lm-personal-activity { padding: 1rem; }
.lm-personal-activity ul { display: grid; gap: 0.5rem; padding: 0; list-style: none; }
.lm-personal-activity li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; border-bottom: 1px solid #e5eeec; }
.lm-personal-activity time { color: #748481; }

@media (max-width: 800px) {
  .lm-journey-workspace__header,
  .lm-today-next,
  .lm-map-open-question,
  .lm-user-insight-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace__header { display: grid; gap: 0.8rem; }
  .lm-today-next .lm-button { width: 100%; min-width: 0; }
  .lm-map-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-recent-discoveries { grid-template-columns: minmax(0, 1fr); }
  .lm-discovery-feed { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .lm-journey-workspace {
    width: 100%;
    margin: 0 auto 2rem;
    padding: 0.65rem;
    overflow-x: clip;
  }

  .lm-journey-workspace__header { padding: 1.15rem; }
  .lm-journey-workspace__header h1 { font-size: 1.65rem; }
  .lm-journey-workspace__tabs { top: 0.25rem; margin: 0.65rem 0; }
  .lm-journey-workspace__tabs button { flex: 0 0 auto; min-width: 96px; padding-inline: 0.7rem; }
  .lm-workspace-section-head { padding-block: 1rem; }
  .lm-workspace-section-head h2 { font-size: 1.4rem; }
  .lm-today-new,
  .lm-today-next,
  .lm-today-preview,
  .lm-today-recent,
  .lm-today-revisit,
  .lm-map-open-question,
  .lm-user-insight-form,
  .lm-questionnaire-group { padding: 1rem; }
  .lm-workspace-section-title { align-items: flex-start; }
  .lm-map-preview-card { min-height: 116px; }
  .lm-questionnaire-group > header { grid-template-columns: minmax(0, 1fr); }
  .lm-questionnaire-group > header > div:last-child { justify-items: start; }
  .lm-history-dialog { width: calc(100vw - 0.75rem); max-height: 96vh; }
  .lm-history-dialog__body { max-height: calc(96vh - 76px); padding: 0.7rem; }
  .lm-attempt-card dl > div { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .lm-personal-activity li { display: grid; gap: 0.2rem; }
}

/* v1.2.0: evidence-based personal map. */
.lm-personal-map {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  color: #243349;
}

.lm-personal-map__hero,
.lm-personal-map__investigation {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #f2faf7 54%, #fff7e9 100%);
  box-shadow: 0 18px 46px rgba(42, 57, 78, 0.09);
}

.lm-personal-map__hero h2,
.lm-personal-map__section-head h3,
.lm-personal-map__investigation h3 {
  margin: 0.25rem 0 0.45rem;
  color: #17374d;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.lm-personal-map__hero p,
.lm-personal-map__section-head p,
.lm-personal-map__investigation p {
  margin: 0;
  line-height: 1.7;
}

.lm-personal-map__state {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border-inline-start: 4px solid #159273;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
}

.lm-personal-map__state span {
  color: #59697b;
  line-height: 1.55;
}

.lm-personal-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  align-items: center;
  padding-inline: 0.25rem;
  color: #59697b;
  font-size: 0.9rem;
}

.lm-personal-map__legend span {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.lm-personal-map__legend i {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #d6dce5;
}

.lm-personal-map__legend i.is-started { background: #f2b84b; }
.lm-personal-map__legend i.is-connected { background: #168466; }

.lm-personal-map__domains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.lm-personal-map__domains:not(.is-expanded) .is-secondary-domain {
	display: none;
}

.lm-personal-map__domains-more {
	display: flex;
	justify-content: center;
	margin: 14px 0 24px;
}

.lm-personal-map__domain {
  min-width: 0;
  border: 1px solid #dfe5ee;
  border-inline-start: 5px solid #cbd3de;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 55, 74, 0.06);
}

.lm-personal-map__domain.is-started { border-inline-start-color: #f0b64a; }
.lm-personal-map__domain.is-connected { border-inline-start-color: #168466; }

.lm-personal-map__domain > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(145px, auto);
  gap: 0.8rem;
  align-items: center;
  min-height: 104px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
}

.lm-personal-map__domain > summary::-webkit-details-marker { display: none; }

.lm-personal-map__domain > summary::after {
  content: "+";
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  color: #607084;
  font-size: 1.25rem;
  line-height: 1;
}

.lm-personal-map__domain[open] > summary::after { content: "−"; }

.lm-personal-map__domain-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #edf5f7;
  color: #167e74;
  font-size: 1.35rem;
  font-weight: 800;
}

.lm-personal-map__domain-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.lm-personal-map__domain-copy strong {
  color: #17374d;
  font-size: 1.02rem;
}

.lm-personal-map__domain-copy small {
  color: #68778a;
  line-height: 1.45;
}

.lm-personal-map__depth {
  display: grid;
  gap: 0.35rem;
  padding-inline-end: 1.7rem;
  color: #607084;
  font-size: 0.78rem;
}

.lm-personal-map__depth i {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  width: 118px;
}

.lm-personal-map__depth b {
  height: 5px;
  border-radius: 4px;
  background: #e1e6ed;
}

.lm-personal-map__depth b.is-filled { background: #168466; }

.lm-personal-map__domain-body {
  display: grid;
  gap: 0.7rem;
  padding: 0 1rem 1rem;
  border-block-start: 1px solid #edf0f4;
}

.lm-personal-map__signal {
  display: grid;
  gap: 0.65rem;
  padding-block-start: 0.9rem;
}

.lm-personal-map__signal + .lm-personal-map__signal {
  border-block-start: 1px solid #edf0f4;
}

.lm-personal-map__signal span {
  color: #877035;
  font-size: 0.76rem;
  font-weight: 800;
}

.lm-personal-map__signal h3 {
  margin: 0.15rem 0 0.3rem;
  color: #243349;
  font-size: 1.02rem;
}

.lm-personal-map__signal p,
.lm-personal-map__empty {
  margin: 0;
  color: #536377;
  line-height: 1.6;
}

.lm-personal-map__evidence {
  border-radius: 6px;
  background: #f6f8fb;
}

.lm-personal-map__evidence summary {
  padding: 0.7rem 0.8rem;
  color: #35536a;
  cursor: pointer;
  font-weight: 700;
}

.lm-personal-map__evidence ul,
.lm-personal-map__panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0 1.8rem 0.8rem 0.8rem;
}

.lm-personal-map__evidence li {
  display: grid;
  gap: 0.2rem;
  color: #536377;
  line-height: 1.5;
}

.lm-personal-map__evidence li strong {
  color: #263f55;
}

.lm-personal-map__insight-grid,
.lm-personal-map__lower-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lm-personal-map__panel,
.lm-personal-map__connections,
.lm-personal-map__tensions,
.lm-personal-map__coverage,
.lm-personal-map__feedback {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
}

.lm-personal-map__coverage > summary {
  padding: 0.2rem;
  color: #35536a;
  cursor: pointer;
  font-weight: 800;
}

.lm-personal-map__coverage > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding-block-start: 0.9rem;
}

.lm-personal-map__coverage section {
  padding: 0.85rem;
  border-radius: 6px;
  background: #f5f7fa;
}

.lm-personal-map__coverage section p {
  margin: 0.35rem 0 0;
  color: #5d6c7e;
  line-height: 1.55;
}

.lm-personal-map__panel.is-thread { background: linear-gradient(145deg, #fff, #fff8eb); }
.lm-personal-map__panel.is-weekly { background: linear-gradient(145deg, #fff, #eef8fb); }
.lm-personal-map__panel.is-strength { background: linear-gradient(145deg, #fff, #f1faf6); }
.lm-personal-map__panel.is-change { background: linear-gradient(145deg, #fff, #f6f3fb); }

.lm-personal-map__panel h3,
.lm-personal-map__connections h3,
.lm-personal-map__tensions h3 {
  margin: 0.25rem 0 0.45rem;
  color: #17374d;
  font-size: 1.17rem;
}

.lm-personal-map__panel p,
.lm-personal-map__connections p,
.lm-personal-map__tensions p {
  margin: 0;
  color: #536377;
  line-height: 1.65;
}

.lm-personal-map__panel small {
  display: block;
  margin-block-start: 0.7rem;
  color: #6c5b2b;
  line-height: 1.5;
}

.lm-personal-map__connection-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block-start: 0.9rem;
}

.lm-personal-map__connection-list article {
  min-width: 0;
  padding: 0.9rem;
  border-inline-start: 4px solid #4d96c5;
  border-radius: 6px;
  background: #f3f8fc;
}

.lm-personal-map__connection-list strong {
  display: block;
  margin-block-end: 0.4rem;
  color: #244b65;
}

.lm-personal-map__investigation {
  background: linear-gradient(135deg, #fff9ec, #f1f9f6);
}

.lm-personal-map__investigation-form,
.lm-personal-map__investigation-form > div {
  display: grid;
  gap: 0.55rem;
}

.lm-personal-map__investigation-form label,
.lm-personal-map__feedback-options label {
  display: block;
  cursor: pointer;
}

.lm-personal-map__investigation-form input,
.lm-personal-map__feedback-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lm-personal-map__investigation-form label span,
.lm-personal-map__feedback-options label span {
  display: block;
  padding: 0.68rem 0.75rem;
  border: 1px solid #d6dee8;
  border-radius: 6px;
  background: #fff;
  color: #334a60;
}

.lm-personal-map__investigation-form input:checked + span,
.lm-personal-map__feedback-options input:checked + span {
  border-color: #168466;
  background: #edf8f4;
  box-shadow: 0 0 0 2px rgba(22, 132, 102, 0.12);
}

.lm-personal-map__investigation-form input:focus-visible + span,
.lm-personal-map__feedback-options input:focus-visible + span {
  outline: 3px solid rgba(47, 143, 209, 0.28);
  outline-offset: 2px;
}

.lm-personal-map__feedback {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 1rem;
  align-items: start;
}

.lm-personal-map__feedback > div {
  display: grid;
  gap: 0.3rem;
}

.lm-personal-map__feedback > div span,
.lm-personal-map__privacy {
  color: #6a7889;
  font-size: 0.88rem;
  line-height: 1.5;
}

.lm-personal-map__feedback form {
  display: grid;
  gap: 0.7rem;
}

.lm-personal-map__feedback-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.lm-personal-map__feedback-comment {
  display: grid;
  gap: 0.35rem;
}

.lm-personal-map__feedback-comment[hidden] { display: none; }

.lm-personal-map__feedback-comment textarea {
  width: 100%;
  min-height: 74px;
  border: 1px solid #ccd5e0;
  border-radius: 6px;
  padding: 0.7rem;
  resize: vertical;
}

.lm-personal-map__privacy {
  margin: 0;
  text-align: center;
}

.lm-journey-v5-since {
  display: flex;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1px solid #cfe5dc;
  border-radius: 8px;
  background: #eff9f5;
}

.lm-journey-v5-since span {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 800;
}

.lm-journey-v5-since strong { flex: 1; }

.lm-journey-v5-since button {
  border: 0;
  background: transparent;
  color: #126c58;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .lm-personal-map__hero,
  .lm-personal-map__investigation,
  .lm-personal-map__feedback,
  .lm-personal-map__domains,
  .lm-personal-map__insight-grid,
  .lm-personal-map__lower-grid {
    grid-template-columns: 1fr;
  }

  .lm-personal-map__connection-list {
    grid-template-columns: 1fr;
  }
}

/* v1.5.10: carry the homepage design language into the personal journey. */
.lm-journey-workspace--refined {
  --lm-journey-ink: #172033;
  --lm-journey-navy: #10233f;
  --lm-journey-blue: #1d75d8;
  --lm-journey-teal: #168466;
  --lm-journey-gold: #ffc757;
  --lm-journey-coral: #cf6a56;
  --lm-journey-surface: #ffffff;
  --lm-journey-blue-soft: #eef6fb;
  --lm-journey-green-soft: #e5f4ed;
  --lm-journey-gold-soft: #fff3d7;
  --lm-journey-border: #dfe7ef;
  --lm-journey-muted: #5d6879;
  position: relative;
  isolation: isolate;
  padding: clamp(0.7rem, 2vw, 1.25rem);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 246, 251, 0.76), rgba(255, 255, 255, 0) 23rem),
    #f8fafc;
  color: var(--lm-journey-ink);
}

.lm-journey-workspace--refined::before {
  position: absolute;
  z-index: -1;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--lm-journey-blue), var(--lm-journey-teal), var(--lm-journey-gold));
  content: "";
}

.lm-journey-workspace--refined :is(h1, h2, h3, h4) {
  color: var(--lm-journey-navy);
}

.lm-journey-workspace--refined .lm-journey-workspace__header {
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-journey-workspace__header::before {
  display: none;
}

.lm-journey-workspace--refined .lm-journey-workspace__header h1 {
  color: var(--lm-journey-navy);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 900;
}

.lm-journey-workspace--refined .lm-journey-workspace__header p:last-child {
  max-width: 660px;
  color: var(--lm-journey-muted);
  font-size: 1rem;
}

.lm-journey-workspace--refined .lm-kicker,
.lm-journey-workspace--refined .lm-workspace-eyebrow {
  color: var(--lm-journey-teal);
}

.lm-journey-workspace--refined .lm-journey-workspace__home {
  min-height: 42px;
  padding-inline: 0.8rem;
  border: 1px solid var(--lm-journey-border);
  border-radius: 8px;
  background: #fff;
  color: var(--lm-journey-navy);
  font-weight: 800;
  text-decoration: none;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs {
  gap: 0.35rem;
  margin-block: 0 1rem;
  padding: 0.38rem;
  border-color: var(--lm-journey-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(16, 35, 63, 0.07);
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button {
  min-height: 46px;
  border-radius: 7px;
  color: #536278;
  font-weight: 800;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button:hover {
  background: var(--lm-journey-blue-soft);
  color: var(--lm-journey-navy);
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button.is-active {
  background: var(--lm-journey-navy);
  color: #fff;
  box-shadow: 0 7px 18px rgba(16, 35, 63, 0.18);
}

.lm-journey-workspace--refined .lm-journey-workspace__panels,
.lm-journey-workspace--refined .lm-journey-workspace__panel,
.lm-journey-workspace--refined .lm-journey-workspace__panel > * {
  min-width: 0;
}

.lm-journey-workspace--refined .lm-workspace-section-head {
  padding: 0.85rem 0.2rem 1rem;
}

.lm-journey-workspace--refined .lm-workspace-section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 900;
}

.lm-journey-workspace--refined .lm-workspace-section-head p {
  color: var(--lm-journey-muted);
  font-size: 0.98rem;
}

/* Today keeps a single, unmistakable next step. */
.lm-journey-workspace--refined .lm-today-next,
.lm-journey-workspace--refined .lm-today-revisit,
.lm-journey-workspace--refined .lm-due-activity {
  border: 0;
  border-radius: 8px;
  background: var(--lm-journey-navy);
  box-shadow: 0 18px 44px rgba(16, 35, 63, 0.16);
}

.lm-journey-workspace--refined .lm-today-next .lm-button,
.lm-journey-workspace--refined .lm-due-activity .lm-button {
  min-height: 48px;
  border-radius: 8px;
  background: var(--lm-journey-gold);
  color: #172033;
  font-weight: 900;
}

.lm-journey-workspace--refined .lm-today-new--compact {
  border: 1px solid #f0ddb4;
  border-inline-start: 5px solid var(--lm-journey-gold);
  border-radius: 8px;
  background: var(--lm-journey-gold-soft);
}

/* The map reads as a personal story, with context before technical depth. */
.lm-journey-workspace--refined .lm-personal-map__hero {
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid #d6e8f3;
  border-radius: 8px;
  background: var(--lm-journey-blue-soft);
  box-shadow: 0 12px 34px rgba(16, 35, 63, 0.07);
}

.lm-journey-workspace--refined .lm-personal-map__hero h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 900;
}

.lm-journey-workspace--refined .lm-personal-map__state {
  border: 1px solid #cfe5dc;
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-personal-map__unclear {
  border: 1px solid #f0ddb4;
  border-inline-start: 5px solid var(--lm-journey-gold);
  border-radius: 8px;
  background: var(--lm-journey-gold-soft);
}

.lm-journey-workspace--refined .lm-personal-map__domain,
.lm-journey-workspace--refined .lm-map-supporting-tools,
.lm-journey-workspace--refined .lm-personal-album,
.lm-journey-workspace--refined .lm-time-tools {
  border-color: var(--lm-journey-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.045);
}

.lm-journey-workspace--refined .lm-personal-map__depth b.is-filled {
  background: var(--lm-journey-teal);
}

.lm-journey-workspace--refined .lm-personal-map__thread {
  border-inline-start-color: var(--lm-journey-blue);
  border-radius: 8px;
  background: var(--lm-journey-blue-soft);
}

.lm-journey-workspace--refined .lm-personal-map__strength {
  border-inline-start-color: var(--lm-journey-teal);
  border-radius: 8px;
  background: var(--lm-journey-green-soft);
}

.lm-journey-workspace--refined .lm-childhood-present__head {
  max-width: 760px;
}

.lm-journey-workspace--refined .lm-childhood-present__card {
  border: 1px solid #d7e5ee;
  border-inline-start: 5px solid var(--lm-journey-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 35, 63, 0.09);
}

.lm-journey-workspace--refined .lm-childhood-present__flow.has-later-life.has-childhood {
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section {
  border-color: #dfe8ef;
  background: #f8fbfd;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section.is-later-life {
  border-color: #eadfbf;
  background: #fffaf0;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section.is-later-life small {
  display: block;
  margin-block-start: 0.35rem;
  color: #775d2a;
  line-height: 1.45;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section.is-connection {
  border-color: #c9e1d7;
  background: var(--lm-journey-green-soft);
}

.lm-journey-workspace--refined .lm-childhood-present__secondary {
  border: 1px solid var(--lm-journey-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.lm-journey-workspace--refined .lm-childhood-present__secondary > summary {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  color: var(--lm-journey-navy);
  cursor: pointer;
}

.lm-journey-workspace--refined .lm-childhood-present__secondary > summary span {
  color: var(--lm-journey-teal);
  font-size: 0.74rem;
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-childhood-present__secondary > .lm-childhood-present__card {
  margin: 0 0.65rem 0.65rem;
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence {
  border-color: var(--lm-journey-border);
  background: #f8fafc;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence > summary,
.lm-journey-workspace--refined .lm-childhood-present__more > summary {
  color: var(--lm-journey-blue-700, #1d4f86);
}

/* Discoveries use clear visual types, while the newest item receives focus. */
.lm-journey-workspace--refined .lm-discoveries-new {
  border: 1px solid #f0d8d0;
  border-inline-start: 5px solid var(--lm-journey-coral);
  border-radius: 8px;
}

.lm-journey-workspace--refined .lm-discovery-card {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.05);
}

.lm-journey-workspace--refined .lm-discovery-feed:not(.is-filtered) > .lm-discovery-card:first-child {
  border-color: #cfe0ea;
  border-inline-start-color: var(--lm-journey-blue);
  background: var(--lm-journey-blue-soft);
  box-shadow: 0 12px 32px rgba(16, 35, 63, 0.08);
}

.lm-journey-workspace--refined .lm-discovery-filters button.is-active,
.lm-journey-workspace--refined .lm-history-filters button.is-active {
  border-color: var(--lm-journey-teal);
  background: var(--lm-journey-green-soft);
  color: #145f4c;
}

.lm-journey-workspace--refined .lm-user-insight-form {
  border-radius: 8px;
  background: #f4f2fa;
}

/* Story remains narrative; forms stay secondary until the user opens them. */
.lm-journey-workspace--refined .lm-story-chapter > ol {
  border-inline-start-color: #bcd6e8;
}

.lm-journey-workspace--refined .lm-story-chapter > header span,
.lm-journey-workspace--refined .lm-story-chapter li::before {
  background: var(--lm-journey-blue);
}

.lm-journey-workspace--refined .lm-story-chapter article,
.lm-journey-workspace--refined .lm-snapshot-step,
.lm-journey-workspace--refined .lm-time-tools__more {
  border-color: var(--lm-journey-border);
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(16, 35, 63, 0.04);
}

.lm-journey-workspace--refined .lm-story-start {
  border: 1px solid #cfe5dc;
  border-radius: 8px;
  background: var(--lm-journey-green-soft);
}

/* History stays compact and gets stronger date and action hierarchy. */
.lm-journey-workspace--refined .lm-history-month {
  border-block-start-color: var(--lm-journey-border);
}

.lm-journey-workspace--refined .lm-history-month > summary {
  color: var(--lm-journey-navy);
}

.lm-journey-workspace--refined .lm-history-month > ol > li {
  border-block-start-color: #e7edf2;
}

.lm-journey-workspace--refined .lm-history-row__copy small {
  color: var(--lm-journey-teal);
}

.lm-journey-workspace--refined .lm-history-row__actions :is(button, a) {
  border-color: #cddbe5;
  border-radius: 7px;
  color: var(--lm-journey-blue-700, #1d4f86);
}

.lm-journey-workspace--refined :is(button, a, summary, input, select, textarea):focus-visible {
  outline-color: rgba(29, 117, 216, 0.3);
}

@media (max-width: 900px) {
  .lm-journey-workspace--refined .lm-childhood-present__flow.has-later-life.has-childhood {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-childhood-present__flow.has-later-life.has-childhood > i {
    justify-self: center;
    transform: none;
  }
}

@media (max-width: 640px) {
  .lm-journey-workspace--refined {
    padding: 0.5rem;
    background: #f8fafc;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header {
    padding: 0.95rem 0.75rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header h1 {
    font-size: 1.75rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__home {
    justify-self: start;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs {
    margin-inline: -0.1rem;
    padding: 0.3rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
    min-width: 92px;
  }

  .lm-journey-workspace--refined .lm-childhood-present__secondary > .lm-childhood-present__card {
    margin: 0 0.45rem 0.45rem;
  }
}

@media (max-width: 360px) {
  .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
    min-width: 86px;
    font-size: 0.8rem;
  }

  .lm-journey-workspace--refined .lm-childhood-present__secondary > summary,
  .lm-journey-workspace--refined .lm-childhood-present__card {
    padding: 0.75rem;
  }
}

/* v1.5.9: shorter opening flow and one clear continuation action. */
.lm-teaser > .lm-section-header {
  margin-bottom: 0.7rem;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  border-radius: 8px;
}

.lm-teaser > .lm-section-header :is(h1, h2) {
  margin-bottom: 0.4rem;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

.lm-teaser > .lm-section-header p {
  margin-bottom: 0;
}

.lm-teaser-guidance {
  max-width: 760px;
  margin: 0 auto 0.8rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: #526178;
}

.lm-teaser-guidance summary {
  color: #17466e;
  font-weight: 850;
  cursor: pointer;
}

.lm-teaser-guidance p {
  margin: 0.65rem 0 0;
  line-height: 1.65;
}

.lm-teaser .lm-teaser-form {
  margin-top: 0;
}

.lm-opening-result-clean .lm-result-core-answer {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lm-opening-present-bridge {
  margin: 0;
  padding: 0.9rem 1rem;
  border-inline-start: 4px solid #168466;
  border-radius: 6px;
  background: #f1faf6;
  color: #243b4f;
  font-weight: 800;
  line-height: 1.65;
}

.lm-opening-result-clean .lm-answer-details-actions {
  margin: 0.1rem auto 0.25rem;
}

.lm-opening-result-clean .lm-answer-details-actions .lm-button {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.lm-opening-continuation,
.lm-paywall--result-compact .lm-paywall-result-card {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgba(22, 132, 102, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 245, 0.96)),
    #fff;
  box-shadow: 0 16px 36px rgba(16, 33, 59, 0.08);
  text-align: center;
}

.lm-opening-continuation > span,
.lm-paywall--result-compact .lm-paywall-result-card > span {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-opening-continuation h3,
.lm-paywall--result-compact h3 {
  max-width: 26ch;
  margin: 0 auto;
  color: #10213b;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.25;
}

.lm-opening-continuation > p,
.lm-paywall--result-compact .lm-paywall-result-card > p {
  max-width: 58ch;
  margin: 0 auto;
  color: #52647a;
  line-height: 1.62;
}

.lm-opening-continuation .lm-button,
.lm-paywall--result-compact .lm-button {
  width: min(100%, 420px);
  margin: 0.25rem auto 0;
}

.lm-paywall--result-compact {
  max-width: 900px;
  margin: 0 !important;
}

.lm-paywall-result-price {
  display: grid;
  gap: 0.1rem;
  justify-items: center;
  margin-top: 0.1rem;
}

.lm-paywall-result-price strong {
  color: #10213b;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.lm-paywall-result-price small,
.lm-paywall-result-trust,
.lm-paywall-result-login {
  color: #65768a !important;
  font-size: 0.87rem;
  font-weight: 730;
}

.lm-paywall-result-login a {
  color: #126f7d;
  font-weight: 900;
}

.lm-register-screen .lm-login-layout {
  grid-template-columns: minmax(260px, 0.7fr) minmax(340px, 1fr);
  align-items: start;
}

.lm-register-screen .lm-login-intro {
  align-content: start;
}

.lm-register-privacy-note {
  margin: 0.75rem 0 0;
  color: #607086;
  font-size: 0.92rem;
  font-weight: 760;
}

@media (max-width: 760px) {
  .lm-teaser > .lm-section-header {
    margin-bottom: 0.55rem;
  }

  .lm-teaser-guidance {
    margin-bottom: 0.65rem;
  }

  .lm-opening-result-clean .lm-grip-result__hero {
    padding: 0.95rem !important;
  }

  .lm-opening-result-clean .lm-result-core-answer__grid article {
    min-height: 0 !important;
  }

  .lm-register-screen .lm-login-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-register-screen .lm-login-card {
    order: -1;
  }

  .lm-register-screen .lm-login-intro,
  .lm-register-screen .lm-login-card {
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  .lm-teaser-guidance,
  .lm-opening-present-bridge,
  .lm-opening-continuation,
  .lm-paywall--result-compact .lm-paywall-result-card {
    padding-inline: 0.75rem;
  }

  .lm-paywall--result-compact .lm-button,
  .lm-opening-continuation .lm-button {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .lm-personal-map { gap: 0.8rem; }

  .lm-personal-map__hero,
  .lm-personal-map__investigation,
  .lm-personal-map__panel,
  .lm-personal-map__connections,
  .lm-personal-map__tensions,
  .lm-personal-map__coverage,
  .lm-personal-map__feedback {
    padding: 0.9rem;
  }

  .lm-personal-map__domain > summary {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    min-height: 0;
    padding: 0.8rem;
  }

  .lm-personal-map__domain > summary::after {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .lm-personal-map__domain-icon {
    grid-column: 1;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .lm-personal-map__domain-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .lm-personal-map__depth {
    grid-column: 2 / 4;
    padding-inline: 0;
  }

  .lm-personal-map__feedback-options {
    grid-template-columns: 1fr;
  }

  .lm-personal-map__coverage > div {
    grid-template-columns: 1fr;
  }

  .lm-journey-v5-since {
    display: grid;
    align-items: start;
  }

  .lm-journey-v5-since strong { line-height: 1.5; }
  .lm-journey-v5-since button { justify-self: start; }
}

/* v1.1.300: immutable questionnaire history and repeat comparisons. */
.lm-questionnaire-library {
  display: grid;
  gap: 0.9rem;
  margin-block-start: 1.1rem;
}

.lm-questionnaire-library__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid #d7e4ed;
  border-inline-start: 4px solid #168c78;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 43, 72, 0.07);
}

.lm-questionnaire-library__copy,
.lm-questionnaire-library__copy h4,
.lm-questionnaire-library__copy dl,
.lm-questionnaire-library__copy dd {
  min-width: 0;
  margin: 0;
}

.lm-questionnaire-library__copy small {
  color: #168466;
  font-weight: 800;
}

.lm-questionnaire-library__copy h4 {
  margin-block: 0.25rem 0.8rem;
  color: #10284a;
  font-size: 1.25rem;
}

.lm-questionnaire-library__copy dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
}

.lm-questionnaire-library__copy dl > div {
  display: flex;
  gap: 0.35rem;
  color: #5b6b80;
}

.lm-questionnaire-library__copy dt {
  font-weight: 700;
}

.lm-questionnaire-library__copy dd {
  color: #172d4f;
  font-weight: 800;
}

.lm-questionnaire-library__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lm-questionnaire-library__actions .lm-button {
  margin: 0;
  white-space: nowrap;
}

.lm-questionnaire-library__dialog {
  width: min(940px, calc(100vw - 2rem));
  max-width: 940px;
  max-height: min(88vh, 860px);
  overflow: auto;
}

.lm-questionnaire-attempts {
  display: grid;
  gap: 0.75rem;
  margin-block: 1rem;
}

.lm-questionnaire-attempt {
  overflow: hidden;
  border: 1px solid #d8e3eb;
  border-radius: 8px;
  background: #fbfdff;
}

.lm-questionnaire-attempt > summary {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  color: #10284a;
}

.lm-questionnaire-attempt > summary::marker {
  color: #168466;
}

.lm-questionnaire-attempt > summary span {
  color: #637287;
  font-size: 0.92rem;
}

.lm-questionnaire-attempt__body {
  padding: 0 1rem 1rem;
}

.lm-questionnaire-attempt__legacy {
  margin: 0;
  padding: 0.9rem;
  border-radius: 6px;
  background: #f2f6f9;
  color: #56677c;
}

.lm-questionnaire-comparison {
  margin-block-start: 1rem;
  border-block-start: 1px solid #dce6ed;
  padding-block-start: 0.8rem;
}

.lm-questionnaire-comparison > summary {
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  color: #126f61;
  font-weight: 800;
}

.lm-questionnaire-comparison__table-wrap {
  overflow-x: auto;
  margin-block-start: 0.8rem;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
}

.lm-questionnaire-comparison table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.lm-questionnaire-comparison th,
.lm-questionnaire-comparison td {
  padding: 0.75rem;
  border-block-end: 1px solid #e7edf2;
  text-align: start;
  vertical-align: top;
}

.lm-questionnaire-comparison thead th {
  background: #f3f7fa;
  color: #465970;
  font-size: 0.88rem;
}

.lm-questionnaire-comparison tbody tr.is-changed {
  background: #fff8e8;
  box-shadow: inset -4px 0 0 #e4a72d;
}

.lm-questionnaire-comparison tbody tr.is-stable {
  color: #637287;
}

.lm-questionnaire-comparison__legend {
  margin: 0.65rem 0 0;
  color: #5b6b80;
  font-size: 0.9rem;
}

.lm-questionnaire-comparison__question-note {
  display: block;
  margin-block-start: 0.25rem;
  color: #7a6542;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .lm-questionnaire-library__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.9rem;
  }

  .lm-questionnaire-library__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lm-questionnaire-library__actions .lm-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .lm-questionnaire-library__dialog {
    width: calc(100vw - 1rem);
    max-height: 94vh;
    padding: 0.9rem;
  }

  .lm-questionnaire-attempt > summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 1.1.299: returning-user actions and readable answer history. */
.lm-journey-v5-between {
  display: grid;
  gap: 0.55rem;
  margin-block-start: 0.8rem;
  padding-block-start: 0.8rem;
  border-block-start: 1px solid rgba(20, 82, 112, 0.14);
}

.lm-journey-v5-between > strong {
  color: #0f385d;
  font-size: 0.92rem;
}

.lm-journey-v5-between > p {
  margin: 0;
  color: #5a6c80;
  font-size: 0.82rem;
  line-height: 1.55;
}

.lm-journey-v5-between > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lm-journey-v5-between button,
.lm-journey-v5-history__answers-button {
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  color: #0f496d;
  border: 1px solid #cbddea;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.lm-journey-v5-between button:hover,
.lm-journey-v5-between button:focus-visible,
.lm-journey-v5-history__answers-button:hover,
.lm-journey-v5-history__answers-button:focus-visible {
  border-color: #168d7d;
  background: #f1faf8;
}

.lm-journey-answers-dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(82vh, 820px);
  padding: 0;
  overflow: hidden;
  color: #102847;
  border: 1px solid #cbddea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(5, 28, 54, 0.24);
}

.lm-journey-answers-dialog::backdrop {
  background: rgba(7, 25, 46, 0.58);
  backdrop-filter: blur(3px);
}

.lm-journey-answers-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-block-end: 1px solid #dce8f0;
  background: linear-gradient(135deg, #f2f9fd, #fffaf0);
}

.lm-journey-answers-dialog__head small {
  color: #168466;
  font-weight: 800;
}

.lm-journey-answers-dialog__head h3 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.lm-journey-answers-dialog__head > button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  color: #173b5e;
  border: 1px solid #cbddea;
  border-radius: 50%;
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.lm-journey-answers-dialog__note {
  margin: 1rem 1.4rem 0;
  padding: 0.75rem 0.9rem;
  color: #53677b;
  border-inline-start: 3px solid #18a28d;
  background: #f4faf9;
  font-size: 0.88rem;
  line-height: 1.6;
}

.lm-journey-answers-dialog__list {
  display: grid;
  gap: 0.65rem;
  max-height: 48vh;
  margin: 0;
  padding: 1rem 2.9rem 1rem 1.4rem;
  overflow-y: auto;
}

.lm-journey-answers-dialog__list li {
  padding: 0.8rem 0.9rem;
  border: 1px solid #dce8f0;
  border-radius: 7px;
  background: #fff;
}

.lm-journey-answers-dialog__list span,
.lm-journey-answers-dialog__list strong {
  display: block;
}

.lm-journey-answers-dialog__list span {
  color: #273f5b;
  line-height: 1.55;
}

.lm-journey-answers-dialog__list strong {
  margin-block-start: 0.35rem;
  color: #087d68;
}

.lm-journey-answers-dialog > .lm-button {
  margin: 0 1.4rem 1.25rem;
}

@media (max-width: 640px) {
  .lm-journey-v5-between > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lm-journey-v5-between button {
    width: 100%;
  }

  .lm-journey-answers-dialog {
    width: calc(100vw - 18px);
    max-height: 90vh;
  }

  .lm-journey-answers-dialog__head,
  .lm-journey-answers-dialog__note {
    margin-inline: 0;
  }

  .lm-journey-answers-dialog__note {
    margin-block-start: 0.75rem;
  }

  .lm-journey-answers-dialog__list {
    max-height: 55vh;
    padding-inline: 2.4rem 0.85rem;
  }
}

/* v1.1.296: focused journey views, human change language and compact history. */
.lm-journey-v5-now__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lm-journey-v5-now__cards article {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-block-start: 4px solid #2f8fd1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.06);
}

.lm-journey-v5-now__cards article.is-strength {
  border-block-start-color: #168466;
  background: linear-gradient(145deg, #ffffff, #f1faf6);
}

.lm-journey-v5-now__cards span,
.lm-journey-v5-change-summary span {
  color: #168466;
  font-size: 0.84rem;
  font-weight: 950;
}

.lm-journey-v5-now__cards h2 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: 0;
}

.lm-journey-v5-now__cards p,
.lm-journey-v5-now__cards small {
  margin: 0;
  color: #53647b;
  font-size: 0.96rem;
  font-weight: 720;
  line-height: 1.7;
}

.lm-journey-v5-now__cards small {
  padding-block-start: 0.55rem;
  border-block-start: 1px solid rgba(16, 33, 59, 0.08);
}

.lm-journey-v5-now__cards small strong {
  color: #10213b;
}

.lm-journey-v5-lock small {
  color: #168466;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.55;
}

.lm-journey-v5-change__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-journey-v5-change__cards article {
  min-width: 0;
  min-height: 190px;
  border-block-start: 4px solid #8997aa;
}

.lm-journey-v5-change__cards article.is-calmer {
  border-block-start-color: #168466;
  background: linear-gradient(150deg, #ffffff, #f3faf7);
}

.lm-journey-v5-change__cards article.is-repeating {
  border-block-start-color: #f5b84b;
  background: linear-gradient(150deg, #ffffff, #fff9ed);
}

.lm-journey-v5-change__cards article.is-recent,
.lm-journey-v5-change__cards article:last-child {
  border-block-start-color: #2f8fd1;
  background: linear-gradient(150deg, #ffffff, #f1f8fd);
}

.lm-journey-v5-change-summary {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  border-inline-start: 4px solid #168466;
  border-radius: 8px;
  background: #f5faf8;
}

.lm-journey-v5-change-summary p {
  margin: 0;
  color: #10213b;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.7;
}

.lm-journey-v5-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.lm-journey-v5-chart__legend span {
  display: inline-flex;
  gap: 0.38rem;
  align-items: center;
  color: #526176;
  font-size: 0.8rem;
  font-weight: 850;
}

.lm-journey-v5-chart__legend span::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #2f8fd1;
}

.lm-journey-v5-chart__legend--red::before {
  background: #e86f51 !important;
}

.lm-journey-v5-chart__legend--blue::before {
  background: #2f8fd1 !important;
}

.lm-journey-v5-chart__legend--green::before {
  background: #168466 !important;
}

.lm-journey-v5-chart__legend--purple::before {
  background: #7d5ce7 !important;
}

.lm-journey-v5-chart__legend--amber::before,
.lm-journey-v5-chart__legend--gold::before {
  background: #e5a018 !important;
}

.lm-journey-v5-chart__line--amber {
  stroke: #e5a018 !important;
}

.lm-journey-v5-chart__summary {
  margin: 0;
  color: #53647b;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.65;
}

.lm-journey-v5-history__timeline {
  display: grid;
  gap: 0.65rem;
}

.lm-journey-v5-history__item {
  overflow: clip;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lm-journey-v5-history__item[open] {
  border-color: rgba(22, 132, 102, 0.32);
  box-shadow: 0 12px 28px rgba(16, 33, 59, 0.06);
}

.lm-journey-v5-history__item summary {
  display: grid;
  grid-template-columns: minmax(90px, 0.18fr) minmax(0, 1fr) 2rem;
  gap: 0.85rem;
  align-items: center;
  min-height: 78px;
  padding: 0.85rem 1rem;
  list-style: none;
  cursor: pointer;
}

.lm-journey-v5-history__item summary::-webkit-details-marker {
  display: none;
}

.lm-journey-v5-history__item summary:focus-visible {
  outline: 3px solid rgba(47, 143, 209, 0.45);
  outline-offset: -3px;
}

.lm-journey-v5-history__date {
  color: #68768a;
  font-size: 0.82rem;
  font-weight: 800;
}

.lm-journey-v5-history__summary {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.lm-journey-v5-history__summary small {
  color: #168466;
  font-size: 0.76rem;
  font-weight: 900;
}

.lm-journey-v5-history__summary strong {
  color: #10213b;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.4;
}

.lm-journey-v5-history__summary em {
  overflow: hidden;
  color: #53647b;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 720;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lm-journey-v5-history__toggle {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #ffffff;
  background: #10213b;
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.lm-journey-v5-history__item[open] .lm-journey-v5-history__toggle {
  background: #168466;
  transform: rotate(45deg);
}

.lm-journey-v5-history__details {
  display: grid;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
  border-block-start: 1px solid rgba(16, 33, 59, 0.07);
}

.lm-journey-v5-history__details p {
  max-width: 75ch;
  margin: 0;
  padding-block-start: 0.9rem;
  color: #46586f;
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.75;
}

.lm-journey-v5-history__details a {
  width: fit-content;
  color: #126d58;
  font-size: 0.88rem;
  font-weight: 900;
  text-underline-offset: 0.2em;
}

@media (max-width: 920px) {
  .lm-journey-v5-now__cards,
  .lm-journey-v5-change__cards {
    grid-template-columns: 1fr;
  }

  .lm-journey-v5-change__cards article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .lm-journey-v5-nav {
    position: sticky;
    z-index: 5;
    top: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }

  .lm-journey-v5-now__cards {
    gap: 0.7rem;
  }

  .lm-journey-v5-now__cards article,
  .lm-journey-v5-change__cards article {
    padding: 0.9rem;
  }

  .lm-journey-v5-change-summary {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .lm-journey-v5-history__item summary {
    grid-template-columns: minmax(0, 1fr) 2rem;
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .lm-journey-v5-history__date {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lm-journey-v5-history__summary {
    grid-column: 1;
    grid-row: 2;
  }

  .lm-journey-v5-history__toggle {
    grid-column: 2;
    grid-row: 2;
  }

  .lm-journey-v5-history__summary em {
    white-space: normal;
  }

  .lm-journey-v5-history__details {
    padding-inline: 0.8rem;
  }
}

/* App-like colorful refresh for questionnaires and results */
.lm-wrap {
  --lm-app-ink: #10213b;
  --lm-app-blue: #176aa6;
  --lm-app-sky: #32a4dc;
  --lm-app-green: #168466;
  --lm-app-amber: #ffc757;
  --lm-app-coral: #d95533;
  --lm-app-bg: #f4f8fb;
  --lm-app-line: rgba(16, 33, 59, 0.12);
  max-width: 1120px;
}

.lm-section-header,
.lm-form,
.lm-panel,
.lm-domain-section,
.lm-save-box,
.lm-result-card,
.lm-score-card,
.lm-topic-result-card,
.lm-topic-link-card,
.lm-topic-more,
.lm-login-intro,
.lm-login-card,
.lm-clear-hero,
.lm-account-hero,
.lm-today-card,
.lm-change-summary-card,
.lm-change-card,
.lm-next-action-box {
  border-color: var(--lm-app-line);
  box-shadow: 0 18px 44px rgba(16, 33, 59, 0.09);
}

.lm-section-header,
.lm-form-intro-card,
.lm-background-result,
.lm-topic-result-card,
.lm-login-intro,
.lm-clear-hero,
.lm-account-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(50, 164, 220, 0.16), transparent 16rem),
    radial-gradient(circle at 88% 18%, rgba(255, 199, 87, 0.18), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef8fb);
}

.lm-section-header {
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--lm-app-line);
  border-radius: 8px;
}

.lm-kicker,
.lm-step-label,
.lm-topic-link-card span,
.lm-topic-link-card small,
.lm-today-card span,
.lm-change-summary-card span,
.lm-next-action-box span {
  color: var(--lm-app-blue);
}

.lm-button {
  border-color: transparent;
  background: linear-gradient(135deg, #10213b 0%, #176aa6 58%, #168466 100%);
  box-shadow: 0 14px 30px rgba(23, 106, 166, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lm-button:hover,
.lm-button:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #143156, #168466);
  box-shadow: 0 18px 38px rgba(23, 106, 166, 0.24);
}

.lm-button--secondary,
.lm-button--ghost {
  background: #fff;
  border-color: rgba(23, 106, 166, 0.18);
  color: var(--lm-app-ink);
  box-shadow: 0 10px 22px rgba(16, 33, 59, 0.06);
}

.lm-button--secondary:hover,
.lm-button--secondary:focus,
.lm-button--ghost:hover,
.lm-button--ghost:focus {
  background: linear-gradient(135deg, #e8f6ff, #e9f8ef);
  color: var(--lm-app-ink);
}

.lm-step-progress,
.lm-form-divider {
  background:
    linear-gradient(135deg, rgba(232, 246, 255, 0.96), rgba(233, 248, 239, 0.84)),
    #fff;
}

.lm-progress-track span,
.lm-score-bar span,
.lm-change-bars span,
.lm-background-meter__bar i,
.lm-clear-meter i::before,
.lm-account-meter i::before {
  background: linear-gradient(90deg, var(--lm-app-green), var(--lm-app-sky), var(--lm-app-amber));
}

.lm-domain-section {
  position: relative;
  overflow: hidden;
}

.lm-domain-section::before,
.lm-panel::before,
.lm-score-card::before,
.lm-topic-link-card::before,
.lm-result-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lm-app-sky), var(--lm-app-green), var(--lm-app-amber));
}

.lm-panel,
.lm-score-card,
.lm-topic-link-card,
.lm-result-card {
  position: relative;
  overflow: hidden;
}

.lm-background-section::before {
  width: 4px;
  height: auto;
  background: linear-gradient(180deg, var(--lm-app-sky), var(--lm-app-green));
}

.lm-topic-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 199, 87, 0.16), transparent 14rem),
    linear-gradient(135deg, #ffffff, #eef8fb);
}

.lm-question legend {
  font-size: 1.04rem;
}

.lm-question legend span,
.lm-step-dots span.is-active,
.lm-personal-path li::before,
.lm-result-area-card > span {
  background: linear-gradient(135deg, var(--lm-app-blue), var(--lm-app-green));
  color: #fff;
}

.lm-scale-option,
.lm-choice-option,
.lm-identity-choice label {
  background: rgba(255, 255, 255, 0.88);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.lm-scale-option:hover,
.lm-scale-option:focus-within,
.lm-choice-option:hover,
.lm-choice-option:focus-within,
.lm-identity-choice label:hover,
.lm-identity-choice label:focus-within {
  transform: translateY(-2px);
  border-color: rgba(23, 106, 166, 0.28);
  box-shadow: 0 14px 30px rgba(16, 33, 59, 0.09);
}

.lm-scale-option:has(input:checked),
.lm-choice-option:has(input:checked) {
  background: linear-gradient(135deg, #10213b, #176aa6);
  border-color: transparent;
}

.lm-result-hero-panel,
.lm-result-reflection-grid,
.lm-result-top-areas,
.lm-today-grid,
.lm-change-summary-grid,
.lm-change-card-grid,
.lm-account-next-grid,
.lm-topic-link-grid {
  gap: 0.9rem;
}

.lm-background-meter,
.lm-clear-meter,
.lm-account-meter,
.lm-topic-result-card__score,
.lm-today-card--focus,
.lm-result-action-card,
.lm-account-next-card--primary {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 199, 87, 0.24), transparent 9rem),
    linear-gradient(145deg, #10213b, #176aa6 62%, #168466);
}

.lm-result-card--strong,
.lm-topic-recommendations,
.lm-account-recommendations,
.lm-result-not-diagnosis,
.lm-next-action-box {
  background: linear-gradient(135deg, #ffffff, #e9f8ef);
}

.lm-result-card--attention,
.lm-score-card--primary {
  background: linear-gradient(135deg, #ffffff, #fff4d7);
}

.lm-topic-link-card--active,
.lm-route-step--active {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 199, 87, 0.14), transparent 10rem),
    linear-gradient(135deg, #ffffff, #e9f8ef);
}

.lm-change-summary-card.is-higher,
.lm-change-card.is-higher,
.lm-topic-compare-card.is-higher {
  border-inline-start-color: var(--lm-app-amber);
}

.lm-change-summary-card.is-lower,
.lm-change-card.is-lower,
.lm-topic-compare-card.is-lower {
  border-inline-start-color: var(--lm-app-green);
}

.lm-change-summary-card.is-stable,
.lm-change-card.is-stable,
.lm-topic-compare-card.is-stable {
  border-inline-start-color: var(--lm-app-sky);
}

.lm-result-bullets li::before,
.lm-result-not-diagnosis li::before {
  background: linear-gradient(135deg, var(--lm-app-green), var(--lm-app-sky));
}

@media (max-width: 640px) {
  .lm-section-header {
    text-align: center;
  }

  .lm-question legend {
    align-items: center;
  }
}

.lm-weekly-hero {
  margin-bottom: 1rem;
}

.lm-weekly-last {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.9rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 106, 166, 0.16);
  border-radius: 999px;
  color: var(--lm-app-ink);
  font-weight: 850;
}

.lm-weekly-last strong {
  color: var(--lm-app-blue);
}

.lm-weekly-question-grid {
  display: grid;
  gap: 0.95rem;
}

.lm-weekly-question {
  padding: 0.9rem;
  background: linear-gradient(135deg, #fff, #f7fbfd);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 8px;
}

.lm-scale--compact .lm-scale-option {
  min-height: 78px;
}

.lm-weekly-result-hero {
  margin-bottom: 1rem;
}

.lm-weekly-bullets-panel .lm-section-header,
.lm-weekly-dashboard-panel .lm-section-header {
  padding: 0;
  margin-bottom: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lm-weekly-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.lm-weekly-mini-card {
  display: grid;
  gap: 0.35rem;
  min-height: 128px;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(16, 33, 59, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 33, 59, 0.07);
}

.lm-weekly-mini-card span {
  color: var(--lm-app-blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-weekly-mini-card strong {
  color: var(--lm-app-ink);
  font-size: 1.14rem;
  line-height: 1.3;
}

.lm-weekly-mini-card small {
  color: #5d6879;
  line-height: 1.45;
}

.lm-weekly-mini-card--score {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 199, 87, 0.22), transparent 8rem),
    linear-gradient(145deg, #10213b, #176aa6 62%, #168466);
}

.lm-weekly-mini-card--score span,
.lm-weekly-mini-card--score strong,
.lm-weekly-mini-card--score small {
  color: #fff;
}

.lm-weekly-mini-card--score strong {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.lm-weekly-compare-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.lm-weekly-compare-strip span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  background: #eef8fb;
  border: 1px solid rgba(23, 106, 166, 0.16);
  border-radius: 999px;
  color: #425169;
  font-size: 0.9rem;
  font-weight: 780;
}

.lm-weekly-compare-strip strong {
  color: var(--lm-app-ink);
}

@media (max-width: 860px) {
  .lm-weekly-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.lm-weekly-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 199, 87, 0.22), transparent 9rem),
    radial-gradient(circle at 92% 8%, rgba(34, 197, 154, 0.16), transparent 10rem),
    linear-gradient(135deg, #ffffff 0%, #f4fbff 52%, #fff8eb 100%);
  border: 1px solid rgba(23, 106, 166, 0.16);
}

.lm-weekly-visual::before {
  content: "";
  position: absolute;
  inset: auto -6rem -7rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(23, 106, 166, 0.08);
  pointer-events: none;
}

.lm-weekly-visual__head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(1.1rem, 2vw, 1.65rem);
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}

.lm-weekly-visual__head h3 {
  margin: 0.15rem 0 0.45rem;
  color: var(--lm-app-ink);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.lm-weekly-visual__head p {
  max-width: 780px;
  margin: 0;
  color: #526078;
  font-size: 1.02rem;
  line-height: 1.75;
}

.lm-weekly-score-orb {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 156px;
  width: 156px;
  height: 156px;
  padding: 1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(#168466 0 var(--weekly-score), rgba(16, 33, 59, 0.1) var(--weekly-score) 100%);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.13);
  text-align: center;
}

.lm-weekly-score-orb span,
.lm-weekly-score-orb small {
  color: #536179;
  font-size: 0.82rem;
  font-weight: 800;
}

.lm-weekly-score-orb strong {
  color: var(--lm-app-ink);
  font-size: 2.2rem;
  line-height: 1;
}

.lm-weekly-visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: stretch;
}

.lm-weekly-chart-card,
.lm-weekly-insight-stack article,
.lm-weekly-change-card,
.lm-weekly-first-note {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 33, 59, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 33, 59, 0.08);
}

.lm-weekly-chart-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.lm-weekly-chart-card__top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.lm-weekly-chart-card__top span,
.lm-weekly-insight-stack span,
.lm-weekly-change-card span {
  color: var(--lm-app-blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.lm-weekly-chart-card__top h4 {
  margin: 0.15rem 0 0;
  color: var(--lm-app-ink);
  font-size: 1.18rem;
}

.lm-weekly-chart-card__top strong {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #eef8fb;
  color: var(--lm-app-blue);
  white-space: nowrap;
}

.lm-weekly-chart-card__top strong.is-up {
  background: rgba(22, 132, 102, 0.12);
  color: #116b55;
}

.lm-weekly-chart-card__top strong.is-down {
  background: rgba(229, 92, 62, 0.12);
  color: #b5412b;
}

.lm-weekly-line-chart {
  padding: 0.8rem;
  background:
    linear-gradient(180deg, rgba(244, 251, 255, 0.9), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(23, 106, 166, 0.12);
  border-radius: 8px;
}

.lm-weekly-line-chart svg {
  display: block;
  width: 100%;
  min-height: 220px;
}

.lm-weekly-line-chart line {
  stroke: rgba(16, 33, 59, 0.12);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.lm-weekly-line-chart polyline {
  fill: none;
  stroke: url("#lm-weekly-line-gradient");
  stroke: #168466;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lm-weekly-line-chart circle {
  fill: #fff;
  stroke: #168466;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.lm-weekly-chart-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  color: #66738a;
  font-size: 0.86rem;
  font-weight: 800;
}

.lm-weekly-chart-empty,
.lm-weekly-first-note {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  color: #58667c;
}

.lm-weekly-chart-empty strong,
.lm-weekly-first-note strong {
  color: var(--lm-app-ink);
}

.lm-weekly-insight-stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.lm-weekly-insight-stack article {
  display: grid;
  gap: 0.55rem;
  min-height: 150px;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.lm-weekly-insight-stack strong {
  color: var(--lm-app-ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.lm-weekly-insight-stack small {
  color: #5d6879;
  line-height: 1.55;
}

.lm-weekly-change-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: clamp(1rem, 2vw, 1.45rem);
}

.lm-weekly-change-card {
  display: grid;
  gap: 0.55rem;
  min-height: 126px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-top: 4px solid var(--lm-app-blue);
}

.lm-weekly-change-card strong {
  color: var(--lm-app-ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.lm-weekly-change-card small {
  color: #5d6879;
  font-weight: 800;
}

.lm-weekly-change-card.is-up {
  border-top-color: #168466;
  background: linear-gradient(145deg, #fff, #f0fbf7);
}

.lm-weekly-change-card.is-down {
  border-top-color: #e55c3e;
  background: linear-gradient(145deg, #fff, #fff4ef);
}

.lm-weekly-change-card.is-stable {
  border-top-color: #176aa6;
  background: linear-gradient(145deg, #fff, #f3f8ff);
}

.lm-weekly-compare-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  margin-top: clamp(1rem, 2vw, 1.45rem);
}

.lm-weekly-compare-table__head,
.lm-weekly-compare-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 0.55fr 0.55fr minmax(150px, 0.9fr);
  gap: 0.65rem;
  align-items: center;
}

.lm-weekly-compare-table__head {
  padding: 0 0.85rem;
  color: #69758a;
  font-size: 0.82rem;
  font-weight: 900;
}

.lm-weekly-compare-row {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 8px;
}

.lm-weekly-compare-row strong {
  color: var(--lm-app-ink);
}

.lm-weekly-compare-row span {
  color: #536179;
  font-weight: 800;
}

.lm-weekly-compare-row mark {
  justify-self: start;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(23, 106, 166, 0.1);
  color: var(--lm-app-blue);
  font-weight: 900;
}

.lm-weekly-compare-row.is-up mark {
  background: rgba(22, 132, 102, 0.12);
  color: #116b55;
}

.lm-weekly-compare-row.is-down mark {
  background: rgba(229, 92, 62, 0.12);
  color: #b5412b;
}

.lm-change-card.is-up {
  border-color: rgba(22, 132, 102, 0.22);
}

.lm-change-card.is-down {
  border-color: rgba(229, 92, 62, 0.22);
}

.lm-change-card.is-up .lm-change-card__top span {
  background: rgba(22, 132, 102, 0.12);
  color: #116b55;
}

.lm-change-card.is-down .lm-change-card__top span {
  background: rgba(229, 92, 62, 0.12);
  color: #b5412b;
}

@media (max-width: 920px) {
  .lm-weekly-visual__head,
  .lm-weekly-visual-grid,
  .lm-weekly-change-cards {
    grid-template-columns: 1fr;
  }

  .lm-weekly-visual__head {
    display: grid;
  }

  .lm-weekly-score-orb {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .lm-weekly-compare-table__head {
    display: none;
  }

  .lm-weekly-compare-row {
    grid-template-columns: 1fr;
  }

  .lm-weekly-compare-row mark {
    justify-self: stretch;
    text-align: center;
  }

  .lm-weekly-line-chart svg {
    min-height: 180px;
  }
}

.lm-journey {
  display: grid;
  gap: 24px;
}

.lm-journey-guest,
.lm-journey-hero,
.lm-journey-next,
.lm-journey-stats article,
.lm-journey-focus-grid article,
.lm-journey-weekly,
.lm-journey-change-panel,
.lm-journey-history {
  position: relative;
  overflow: hidden;
}

.lm-journey-guest,
.lm-journey-hero {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 14% 18%, rgba(40, 169, 224, 0.16), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(255, 194, 70, 0.2), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #eef8ff 50%, #fff7e4 100%);
  box-shadow: 0 24px 70px rgba(16, 33, 59, 0.12);
}

.lm-journey-guest {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.lm-journey-guest h2,
.lm-journey-hero h2 {
  margin: 0 0 14px;
  color: #10213b;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.lm-journey-guest p,
.lm-journey-hero p {
  max-width: 760px;
  margin: 0;
  color: #506078;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.9;
}

.lm-journey-guest .lm-actions {
  justify-content: center;
  margin-top: 24px;
}

.lm-journey-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: center;
}

.lm-journey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lm-journey-meta span {
  padding: 9px 13px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #32445f;
  font-weight: 800;
  font-size: 0.9rem;
}

.lm-journey-meter {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #168466 0 var(--lm-meter), rgba(16, 33, 59, 0.1) var(--lm-meter) 100%);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.82), 0 20px 44px rgba(16, 33, 59, 0.16);
  text-align: center;
  color: #10213b;
}

.lm-journey-meter span,
.lm-journey-meter small {
  font-weight: 800;
  color: #51617a;
}

.lm-journey-meter strong {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  color: #10213b;
}

.lm-journey-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 20px;
  align-items: center;
  border-top: 5px solid #28a9e0;
}

.lm-journey-next h3,
.lm-journey-weekly h3,
.lm-journey-change-panel h3,
.lm-journey-history h3,
.lm-journey-focus h3 {
  margin: 0 0 10px;
  color: #10213b;
}

.lm-journey-next p,
.lm-journey-weekly p,
.lm-journey-change-panel p {
  margin: 0;
  color: #5b6980;
  line-height: 1.8;
}

.lm-journey-next__action {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(40, 169, 224, 0.1), rgba(22, 132, 102, 0.12));
}

.lm-journey-next__action.is-locked {
  background: linear-gradient(135deg, rgba(255, 194, 70, 0.2), rgba(255, 255, 255, 0.86));
}

.lm-journey-next__action span,
.lm-journey-next__action strong {
  color: #10213b;
  font-weight: 900;
}

.lm-journey-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lm-journey-stats article,
.lm-journey-focus-grid article {
  padding: 22px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 33, 59, 0.08);
}

.lm-journey-stats span,
.lm-journey-focus-grid span,
.lm-journey-weekly .lm-kicker,
.lm-journey-change-panel .lm-kicker {
  display: block;
  margin-bottom: 8px;
  color: #168466;
  font-weight: 900;
}

.lm-journey-stats strong,
.lm-journey-focus-grid strong {
  display: block;
  color: #10213b;
  font-size: 1.55rem;
  line-height: 1.25;
}

.lm-journey-stats small {
  display: block;
  margin-top: 8px;
  color: #63728a;
  line-height: 1.6;
}

.lm-journey-progress,
.lm-journey-focus-grid div {
  height: 9px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(16, 33, 59, 0.1);
  overflow: hidden;
}

.lm-journey-progress i,
.lm-journey-focus-grid i {
  display: block;
  height: 100%;
  width: var(--journey-progress, var(--score-width, 0%));
  border-radius: inherit;
  background: linear-gradient(90deg, #168466, #28a9e0, #ffc246);
}

.lm-journey-focus-grid,
.lm-journey-columns,
.lm-journey-history-grid {
  display: grid;
  gap: 16px;
}

.lm-journey-focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-journey-columns {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.lm-journey-weekly-score {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 18px 0;
}

.lm-journey-weekly-score strong {
  color: #10213b;
  font-size: 3rem;
  line-height: 1;
}

.lm-journey-weekly-score span {
  margin-bottom: 7px;
  color: #58677e;
  font-weight: 800;
}

.lm-journey-change {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  background: #f8fbff;
}

.lm-journey-change.is-up {
  border-color: rgba(224, 92, 67, 0.24);
  background: #fff6f3;
}

.lm-journey-change.is-down {
  border-color: rgba(22, 132, 102, 0.24);
  background: #effaf5;
}

.lm-journey-change.is-stable {
  border-color: rgba(40, 169, 224, 0.24);
  background: #eff8ff;
}

.lm-journey-change span,
.lm-journey-change small {
  color: #64748b;
  font-weight: 800;
}

.lm-journey-change strong {
  color: #10213b;
  font-size: 1.2rem;
}

.lm-journey-history-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lm-journey-history-grid a {
  display: grid;
  gap: 6px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f4fbff);
  color: #10213b;
  text-decoration: none;
}

.lm-journey-history-grid a:hover,
.lm-journey-history-grid a:focus {
  transform: translateY(-2px);
  border-color: rgba(40, 169, 224, 0.4);
  box-shadow: 0 14px 36px rgba(16, 33, 59, 0.12);
}

.lm-journey-history-grid span,
.lm-journey-history-grid small {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 800;
}

.lm-journey-history-grid strong {
  font-size: 1rem;
  line-height: 1.5;
}

.lm-journey-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .lm-journey-hero,
  .lm-journey-next,
  .lm-journey-columns {
    grid-template-columns: 1fr;
  }

  .lm-journey-meter {
    width: min(230px, 78vw);
    min-height: min(230px, 78vw);
    margin-inline: auto;
  }

  .lm-journey-stats,
  .lm-journey-focus-grid,
  .lm-journey-history-grid {
    grid-template-columns: 1fr;
  }
}

.lm-simple-hub,
.lm-simple-result {
  display: grid;
  gap: 20px;
}

.lm-simple-empty,
.lm-simple-hero,
.lm-simple-result-hero,
.lm-simple-next,
.lm-simple-panel,
.lm-simple-overview article,
.lm-simple-result-grid article {
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(16, 33, 59, 0.08);
}

.lm-simple-empty,
.lm-simple-hero,
.lm-simple-result-hero {
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 169, 224, 0.16), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(255, 194, 70, 0.18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #eef8ff 54%, #fff8e9 100%);
}

.lm-simple-empty {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.lm-simple-empty .lm-actions {
  justify-content: center;
  margin-top: 22px;
}

.lm-simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 24px;
  align-items: center;
}

.lm-simple-empty h1,
.lm-simple-empty h2,
.lm-simple-hero h2,
.lm-simple-result-hero h1,
.lm-simple-result-hero h2 {
  margin: 0 0 12px;
  color: #10213b;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.lm-simple-empty p,
.lm-simple-hero p,
.lm-simple-result-hero p,
.lm-simple-panel p,
.lm-simple-next p {
  margin: 0;
  color: #5b6980;
  font-size: 1.05rem;
  line-height: 1.85;
}

.lm-journey-entry {
  width: min(100%, 820px);
  max-width: 100%;
  margin-inline: auto;
}

.lm-journey-entry__card {
  width: 100%;
  overflow: hidden;
}

.lm-journey-entry__card h1,
.lm-journey-entry__card h2 {
  max-width: 13ch;
  margin-inline: auto;
  text-wrap: balance;
}

.lm-journey-entry__card p {
  max-width: 48ch;
  margin-inline: auto;
}

.lm-journey-entry__card .lm-actions {
  width: min(100%, 360px);
  margin-inline: auto;
}

.lm-simple-status {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(16, 33, 59, 0.08);
}

.lm-simple-status-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.lm-simple-status-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.lm-simple-status-list li span {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-simple-status-list li strong {
  min-width: 0;
  color: #10213b;
  font-size: 0.92rem;
  line-height: 1.35;
}

.lm-button--small {
  min-height: 0;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.lm-simple-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(35, 145, 134, 0.22);
  border-radius: 14px;
  background: rgba(234, 250, 247, 0.9);
  color: #12304f;
}

.lm-simple-notice strong {
  color: #0d7f72;
}

.lm-simple-status span,
.lm-simple-next span,
.lm-simple-overview span,
.lm-simple-result-grid span {
  color: #168466;
  font-weight: 900;
}

.lm-simple-status strong {
  color: #10213b;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.lm-simple-status small,
.lm-simple-overview small,
.lm-simple-result-grid small {
  color: #64748b;
  font-weight: 800;
  line-height: 1.5;
}

.lm-simple-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-top: 5px solid #28a9e0;
}

.lm-simple-next h3,
.lm-simple-panel h3 {
  margin: 5px 0 8px;
  color: #10213b;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.lm-simple-lock {
  display: inline-flex;
  justify-content: center;
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff4d7;
  color: #8a5b12;
  font-weight: 900;
}

.lm-simple-overview,
.lm-simple-result-grid,
.lm-simple-two {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lm-simple-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-simple-two .lm-simple-panel h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.lm-simple-overview article,
.lm-simple-result-grid article {
  display: grid;
  gap: 8px;
  min-height: 145px;
  padding: 22px;
}

.lm-simple-overview strong,
.lm-simple-result-grid strong {
  color: #10213b;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.lm-simple-result-grid article.is-up {
  border-color: rgba(224, 92, 67, 0.22);
  background: #fff7f4;
}

.lm-simple-result-grid article.is-down {
  border-color: rgba(22, 132, 102, 0.22);
  background: #effaf5;
}

.lm-simple-result-grid article.is-stable {
  border-color: rgba(40, 169, 224, 0.22);
  background: #f0f8ff;
}

.lm-simple-panel {
  padding: 24px;
}

.lm-simple-panel__head {
  margin-bottom: 16px;
}

.lm-simple-metrics {
  display: grid;
  gap: 12px;
}

.lm-simple-metrics article {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(78px, auto);
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.lm-simple-metrics article > div:first-child {
  display: grid;
  gap: 4px;
}

.lm-simple-metrics strong {
  color: #10213b;
  font-size: 1.05rem;
}

.lm-simple-metrics span,
.lm-simple-metrics small {
  color: #64748b;
  font-weight: 800;
}

.lm-simple-metrics .is-up span {
  color: #b5412b;
}

.lm-simple-metrics .is-down span {
  color: #116b55;
}

.lm-simple-metrics .is-stable span {
  color: #176aa6;
}

.lm-simple-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 33, 59, 0.09);
}

.lm-simple-bar i {
  display: block;
  width: var(--score-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #168466, #28a9e0, #ffc246);
}

.lm-simple-change-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-simple-change-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #f8fbff;
}

.lm-simple-change-list strong {
  color: #10213b;
}

.lm-simple-change-list span {
  font-weight: 900;
}

.lm-simple-change-list .is-up span {
  color: #b5412b;
}

.lm-simple-change-list .is-down span {
  color: #116b55;
}

.lm-simple-change-list .is-stable span {
  color: #176aa6;
}

.lm-simple-weekly {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}

.lm-simple-weekly strong {
  color: #10213b;
  font-size: 3rem;
  line-height: 1;
}

.lm-simple-weekly span {
  color: #64748b;
  font-weight: 900;
}

.lm-simple-weekly small {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #eef6fb;
  color: #176aa6;
  font-weight: 900;
}

.lm-simple-history {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lm-simple-history a {
  display: grid;
  gap: 7px;
  min-height: 120px;
  padding: 15px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 16px;
  background: #f7fbff;
  color: #10213b;
  text-decoration: none;
}

.lm-simple-history span {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 800;
}

.lm-simple-history strong {
  line-height: 1.5;
}

.lm-simple-result-hero {
  text-align: center;
}

.lm-simple-result-hero p {
  margin-inline: auto;
}

.lm-result-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lm-result-command-strip--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-result-command-strip--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-result-command-strip article {
  display: grid;
  gap: 7px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 169, 224, 0.08), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-result-command-strip article:nth-child(2) {
  background:
    radial-gradient(circle at 12% 18%, rgba(22, 132, 102, 0.1), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f4fff8);
}

.lm-result-command-strip article:nth-child(3) {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.14), transparent 9rem),
    linear-gradient(180deg, #ffffff, #fffaf0);
}

.lm-result-command-strip span {
  color: #168466;
  font-size: 0.88rem;
  font-weight: 950;
}

.lm-result-command-strip strong {
  color: #10213b;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.38;
}

.lm-result-command-strip small {
  color: #64748b;
  font-weight: 800;
  line-height: 1.45;
}

.lm-compact-result .lm-simple-result-hero {
  padding-block: clamp(24px, 4vw, 42px);
}

.lm-compact-result .lm-simple-result-hero :is(h1, h2) {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
}

.lm-compact-result .lm-result-command-strip article {
  align-content: start;
  min-height: 164px;
}

.lm-compact-result .lm-result-command-strip .lm-button {
  justify-self: start;
  margin-top: 8px;
}

.lm-result-command-strip .lm-button--small {
  width: fit-content;
}

.lm-result-layout--minimal .lm-simple-result-hero {
  padding-block: 22px;
}

.lm-result-layout--minimal .lm-human-result,
.lm-result-layout--minimal .lm-result-visual,
.lm-result-layout--minimal .lm-result-command-strip article,
.lm-result-layout--minimal .lm-result-shift,
.lm-result-layout--minimal .lm-results-card {
  box-shadow: none;
}

.lm-result-layout--minimal .lm-human-result__grid,
.lm-result-layout--minimal .lm-result-command-strip {
  grid-template-columns: 1fr;
}

.lm-result-layout--cards .lm-human-result,
.lm-result-layout--cards .lm-result-visual,
.lm-result-layout--cards .lm-result-command-strip article {
  border-radius: 14px;
}

.lm-result-tone--calm .lm-human-result,
.lm-result-tone--calm .lm-result-visual,
.lm-result-tone--calm .lm-result-command-strip article {
  background: linear-gradient(180deg, #ffffff, #f6fbfd);
}

.lm-result-tone--calm .lm-result-bar-track i,
.lm-result-tone--calm .lm-result-meter-line i {
  background: linear-gradient(90deg, #168466, #8ecae6);
}

.lm-result-tone--professional .lm-human-result,
.lm-result-tone--professional .lm-result-visual,
.lm-result-tone--professional .lm-result-command-strip article {
  background: #ffffff;
  border-color: rgba(16, 33, 59, 0.16);
}

.lm-result-tone--professional .lm-result-bar-track i,
.lm-result-tone--professional .lm-result-meter-line i {
  background: linear-gradient(90deg, #10213b, #168466);
}

.lm-result-density--short .lm-human-result__lead,
.lm-result-density--short .lm-human-result article p,
.lm-result-density--short .lm-result-command-strip small,
.lm-result-density--short .lm-result-shift p {
  line-height: 1.5;
}

.lm-result-density--detailed .lm-human-result article,
.lm-result-density--detailed .lm-result-command-strip article {
  min-height: 184px;
}

.lm-human-result {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 194, 70, 0.16), transparent 12rem),
    radial-gradient(circle at 85% 20%, rgba(40, 169, 224, 0.12), transparent 13rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 44px rgba(16, 33, 59, 0.08);
}

.lm-human-result__head {
  display: grid;
  gap: 6px;
}

.lm-human-result__head span {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-human-result__head h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.lm-human-result__lead {
  max-width: 820px;
  margin: 4px 0 0;
  color: #3c4c61;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 780;
  line-height: 1.75;
}

.lm-human-result__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lm-human-result article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.lm-human-result__focus {
  background:
    linear-gradient(180deg, rgba(22, 132, 102, 0.08), rgba(255, 255, 255, 0.9));
  border-color: rgba(22, 132, 102, 0.18);
}

.lm-human-result article strong {
  color: #10213b;
  font-size: 1.08rem;
  line-height: 1.35;
}

.lm-human-result article p,
.lm-human-result article li {
  color: #526174;
  font-weight: 760;
  line-height: 1.65;
}

.lm-human-result article p,
.lm-human-result article ul {
  margin: 0;
}

.lm-human-result article ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.lm-human-result article li {
  position: relative;
  padding-inline-start: 22px;
}

.lm-human-result article li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.72em;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #168466, #28a9e0);
}

.lm-human-result__memory {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid rgba(22, 132, 102, 0.18);
  border-radius: 16px;
  background: rgba(236, 252, 247, 0.78);
  color: #10213b;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.65;
}

.lm-result-visual {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 169, 224, 0.1), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-result-visual__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lm-result-visual__head span {
  color: #168466;
  font-size: 0.88rem;
  font-weight: 950;
}

.lm-result-visual__head strong {
  color: #10213b;
  font-size: 1.05rem;
  text-align: start;
}

.lm-result-bars {
  display: grid;
  gap: 10px;
}

.lm-result-bars article {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 2px 0;
}

.lm-result-bars article > div:first-child {
  display: grid;
  gap: 8px;
}

.lm-result-bars strong {
  color: #10213b;
  font-size: 0.94rem;
}

.lm-result-bars small {
  color: #64748b;
  font-weight: 850;
}

.lm-result-bars .is-primary strong,
.lm-result-bars .is-primary small {
  color: #168466;
}

.lm-result-bar-track,
.lm-result-meter-line {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9f0f6;
}

.lm-result-bar-track i,
.lm-result-meter-line i {
  display: block;
  width: var(--score-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #168466, #28a9e0, #ffc246);
}

.lm-result-bars .is-primary .lm-result-bar-track {
  box-shadow: 0 0 0 3px rgba(255, 194, 70, 0.18);
}

.lm-result-meter-scale {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 850;
}

.lm-result-shift {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-inline-start: 5px solid #28a9e0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-result-shift.is-up {
  border-inline-start-color: #e5ad33;
}

.lm-result-shift.is-down {
  border-inline-start-color: #168466;
}

.lm-result-shift__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lm-result-shift__head span {
  color: #64748b;
  font-weight: 900;
}

.lm-result-shift__head strong {
  color: #10213b;
  font-size: 1.2rem;
}

.lm-result-shift__bars {
  display: grid;
  gap: 9px;
}

.lm-result-shift__bars div {
  display: grid;
  grid-template-columns: minmax(96px, 0.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.lm-result-shift__bars span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 850;
}

.lm-result-shift__bars i {
  display: block;
  width: var(--score-width, 0%);
  height: 12px;
  min-width: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #168466, #28a9e0, #ffc246);
}

.lm-result-shift p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 750;
}

.lm-result-command-strip .is-up {
  border-color: rgba(224, 92, 67, 0.22);
}

.lm-result-command-strip .is-down {
  border-color: rgba(22, 132, 102, 0.22);
}

.lm-result-command-strip .is-stable {
  border-color: rgba(40, 169, 224, 0.22);
}

.lm-simple-takeaway .lm-result-bullets {
  margin-top: 14px;
}

.lm-result-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-color: rgba(22, 132, 102, 0.2);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.14), transparent 13rem),
    linear-gradient(135deg, #ffffff, #f4fff8);
}

.lm-result-feedback h3 {
  margin: 5px 0 6px;
}

.lm-result-feedback__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lm-result-feedback__buttons button {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(16, 33, 59, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #10213b;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lm-result-feedback__buttons button:hover,
.lm-result-feedback__buttons button:focus {
  transform: translateY(-1px);
  border-color: rgba(40, 169, 224, 0.42);
  box-shadow: 0 12px 28px rgba(16, 33, 59, 0.1);
}

.lm-result-feedback__buttons button.is-selected {
  background: linear-gradient(135deg, #10213b, #176aa6);
  border-color: #10213b;
  color: #fff;
}

.lm-result-feedback__buttons button:disabled {
  cursor: default;
}

.lm-wow-moment {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(22, 132, 102, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 194, 70, 0.2), transparent 10rem),
    linear-gradient(135deg, rgba(236, 251, 246, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.08);
}

.lm-wow-moment::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #28a9e0, #168466, #ffc246);
}

.lm-wow-moment span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: #168466;
  font-size: 0.86rem;
  font-weight: 950;
}

.lm-wow-moment strong {
  display: block;
  color: #10213b;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.45;
}

.lm-wow-moment p {
  max-width: 760px;
  margin: 0.45rem 0 0;
  color: #53637a;
  font-weight: 750;
  line-height: 1.75;
}

.lm-result-main-action--teaser {
  margin-top: 18px;
}

.lm-paywall-before-pay {
  margin: 1.2rem 0;
}

.lm-paywall-before-pay__head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.lm-paywall-before-pay__head span {
  color: #168466;
  font-size: 0.88rem;
  font-weight: 950;
}

.lm-paywall-before-pay__head strong {
  color: #10213b;
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  line-height: 1.35;
}

.lm-results-app {
  --lm-results-navy: #10213b;
  --lm-results-navy-2: #143760;
  --lm-results-blue: #2377bf;
  --lm-results-sky: #2fb7d9;
  --lm-results-green: #168466;
  --lm-results-mint: #ecfbf6;
  --lm-results-amber: #ffb72b;
  --lm-results-border: rgba(16, 33, 59, 0.11);
  display: grid;
  grid-template-columns: minmax(210px, 0.22fr) minmax(0, 1fr);
  grid-template-areas: "sidebar main";
  direction: ltr;
  gap: 0;
  max-width: 1320px;
  min-height: 760px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(47, 183, 217, 0.1), transparent 18rem),
    radial-gradient(circle at 74% 82%, rgba(255, 183, 43, 0.12), transparent 22rem),
    linear-gradient(135deg, #f7fbff, #ffffff);
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(16, 33, 59, 0.12);
}

.lm-results-app * {
  box-sizing: border-box;
}

.lm-results-sidebar {
  grid-area: sidebar;
  direction: rtl;
  display: grid;
  align-content: start;
  gap: 1.2rem;
  min-height: 100%;
  padding: 1.35rem 1rem;
  background:
    radial-gradient(circle at 24% 8%, rgba(52, 211, 191, 0.22), transparent 7rem),
    linear-gradient(180deg, #10213b, #0c2747);
  color: #fff;
}

.lm-results-sidebar__brand {
  display: grid;
  gap: 0.18rem;
  padding: 0.45rem 0.35rem 1.1rem;
  color: #fff;
  text-decoration: none;
}

.lm-results-sidebar__brand span {
  width: 44px;
  height: 44px;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #45e0c2 0%, #2377bf 52%, #8b5cf6 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.lm-results-sidebar__brand strong {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 950;
}

.lm-results-sidebar__brand small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.lm-results-sidebar__nav {
  display: grid;
  gap: 0.45rem;
}

.lm-results-sidebar__nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0.62rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.lm-results-sidebar__nav a:hover,
.lm-results-sidebar__nav a:focus,
.lm-results-sidebar__nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.11);
  color: #fff;
  transform: translateX(-2px);
}

.lm-results-sidebar__note {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.lm-results-sidebar__note span {
  color: #ffdc7a;
  font-weight: 950;
}

.lm-results-sidebar__note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.65;
}

.lm-results-main {
  grid-area: main;
  direction: rtl;
  display: grid;
  gap: 1.15rem;
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.55rem);
}

.lm-results-app .lm-clear-hero {
  align-items: center;
  padding: 0.3rem 0 0.85rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lm-results-app .lm-simple-hero {
  align-items: center;
  margin: 0;
  padding: 0.3rem 0 0.85rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lm-results-app .lm-clear-hero h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.lm-results-app .lm-simple-hero h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.lm-results-app .lm-simple-status {
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.16), transparent 7rem),
    linear-gradient(135deg, var(--lm-results-navy), var(--lm-results-blue));
  color: #fff;
}

.lm-results-app .lm-simple-status span,
.lm-results-app .lm-simple-status strong,
.lm-results-app .lm-simple-status small {
  color: #fff;
}

.lm-results-app .lm-clear-meter {
  min-height: 132px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.16), transparent 7rem),
    linear-gradient(135deg, var(--lm-results-navy), var(--lm-results-blue));
}

.lm-results-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  align-items: stretch;
}

.lm-results-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.95rem;
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--lm-results-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.08);
}

.lm-results-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lm-results-sky), var(--lm-results-green), var(--lm-results-amber));
}

.lm-results-card__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.lm-results-card__head span,
.lm-results-card > span {
  color: var(--lm-results-green);
  font-size: 0.87rem;
  font-weight: 950;
}

.lm-results-card h3 {
  margin: 0.2rem 0 0;
  color: var(--lm-results-navy);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.35;
}

.lm-results-card p,
.lm-results-card small {
  margin: 0;
  color: #5d6879;
  font-weight: 760;
  line-height: 1.62;
}

.lm-results-card--orbit {
  min-height: 320px;
}

.lm-result-orbit {
  position: relative;
  min-height: 220px;
  margin-top: 0.25rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 119, 191, 0.14), transparent 4.2rem),
    radial-gradient(circle at 50% 50%, transparent 4.2rem, rgba(35, 119, 191, 0.08) 4.25rem, rgba(35, 119, 191, 0.08) 4.35rem, transparent 4.45rem),
    linear-gradient(180deg, #ffffff, #f5fbff);
}

.lm-result-orbit__center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 8px solid #e8f0ff;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(16, 33, 59, 0.12);
}

.lm-result-orbit__center span {
  width: 22px;
  height: 22px;
  border: 3px solid var(--lm-results-blue);
  border-radius: 999px;
  box-shadow: 0 19px 0 6px rgba(35, 119, 191, 0.14);
}

.lm-result-orbit__pill {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  min-width: 116px;
  padding: 0.52rem 0.62rem;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 33, 59, 0.08);
  text-align: center;
}

.lm-result-orbit__pill strong {
  color: var(--lm-results-navy);
  font-size: 0.82rem;
  line-height: 1.25;
}

.lm-result-orbit__pill small {
  color: #6b778a;
  font-size: 0.72rem;
  line-height: 1.2;
}

.lm-result-orbit__pill--1 {
  inset-block-start: 10px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  border-color: rgba(224, 92, 67, 0.22);
}

.lm-result-orbit__pill--2 {
  inset-block-start: 62px;
  inset-inline-end: 7px;
  border-color: rgba(35, 119, 191, 0.2);
}

.lm-result-orbit__pill--3 {
  inset-block-end: 28px;
  inset-inline-end: 34px;
  border-color: rgba(139, 92, 246, 0.2);
}

.lm-result-orbit__pill--4 {
  inset-block-end: 24px;
  inset-inline-start: 34px;
  border-color: rgba(255, 183, 43, 0.28);
}

.lm-result-orbit__pill--5 {
  inset-block-start: 72px;
  inset-inline-start: 8px;
  border-color: rgba(22, 132, 102, 0.22);
}

.lm-results-mini-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(35, 119, 191, 0.18);
  border-radius: 8px;
  background: #f3f8ff;
  color: var(--lm-results-navy);
  font-weight: 900;
  text-decoration: none;
}

.lm-results-card--chart {
  min-height: 320px;
}

.lm-results-line-chart {
  min-height: 176px;
  padding: 0.6rem 0.2rem 0;
}

.lm-results-line-chart svg {
  width: 100%;
  height: 170px;
  overflow: visible;
}

.lm-results-line-chart line {
  stroke: rgba(16, 33, 59, 0.09);
  stroke-width: 0.5;
}

.lm-results-line-chart polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lm-results-line-chart__line {
  fill: none;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lm-results-line-chart__line--red {
  stroke: #ff4d5a;
}

.lm-results-line-chart__line--blue {
  stroke: #2f80ed;
}

.lm-results-line-chart__line--green {
  stroke: #22a06b;
}

.lm-results-line-chart__line--purple {
  stroke: #8b5cf6;
}

.lm-results-line-chart__line--amber {
  stroke: #f5a623;
}

.lm-results-line-chart__main {
  stroke: #ff4d5a;
  stroke-width: 1.9;
}

.lm-results-line-chart__soft {
  stroke-width: 1.45;
}

.lm-results-line-chart__soft--one {
  stroke: #2377bf;
}

.lm-results-line-chart__soft--two {
  stroke: #168466;
}

.lm-results-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
  color: #6b778a;
  font-size: 0.8rem;
  font-weight: 850;
}

.lm-results-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -0.3rem;
  color: #6b778a;
  font-size: 0.72rem;
  font-weight: 800;
}

.lm-results-chart-legend span {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
}

.lm-results-chart-legend span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.lm-results-chart-legend .is-red {
  color: #ff4d5a;
}

.lm-results-chart-legend .is-blue {
  color: #2f80ed;
}

.lm-results-chart-legend .is-green {
  color: #22a06b;
}

.lm-results-chart-legend .is-purple {
  color: #8b5cf6;
}

.lm-results-chart-legend .is-amber {
  color: #f5a623;
}

.lm-results-chart-note {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(16, 33, 59, 0.07);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 760;
}

.lm-results-card--next {
  border-color: rgba(22, 132, 102, 0.18);
  background:
    radial-gradient(circle at 14% 16%, rgba(22, 132, 102, 0.13), transparent 10rem),
    linear-gradient(180deg, #ffffff, #f3fff9);
}

.lm-results-card--next .lm-button {
  justify-self: start;
  width: auto;
}

.lm-results-card--deep {
  grid-column: span 1;
  min-height: 184px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 12%, rgba(47, 183, 217, 0.22), transparent 9rem),
    linear-gradient(135deg, #10213b, #143760);
}

.lm-results-card--deep::before {
  background: linear-gradient(90deg, #45e0c2, #8b5cf6);
}

.lm-results-card--deep span,
.lm-results-card--deep h3,
.lm-results-card--deep p {
  color: #fff;
}

.lm-results-card--deep p {
  color: rgba(255, 255, 255, 0.78);
}

.lm-results-card--timeline {
  grid-column: span 2;
}

.lm-results-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.lm-results-timeline div {
  position: relative;
  display: grid;
  gap: 0.28rem;
  min-height: 96px;
  padding: 0.85rem;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 8px;
  background: #f8fbff;
}

.lm-results-timeline div::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-bottom: 0.2rem;
  border-radius: 999px;
  background: #d9e5f2;
  box-shadow: inset 0 0 0 6px #fff;
}

.lm-results-timeline div.is-done::before {
  background: var(--lm-results-green);
}

.lm-results-timeline div.is-current::before {
  background: var(--lm-results-amber);
}

.lm-results-timeline span {
  color: #6b778a;
  font-size: 0.82rem;
  font-weight: 850;
}

.lm-results-timeline strong {
  color: var(--lm-results-navy);
  line-height: 1.35;
}

.lm-results-timeline small {
  color: #6b778a;
  font-size: 0.78rem;
}

.lm-results-history-button {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 0.2rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(35, 119, 191, 0.16);
  border-radius: 8px;
  background: #f8fbff;
  color: #10213b;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.lm-results-app .lm-panel,
.lm-results-app .lm-weekly-visual,
.lm-results-app .lm-change-panel,
.lm-results-app .lm-next-step-panel,
.lm-results-app .lm-current-scores-panel {
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.07);
}

.lm-results-app .lm-weekly-visual {
  margin-top: 0;
}

.lm-simple-result.lm-compact-result {
  max-width: 1120px;
}

.lm-compact-result .lm-simple-result-hero,
.lm-compact-result .lm-human-result,
.lm-compact-result .lm-result-visual,
.lm-compact-result .lm-result-command-strip article,
.lm-compact-result .lm-result-shift {
  border-radius: 8px;
}

.lm-compact-result .lm-simple-result-hero {
  padding: clamp(1.2rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 16% 14%, rgba(47, 183, 217, 0.14), transparent 14rem),
    radial-gradient(circle at 84% 12%, rgba(255, 183, 43, 0.14), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f7fbff);
  border: 1px solid rgba(16, 33, 59, 0.08);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.07);
}

.lm-compact-result .lm-human-result {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 14%, rgba(22, 132, 102, 0.12), transparent 13rem),
    linear-gradient(135deg, #ffffff, #f6fbff);
}

.lm-compact-result .lm-human-result__head {
  align-content: center;
  padding: clamp(1rem, 2vw, 1.3rem);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 33, 59, 0.96), rgba(35, 119, 191, 0.92));
}

.lm-compact-result .lm-human-result__head span,
.lm-compact-result .lm-human-result__head h3,
.lm-compact-result .lm-human-result__head p {
  color: #fff;
}

.lm-compact-result .lm-human-result__grid {
  align-content: stretch;
}

.lm-compact-result .lm-human-result article {
  border-radius: 8px;
  box-shadow: none;
}

@media (max-width: 1080px) {
  .lm-results-app {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "main";
  }

  .lm-results-sidebar {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .lm-results-sidebar__nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: auto;
  }

  .lm-results-sidebar__nav a {
    justify-content: center;
    white-space: nowrap;
  }

  .lm-results-sidebar__note {
    display: none;
  }

  .lm-results-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-results-card--timeline {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .lm-results-app {
    border-radius: 0;
    border-inline: 0;
  }

  .lm-results-main {
    padding: 0.85rem;
  }

  .lm-results-sidebar {
    padding: 1rem 0.85rem;
  }

  .lm-results-sidebar__nav {
    grid-template-columns: repeat(5, max-content);
    padding-bottom: 0.2rem;
  }

  .lm-results-app .lm-clear-hero,
  .lm-results-board,
  .lm-results-timeline,
  .lm-compact-result .lm-human-result {
    grid-template-columns: 1fr;
  }

  .lm-results-card--timeline,
  .lm-results-card--deep {
    grid-column: auto;
  }

  .lm-result-orbit {
    min-height: 310px;
  }

  .lm-result-orbit__pill {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0.42rem;
  }

  .lm-result-orbit__center {
    position: relative;
    inset: auto;
    margin: 0.65rem auto 0.8rem;
    transform: none;
  }

  .lm-results-line-chart svg {
    height: 135px;
  }
}

/* Screenshot-style results dashboard */
.lm-results-app {
  grid-template-columns: minmax(0, 1fr) 218px;
  grid-template-areas: "main sidebar";
  direction: ltr;
  min-height: 720px;
  background:
    radial-gradient(circle at 20% 18%, rgba(34, 169, 224, 0.06), transparent 18rem),
    radial-gradient(circle at 78% 88%, rgba(255, 183, 43, 0.08), transparent 22rem),
    #f8fbff;
  border-radius: 9px;
}

.lm-results-app > .lm-results-sidebar {
  grid-area: sidebar;
  direction: rtl;
  grid-column: auto;
  grid-row: 1;
}

.lm-results-app > .lm-results-main {
  grid-area: main;
  direction: rtl;
  grid-column: auto;
  grid-row: 1;
}

.lm-results-sidebar {
  padding: 1.15rem 0.9rem;
  background:
    radial-gradient(circle at 50% 5%, rgba(44, 218, 194, 0.18), transparent 8rem),
    linear-gradient(180deg, #102746 0%, #0c294c 46%, #09213d 100%);
}

.lm-results-sidebar__brand {
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.65rem;
  padding: 0.35rem 0.25rem 1.2rem;
}

.lm-results-sidebar__brand span {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  margin: 0;
}

.lm-results-sidebar__brand strong {
  align-self: end;
  font-size: 1.1rem;
}

.lm-results-sidebar__brand small {
  align-self: start;
  font-size: 0.76rem;
}

.lm-results-sidebar__nav a {
  justify-content: flex-start;
  min-height: 44px;
  padding: 0.64rem 0.72rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.lm-results-sidebar__nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 3px 0 0 rgba(62, 222, 199, 0.9);
}

.lm-results-sidebar__note {
  margin-top: 2.5rem;
  padding: 0.9rem;
}

.lm-results-main {
  gap: 0.85rem;
  padding: 1.15rem 1.4rem 1.25rem;
}

.lm-results-topbar {
  display: flex;
  direction: ltr;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-start;
  min-height: 32px;
}

.lm-results-topbar > * {
  direction: rtl;
}

.lm-results-top-pill,
.lm-results-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(16, 33, 59, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #10213b;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16, 33, 59, 0.05);
}

.lm-results-top-pill {
  padding: 0.22rem 0.7rem;
}

.lm-results-icon-btn {
  width: 30px;
  color: transparent;
  position: relative;
}

.lm-results-icon-btn::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid #10213b;
  border-radius: 999px 999px 7px 7px;
}

.lm-results-app .lm-simple-hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 58px;
  padding: 0;
  text-align: center;
}

.lm-results-app .lm-simple-hero .lm-kicker,
.lm-results-app .lm-simple-status {
  display: none;
}

.lm-results-app .lm-simple-hero h2 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.1;
}

.lm-results-app .lm-simple-hero p {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.93rem;
  font-weight: 760;
}

.lm-results-board {
  direction: ltr;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  grid-template-rows: minmax(236px, auto) minmax(156px, auto) auto;
  gap: 0.9rem;
}

.lm-results-board > * {
  direction: rtl;
}

.lm-results-card {
  gap: 0.72rem;
  padding: 0.92rem;
  border-color: rgba(16, 33, 59, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(16, 33, 59, 0.06);
}

.lm-results-card::before {
  height: 3px;
}

.lm-results-card__head span,
.lm-results-card > span {
  color: #168466;
  font-size: 0.82rem;
}

.lm-results-card h3 {
  font-size: 1rem;
}

.lm-results-card p,
.lm-results-card small {
  font-size: 0.84rem;
}

.lm-results-card--orbit {
  grid-column: 1;
  grid-row: 1;
  min-height: 236px;
}

.lm-results-card--chart {
  grid-column: 2;
  grid-row: 1;
  min-height: 236px;
}

.lm-results-card--next {
  grid-column: 3;
  grid-row: 1;
  min-height: 236px;
  align-content: center;
}

.lm-results-card--deep {
  grid-column: 1;
  grid-row: 2;
  min-height: 156px;
  align-content: center;
}

.lm-results-card--timeline {
  grid-column: 2 / span 2;
  grid-row: 2;
  min-height: 156px;
}

.lm-result-orbit {
  min-height: 155px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 119, 191, 0.16), transparent 3.2rem),
    radial-gradient(circle at 50% 50%, transparent 3.4rem, rgba(35, 119, 191, 0.08) 3.45rem, rgba(35, 119, 191, 0.08) 3.55rem, transparent 3.65rem),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.lm-result-orbit__center {
  width: 54px;
  height: 54px;
  border-width: 7px;
}

.lm-result-orbit__center span {
  width: 18px;
  height: 18px;
  box-shadow: 0 16px 0 5px rgba(35, 119, 191, 0.14);
}

.lm-result-orbit__pill {
  min-width: 100px;
  padding: 0.42rem 0.52rem;
  box-shadow: 0 8px 18px rgba(16, 33, 59, 0.06);
}

.lm-result-orbit__pill strong {
  font-size: 0.74rem;
}

.lm-result-orbit__pill small {
  font-size: 0.66rem;
}

.lm-result-orbit__pill--1 {
  inset-block-start: 4px;
}

.lm-result-orbit__pill--2 {
  inset-block-start: 45px;
  inset-inline-end: 0;
}

.lm-result-orbit__pill--3 {
  inset-block-end: 7px;
  inset-inline-end: 26px;
}

.lm-result-orbit__pill--4 {
  inset-block-end: 8px;
  inset-inline-start: 26px;
}

.lm-result-orbit__pill--5 {
  inset-block-start: 50px;
  inset-inline-start: 0;
}

.lm-results-mini-button {
  min-height: 32px;
  padding: 0.42rem 0.65rem;
  font-size: 0.78rem;
}

.lm-results-line-chart {
  min-height: 122px;
  padding-top: 0.2rem;
}

.lm-results-line-chart svg {
  height: 126px;
}

.lm-results-line-chart__main {
  stroke-width: 1.55;
}

.lm-results-line-chart__soft {
  stroke-width: 1.18;
}

.lm-results-chart-legend {
  justify-content: center;
  gap: 1rem;
  font-size: 0.72rem;
}

.lm-results-card--next .lm-button,
.lm-results-card--deep .lm-button {
  justify-self: stretch;
  min-height: 42px;
  padding-block: 0.65rem;
}

.lm-results-card--deep {
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 7rem),
    linear-gradient(135deg, #10213b, #0f3c68);
}

.lm-results-card--deep .lm-button--secondary {
  background: #ffb72b;
  border-color: #ffb72b;
  color: #10213b;
}

.lm-results-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.lm-results-timeline div {
  min-height: 86px;
  padding: 0.72rem;
  text-align: center;
}

.lm-results-timeline div::before {
  margin-inline: auto;
}

.lm-results-card--chart .lm-results-card__head {
  justify-content: center;
  text-align: center;
}

.lm-results-card--chart .lm-results-card__head span {
  color: #10213b;
  font-size: 0.92rem;
}

.lm-results-card--chart h3 {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 760;
}

.lm-results-card--chart .lm-results-line-chart {
  min-height: 126px;
  padding-inline: 0.3rem;
}

.lm-results-card--chart .lm-results-line-chart svg {
  height: 118px;
}

.lm-results-card--chart .lm-results-chart-legend {
  justify-content: center;
  gap: 0.55rem 0.8rem;
}

.lm-results-card--chart .lm-results-chart-note {
  margin-top: 0;
  text-align: center;
}

.lm-results-card--timeline {
  align-content: center;
  padding-inline: 1.05rem;
}

.lm-results-card--timeline .lm-results-card__head {
  justify-content: center;
  text-align: center;
}

.lm-results-card--timeline .lm-results-card__head span {
  color: #10213b;
  font-size: 0.95rem;
}

.lm-results-card--timeline h3 {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 760;
}

.lm-results-card--timeline .lm-results-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  padding-top: 0.15rem;
}

.lm-results-card--timeline .lm-results-timeline::before {
  content: "";
  position: absolute;
  inset-block-start: 16px;
  inset-inline: 9%;
  height: 2px;
  background: #dbe5f0;
}

.lm-results-card--timeline .lm-results-timeline div {
  z-index: 1;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.lm-results-card--timeline .lm-results-timeline div::before {
  width: 32px;
  height: 32px;
  margin-bottom: 0.55rem;
  background: #d9e5f2;
  box-shadow: inset 0 0 0 8px #fff, 0 6px 14px rgba(16, 33, 59, 0.08);
}

.lm-results-card--timeline .lm-results-timeline div.is-done::before {
  background: #24a389;
}

.lm-results-card--timeline .lm-results-timeline div.is-current::before {
  background: #3f8cff;
}

.lm-results-card--timeline .lm-results-timeline div.is-warm::before {
  background: #f5a623;
}

.lm-results-card--timeline .lm-results-timeline strong {
  font-size: 0.78rem;
}

.lm-results-card--timeline .lm-results-timeline span,
.lm-results-card--timeline .lm-results-timeline small {
  font-size: 0.68rem;
}

.lm-results-card--timeline .lm-results-history-button {
  margin-top: 0.15rem;
}

.lm-results-insight-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-inline-start: 5px solid #168466;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(16, 33, 59, 0.05);
}

.lm-results-insight-strip strong {
  color: #168466;
  font-size: 0.92rem;
  white-space: nowrap;
}

.lm-results-insight-strip span {
  color: #10213b;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.55;
}

.lm-results-extra {
  display: none;
}

.lm-teaser-result {
  --lm-results-navy: #10213b;
  --lm-results-navy-2: #143760;
  --lm-results-blue: #2377bf;
  --lm-results-sky: #2fb7d9;
  --lm-results-green: #168466;
  --lm-results-mint: #ecfbf6;
  --lm-results-amber: #ffb72b;
  --lm-results-border: rgba(16, 33, 59, 0.11);
}

.lm-teaser-result-dashboard {
  max-width: 1120px;
  margin: 1.2rem auto;
}

.lm-teaser-result-dashboard .lm-results-card--next .lm-button,
.lm-teaser-result-dashboard .lm-results-card--deep .lm-button {
  text-decoration: none;
}

.lm-teaser-insight-strip {
  max-width: 1120px;
  margin: 0 auto 1.2rem;
}

.lm-teaser-paywall-anchor {
  scroll-margin-top: 96px;
}

@media (max-width: 1080px) {
  .lm-results-app {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "main";
  }

  .lm-results-app > .lm-results-sidebar,
  .lm-results-app > .lm-results-main {
    grid-column: auto;
    grid-row: auto;
  }

  .lm-results-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .lm-results-card--orbit,
  .lm-results-card--chart,
  .lm-results-card--next,
  .lm-results-card--deep,
  .lm-results-card--timeline {
    grid-column: auto;
    grid-row: auto;
  }

  .lm-results-card--chart,
  .lm-results-card--timeline {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .lm-results-board {
    direction: rtl;
    grid-template-columns: 1fr;
  }

  .lm-results-card--chart,
  .lm-results-card--timeline {
    grid-column: auto;
  }

  .lm-results-insight-strip {
    grid-template-columns: 1fr;
  }
}

.lm-result-feedback__message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(22, 132, 102, 0.2);
  border-radius: 14px;
  background: rgba(234, 250, 247, 0.9);
  color: #116b55;
  font-weight: 850;
}

.lm-result-feedback__message.is-error {
  border-color: rgba(138, 31, 31, 0.2);
  background: rgba(255, 241, 241, 0.92);
  color: #8a1f1f;
}

.lm-simple-evidence .lm-result-bullets small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 800;
}

.lm-pattern-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: 20px;
  align-items: center;
  border-color: rgba(22, 132, 102, 0.18);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 194, 70, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f2fbff 52%, #f4fff8 100%);
}

.lm-pattern-signal p {
  max-width: 760px;
}

.lm-score-explain {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(40, 169, 224, 0.16);
  border-radius: 14px;
  background: rgba(240, 248, 255, 0.82);
  color: #40516b;
  font-weight: 800;
  line-height: 1.7;
}

.lm-pattern-signal__meta {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.08);
  text-align: center;
}

.lm-pattern-signal__meta span {
  color: #168466;
  font-size: 1.45rem;
  font-weight: 950;
}

.lm-pattern-signal__meta strong {
  color: #10213b;
  font-size: 0.95rem;
}

.lm-pattern-signal__meta small {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
}

.lm-simple-save .lm-actions,
.lm-simple-result-actions {
  margin-top: 18px;
}

.lm-paywall-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 1rem 0 1.25rem;
}

.lm-paywall-teaser-bridge,
.lm-paywall-personal-unlock,
.lm-teaser-upsell-preview,
.lm-paywall-week-path,
.lm-paywall-why,
.lm-paywall-payment-trust {
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-paywall-personal-unlock {
  display: grid;
  gap: 14px;
  margin: 0.25rem 0 1.2rem;
  padding: 18px;
  border-color: rgba(22, 132, 102, 0.2);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.16), transparent 13rem),
    radial-gradient(circle at 90% 0%, rgba(40, 169, 224, 0.12), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 255, 248, 0.86));
}

.lm-paywall-personal-unlock__head {
  display: grid;
  gap: 5px;
}

.lm-paywall-personal-unlock__head span,
.lm-paywall-personal-unlock__grid span {
  color: #168466;
  font-weight: 950;
}

.lm-paywall-personal-unlock__head strong {
  color: #10213b;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.lm-paywall-personal-unlock__head p {
  max-width: 760px;
  margin: 0;
  color: #5b6980;
  line-height: 1.75;
}

.lm-paywall-personal-unlock__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lm-paywall-personal-unlock__grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-paywall-personal-unlock__grid article:nth-child(1) {
  border-top: 4px solid #168466;
}

.lm-paywall-personal-unlock__grid article:nth-child(2) {
  border-top: 4px solid #28a9e0;
}

.lm-paywall-personal-unlock__grid article:nth-child(3) {
  border-top: 4px solid #ffc246;
}

.lm-paywall-personal-unlock__grid strong {
  color: #10213b;
  font-size: 1.04rem;
  line-height: 1.45;
}

.lm-paywall-personal-unlock__grid p {
  margin: 0;
  color: #5b6980;
  line-height: 1.7;
}

.lm-paywall-teaser-bridge {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0.25rem 0 1.2rem;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.8);
}

.lm-paywall-teaser-bridge div,
.lm-teaser-upsell-preview__items span {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.lm-paywall-teaser-bridge span,
.lm-paywall-week-path__head span,
.lm-teaser-upsell-preview__items span,
.lm-paywall-payment-trust span {
  color: #168466;
  font-weight: 950;
}

.lm-paywall-teaser-bridge strong,
.lm-paywall-week-path__head strong,
.lm-paywall-why strong {
  color: #10213b;
  font-size: 1.08rem;
  line-height: 1.45;
}

.lm-paywall-teaser-bridge p,
.lm-paywall-week-path li,
.lm-paywall-why p {
  margin: 0;
  color: #5b6980;
  line-height: 1.7;
}

.lm-paywall-trust-grid article,
.lm-register-onboarding,
.lm-result-reading-grid article,
.lm-insight-history-list article {
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-paywall-trust-grid article {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 16px;
}

.lm-paywall-trust-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #10213b, #176aa6);
  color: #fff;
  font-weight: 950;
}

.lm-paywall-trust-grid strong,
.lm-register-onboarding h3,
.lm-result-reading-grid strong,
.lm-insight-history-list strong {
  color: #10213b;
  font-size: 1.02rem;
  line-height: 1.45;
}

.lm-paywall-trust-grid p,
.lm-register-onboarding li,
.lm-result-reading-grid p,
.lm-insight-history-list p {
  margin: 0;
  color: #5b6980;
  line-height: 1.7;
}

.lm-register-onboarding {
  display: grid;
  gap: 10px;
  margin: 1rem 0;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.16), transparent 11rem),
    rgba(255, 255, 255, 0.78);
}

.lm-register-onboarding h3 {
  margin: 0;
}

.lm-register-onboarding ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 1.2rem 0 0;
}

.lm-teaser-upsell-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 16px;
  align-items: center;
  border-color: rgba(22, 132, 102, 0.16);
  background:
    radial-gradient(circle at 12% 14%, rgba(40, 169, 224, 0.12), transparent 16rem),
    radial-gradient(circle at 84% 18%, rgba(255, 194, 70, 0.16), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f4fff8);
}

.lm-teaser-upsell-preview h3 {
  margin-top: 6px;
}

.lm-teaser-upsell-preview__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lm-teaser-upsell-preview__items span {
  min-height: 72px;
  align-content: center;
  color: #10213b;
}

.lm-paywall-week-path {
  display: grid;
  gap: 12px;
  margin: 0.25rem 0 1.2rem;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 169, 224, 0.12), transparent 14rem),
    rgba(255, 255, 255, 0.78);
}

.lm-paywall-week-path__head {
  display: grid;
  gap: 4px;
}

.lm-paywall-week-path ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-paywall-week-path li {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.lm-paywall-why {
  display: grid;
  gap: 6px;
  margin: 0.25rem 0 1.2rem;
  padding: 16px;
  border-color: rgba(255, 194, 70, 0.26);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.18), transparent 12rem),
    rgba(255, 255, 255, 0.78);
}

.lm-paywall-payment-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.lm-paywall-payment-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f4fbff;
  color: #40516b;
  font-size: 0.88rem;
}

.lm-checkout-clarity {
  margin: 0 0 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(20, 132, 111, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(233, 248, 239, 0.94), rgba(232, 246, 255, 0.94));
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.08);
  color: #10213b;
}

.lm-checkout-clarity strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #10213b;
  font-size: 1.05rem;
}

.lm-checkout-clarity ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0 1.1rem 0 0;
}

.lm-checkout-clarity li {
  line-height: 1.65;
}

.lm-checkout-clarity p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.lm-checkout-clarity a {
  color: #126ca5;
  text-decoration: none;
}

.lm-checkout-clarity a:hover,
.lm-checkout-clarity a:focus {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.lm-paywall-value-ladder,
.lm-paywall-proof,
.lm-paywall-social-proof,
.lm-journey-clarity,
.lm-result-core-answer__grid,
.lm-result-life-clues__grid {
  display: grid;
  gap: 14px;
}

.lm-result-core-answer {
  margin: 1.15rem 0 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgba(22, 132, 102, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(40, 169, 224, 0.13), transparent 16rem),
    radial-gradient(circle at 92% 6%, rgba(255, 194, 70, 0.18), transparent 14rem),
    linear-gradient(135deg, #ffffff, #f4fbff);
  box-shadow: 0 18px 46px rgba(16, 33, 59, 0.08);
}

.lm-result-core-answer__head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.lm-result-core-answer__head span,
.lm-result-core-answer__grid span {
  color: #168466;
  font-weight: 950;
}

.lm-result-core-answer__head h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
}

.lm-result-core-answer__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-result-core-answer__grid article {
  display: grid;
  gap: 0.55rem;
  min-height: 168px;
  padding: clamp(1rem, 2.4vw, 1.25rem);
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 32px rgba(16, 33, 59, 0.06);
}

.lm-result-core-answer__grid article:first-child {
  border-top: 4px solid #28a9e0;
}

.lm-result-core-answer__grid article:nth-child(2) {
  border-top: 4px solid #168466;
}

.lm-result-core-answer__grid article:nth-child(3) {
  border-top: 4px solid #ffc246;
}

.lm-result-core-answer__grid strong {
  color: #10213b;
  font-size: 1.1rem;
  line-height: 1.45;
}

.lm-result-core-answer__grid p {
  margin: 0;
  color: #52647a;
  font-weight: 750;
  line-height: 1.75;
}

.lm-result-core-answer--focused {
  margin-top: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

.lm-result-core-answer--focused .lm-result-core-answer__grid article {
  align-content: start;
  min-height: 146px;
}

.lm-result-core-answer--focused .lm-result-core-answer__grid span {
  font-size: 0.92rem;
}

.lm-result-core-answer--focused .lm-result-core-answer__grid p {
  color: #24344d;
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  font-weight: 850;
}

.lm-result-main-action {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(22, 132, 102, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 252, 248, 0.92));
  box-shadow: 0 16px 34px rgba(16, 33, 59, 0.07);
}

.lm-result-main-action div {
  display: grid;
  gap: 0.28rem;
}

.lm-result-main-action strong {
  color: #10213b;
  font-size: 1.15rem;
  font-weight: 950;
}

.lm-result-main-action span {
  color: #536179;
  font-weight: 800;
  line-height: 1.55;
}

.lm-result-main-action .lm-button {
  flex: 0 0 auto;
}

.lm-paywall-value-ladder {
  margin: 0.25rem 0 1.2rem;
  padding: 18px;
  border: 1px solid rgba(40, 169, 224, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 14%, rgba(40, 169, 224, 0.12), transparent 14rem),
    radial-gradient(circle at 88% 18%, rgba(255, 194, 70, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-paywall-value-ladder__head {
  display: grid;
  gap: 4px;
}

.lm-paywall-value-ladder__head span,
.lm-paywall-value-ladder__grid span,
.lm-journey-clarity span {
  color: #168466;
  font-weight: 950;
}

.lm-paywall-value-ladder__head strong {
  color: #10213b;
  font-size: 1.15rem;
  line-height: 1.45;
}

.lm-paywall-value-ladder__grid,
.lm-paywall-proof,
.lm-result-life-clues__grid,
.lm-journey-clarity {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-paywall-value-ladder__grid article,
.lm-paywall-proof article,
.lm-result-life-clues__grid article,
.lm-journey-clarity article {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 16px;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.07);
}

.lm-paywall-proof {
  margin: 0.25rem 0 1.2rem;
}

.lm-paywall-social-proof {
  margin: 0.15rem 0 1.25rem;
  padding: 18px;
  border: 1px solid rgba(22, 132, 102, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 194, 70, 0.16), transparent 12rem),
    radial-gradient(circle at 92% 8%, rgba(40, 169, 224, 0.13), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 251, 255, 0.88));
  box-shadow: 0 16px 38px rgba(16, 33, 59, 0.07);
}

.lm-paywall-social-proof__head {
  display: grid;
  gap: 5px;
}

.lm-paywall-social-proof__head span,
.lm-paywall-social-proof__grid span {
  color: #168466;
  font-weight: 950;
}

.lm-paywall-social-proof__head strong {
  color: #10213b;
  font-size: 1.12rem;
  line-height: 1.45;
}

.lm-paywall-social-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lm-paywall-social-proof__grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 148px;
  padding: 15px;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 33, 59, 0.06);
}

.lm-paywall-social-proof__grid article:first-child {
  border-top: 4px solid #28a9e0;
}

.lm-paywall-social-proof__grid article:nth-child(2) {
  border-top: 4px solid #168466;
}

.lm-paywall-social-proof__grid article:nth-child(3) {
  border-top: 4px solid #ffc246;
}

.lm-paywall-social-proof__grid strong {
  color: #10213b;
  font-size: 1rem;
  line-height: 1.45;
}

.lm-paywall-social-proof__grid p {
  margin: 0;
  color: #5b6980;
  font-weight: 750;
  line-height: 1.7;
}

.lm-paywall-short-proof {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 132, 102, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 251, 246, 0.92), rgba(255, 250, 236, 0.86));
  color: #10213b;
  font-weight: 900;
  line-height: 1.65;
}

.lm-paywall-proof strong,
.lm-paywall-value-ladder__grid strong,
.lm-result-life-clues__grid strong,
.lm-journey-clarity strong {
  color: #10213b;
  font-size: 1.05rem;
  line-height: 1.45;
}

.lm-paywall-proof p,
.lm-paywall-value-ladder__grid p,
.lm-result-life-clues__grid p,
.lm-journey-clarity p {
  margin: 0;
  color: #5b6980;
  line-height: 1.72;
}

.lm-result-life-clues {
  border-color: rgba(255, 194, 70, 0.22);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.16), transparent 16rem),
    linear-gradient(135deg, #ffffff, #fffaf0);
}

.lm-journey-clarity {
  margin: 0;
}

.lm-journey-control-center {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 1rem;
}

.lm-journey-control-center article {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 170px;
  padding: 16px;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(40, 169, 224, 0.12), transparent 9rem),
    #ffffff;
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.06);
}

.lm-journey-control-center article.is-current {
  border-top: 4px solid #28a9e0;
}

.lm-journey-control-center article.is-open {
  border-top: 4px solid #168466;
}

.lm-journey-control-center article.is-locked {
  border-top: 4px solid #ffc246;
}

.lm-journey-control-center span {
  color: #168466;
  font-size: 0.86rem;
  font-weight: 950;
}

.lm-journey-control-center strong {
  color: #10213b;
  font-size: 1.02rem;
  line-height: 1.4;
}

.lm-journey-control-center p,
.lm-journey-control-center small {
  margin: 0;
  color: #52647a;
  font-weight: 750;
  line-height: 1.65;
}

.lm-journey-control-center a {
  align-self: end;
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2748, #168466);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
}

.lm-journey-clarity article {
  border-top: 4px solid #28a9e0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 194, 70, 0.12), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.lm-journey-clarity article:nth-child(2) {
  border-top-color: #168466;
}

.lm-journey-clarity article:nth-child(3) {
  border-top-color: #ffc246;
}

.lm-result-reading-guide {
  border-color: rgba(40, 169, 224, 0.16);
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 169, 224, 0.12), transparent 18rem),
    radial-gradient(circle at 88% 0%, rgba(255, 194, 70, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff, #f4fbff);
}

.lm-result-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.lm-result-reading-grid article {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 16px;
}

.lm-insight-history {
  border-color: rgba(22, 132, 102, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(22, 132, 102, 0.12), transparent 17rem),
    linear-gradient(135deg, #ffffff, #f4fff8);
}

.lm-insight-history-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lm-insight-history-list article {
  display: grid;
  gap: 8px;
  min-height: 158px;
  padding: 16px;
}

.lm-insight-history-list span {
  color: #168466;
  font-size: 0.86rem;
  font-weight: 950;
}

@media (max-width: 900px) {
  .lm-simple-hero,
  .lm-simple-next,
  .lm-simple-overview,
  .lm-simple-result-grid,
  .lm-simple-two,
  .lm-simple-history,
  .lm-pattern-signal,
  .lm-teaser-opening,
  .lm-teaser-opening__steps,
  .lm-teaser-emotional-hook,
  .lm-paywall-teaser-bridge,
  .lm-paywall-personal-unlock__grid,
  .lm-paywall-trust-grid,
  .lm-teaser-upsell-preview,
  .lm-paywall-week-path ol,
  .lm-paywall-value-ladder__grid,
  .lm-paywall-proof,
  .lm-paywall-social-proof__grid,
  .lm-result-reading-grid,
  .lm-insight-history-list,
  .lm-result-command-strip,
  .lm-result-core-answer__grid,
  .lm-result-life-clues__grid,
  .lm-journey-control-center,
  .lm-journey-clarity,
  .lm-result-feedback {
    grid-template-columns: 1fr;
  }

  .lm-simple-metrics article {
    grid-template-columns: 1fr;
  }

  .lm-result-command-strip .lm-button--small {
    width: 100%;
  }

  .lm-result-visual__head {
    display: grid;
    justify-content: stretch;
  }

  .lm-result-bars article,
  .lm-result-single-bar {
    grid-template-columns: 1fr;
  }

  .lm-human-result__grid {
    grid-template-columns: 1fr;
  }

  .lm-human-result__focus {
    grid-row: auto;
  }

  .lm-result-bars article > div:first-child {
    justify-content: space-between;
  }

  .lm-teaser-upsell-preview__items {
    grid-template-columns: 1fr;
  }

  .lm-result-feedback__buttons {
    justify-content: stretch;
  }

  .lm-result-feedback__buttons button {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .lm-journey-entry {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    margin-block: 0 2rem;
    overflow: visible;
  }

  .lm-journey-entry__card {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .lm-journey-entry__card h1,
  .lm-journey-entry__card h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .lm-journey-entry__card p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.75;
  }

  .lm-journey-entry__card .lm-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .lm-journey-entry__card .lm-button {
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
}

.lm-period-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lm-period-summary-card {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 14%, rgba(40, 169, 224, 0.1), transparent 10rem),
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.07);
}

.lm-period-summary-card.is-ready {
  border-color: rgba(22, 132, 102, 0.18);
  background:
    radial-gradient(circle at 12% 14%, rgba(22, 132, 102, 0.12), transparent 11rem),
    radial-gradient(circle at 88% 0%, rgba(255, 183, 43, 0.12), transparent 11rem),
    linear-gradient(180deg, #ffffff, #f5fffb);
}

.lm-period-summary-card__head {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.lm-period-summary-card__head span {
  color: #168466;
  font-weight: 950;
}

.lm-period-summary-card__head strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  background: rgba(16, 33, 59, 0.06);
  color: #10213b;
  font-size: 0.78rem;
  font-weight: 950;
}

.lm-period-summary-card h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.45;
}

.lm-period-summary-card__intro {
  margin: 0;
  color: #5b6980;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.65;
}

.lm-period-summary-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0 1.1rem 0 0;
  color: #4f5f75;
  font-weight: 780;
  line-height: 1.55;
}

.lm-period-summary-card .lm-period-summary-points {
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.lm-period-summary-points li {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.lm-period-summary-points strong {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-period-summary-points span {
  color: #10213b;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.55;
}

.lm-tracking-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 12%, rgba(40, 169, 224, 0.12), transparent 13rem),
    radial-gradient(circle at 90% 0%, rgba(255, 194, 70, 0.12), transparent 12rem),
    linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: 0 16px 38px rgba(16, 33, 59, 0.07);
}

.lm-tracking-panel__head {
  display: grid;
  gap: 0.35rem;
}

.lm-tracking-panel__head span {
  color: #168466;
  font-weight: 950;
}

.lm-tracking-panel__head h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
}

.lm-tracking-panel__head p,
.lm-tracking-first p {
  margin: 0;
  color: #52647a;
  font-weight: 780;
  line-height: 1.7;
}

.lm-tracking-current-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-tracking-current-map article {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(22, 132, 102, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 169, 224, 0.11), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 250, 248, 0.72));
  box-shadow: 0 12px 28px rgba(16, 33, 59, 0.055);
}

.lm-tracking-current-map span,
.lm-tracking-current-map small {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
}

.lm-tracking-current-map strong {
  color: #10213b;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  font-weight: 950;
  line-height: 1.35;
}

.lm-tracking-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 0.85rem;
  align-items: stretch;
}

.lm-tracking-focus--opening {
  margin-block: 1rem;
}

.lm-tracking-focus__main,
.lm-tracking-focus__side article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 169, 224, 0.13), transparent 9rem),
    radial-gradient(circle at 100% 12%, rgba(255, 194, 70, 0.16), transparent 8rem),
    linear-gradient(145deg, #ffffff, #f7fbff);
  box-shadow: 0 16px 34px rgba(16, 33, 59, 0.07);
}

.lm-tracking-focus__main {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1rem, 2.6vw, 1.35rem);
  border-top: 4px solid var(--lm-focus-color, #168466);
}

.lm-tracking-focus__main > span,
.lm-tracking-focus__side span {
  color: #168466;
  font-size: 0.84rem;
  font-weight: 950;
}

.lm-tracking-focus__main div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: baseline;
  justify-content: space-between;
}

.lm-tracking-focus__main strong {
  color: #10213b;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 950;
  line-height: 1.2;
}

.lm-tracking-focus__main em,
.lm-tracking-focus__side strong {
  color: #10213b;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0;
}

.lm-tracking-focus__main em {
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: rgba(22, 132, 102, 0.11);
  color: #0f7c64;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.lm-tracking-focus__main p {
  margin: 0;
  color: #52647a;
  font-weight: 800;
  line-height: 1.7;
}

.lm-tracking-focus__main small,
.lm-tracking-focus__side small {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
}

.lm-tracking-focus__side {
  display: grid;
  gap: 0.75rem;
}

.lm-tracking-focus__side article {
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem;
  border-top: 3px solid var(--lm-focus-color, #2377bf);
}

.lm-tracking-focus__side strong {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.lm-tracking-first {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-radius: 14px;
  background: rgba(236, 251, 246, 0.78);
}

.lm-tracking-first strong {
  color: #10213b;
  font-size: 1.05rem;
}

.lm-tracking-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.lm-tracking-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #10213b;
}

.lm-tracking-table th,
.lm-tracking-table td {
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(16, 33, 59, 0.07);
  text-align: right;
  font-weight: 850;
}

.lm-tracking-table thead th {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-tracking-table tbody tr:last-child th,
.lm-tracking-table tbody tr:last-child td {
  border-bottom: 0;
}

.lm-tracking-table td span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-tracking-table td small {
  display: block;
  max-width: 280px;
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.55;
}

.lm-tracking-table tr.is-down td span {
  background: rgba(22, 132, 102, 0.12);
  color: #0f7c64;
}

.lm-tracking-table tr.is-up td span {
  background: rgba(255, 183, 43, 0.2);
  color: #8a5b12;
}

.lm-tracking-chart {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.lm-tracking-chart__top {
  display: grid;
  gap: 0.18rem;
}

.lm-tracking-chart__top strong {
  color: #10213b;
  font-size: 1.05rem;
}

.lm-tracking-chart__top small {
  color: #64748b;
  font-weight: 800;
}

.lm-tracking-chart__canvas {
  position: relative;
  min-height: 260px;
}

.lm-tracking-chart__canvas canvas {
  display: block;
  width: 100% !important;
  min-height: 260px;
}

.lm-tracking-chart--empty {
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 169, 224, 0.1), transparent 8rem),
    rgba(255, 255, 255, 0.86);
}

.lm-tracking-chart svg {
  width: 100%;
  height: 210px;
  overflow: visible;
}

.lm-tracking-chart line {
  stroke: rgba(16, 33, 59, 0.09);
  stroke-width: 0.55;
}

.lm-tracking-chart polyline {
  fill: none;
  stroke: var(--lm-line-color, #2377bf);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lm-tracking-chart__axis,
.lm-tracking-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
}

.lm-tracking-chart__legend {
  justify-content: center;
}

.lm-tracking-chart__legend span {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.lm-tracking-chart__legend span::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--lm-line-color, #2377bf);
}

@media (max-width: 640px) {
  .lm-tracking-panel {
    border-radius: 14px;
  }

  .lm-tracking-current-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-tracking-focus {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-tracking-table {
    min-width: 0;
  }

  .lm-tracking-table thead {
    display: none;
  }

  .lm-tracking-table,
  .lm-tracking-table tbody,
  .lm-tracking-table tr,
  .lm-tracking-table th,
  .lm-tracking-table td {
    display: block;
    width: 100%;
  }

  .lm-tracking-table tr {
    padding: 0.72rem;
    border-bottom: 1px solid rgba(16, 33, 59, 0.08);
  }

  .lm-tracking-table th,
  .lm-tracking-table td {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.38rem 0;
    border-bottom: 0;
    font-size: 0.86rem;
  }

  .lm-tracking-table th::before,
  .lm-tracking-table td::before {
    content: attr(data-label);
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 950;
  }

  .lm-tracking-chart__canvas,
  .lm-tracking-chart__canvas canvas {
    min-height: 220px;
  }
}

.lm-period-summary-tags,
.lm-period-summary-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lm-period-summary-tags span,
.lm-period-summary-topics span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(35, 119, 191, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #10213b;
  font-size: 0.78rem;
  font-weight: 900;
}

.lm-my-map {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.lm-my-map .lm-section-header {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(40, 169, 224, 0.12), transparent 12rem),
    linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.07);
}

.lm-my-map-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-my-map-overview article,
.lm-my-map-empty,
.lm-my-map-history,
.lm-my-map-history__list article {
  border: 1px solid rgba(22, 132, 102, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 194, 70, 0.12), transparent 9rem),
    linear-gradient(145deg, #ffffff, #f8fcff);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.06);
}

.lm-my-map-overview article {
  display: grid;
  gap: 0.35rem;
  min-height: 138px;
  padding: 1.15rem;
}

.lm-my-map-overview span,
.lm-my-map-history__head span,
.lm-my-map-history__list span {
  color: #168466;
  font-size: 0.86rem;
  font-weight: 950;
}

.lm-my-map-overview strong {
  color: #10213b;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.lm-my-map-overview small,
.lm-my-map-history__list small {
  color: #64748b;
  font-weight: 850;
  line-height: 1.55;
}

.lm-my-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.lm-my-map-empty {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  text-align: center;
}

.lm-my-map-empty h3,
.lm-my-map-history__head h3 {
  margin: 0;
  color: #10213b;
}

.lm-my-map-empty p {
  max-width: 52ch;
  margin: 0 auto;
  color: #52647a;
  font-weight: 780;
  line-height: 1.75;
}

.lm-my-map-history {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.lm-my-map-history__head {
  display: grid;
  gap: 0.25rem;
}

.lm-my-map-history__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-my-map-history__list article {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
}

.lm-my-map-history__list strong {
  color: #10213b;
  font-size: 1rem;
}

.lm-depth-score-card {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-top: 4px solid #168466;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 169, 224, 0.12), transparent 10rem),
    linear-gradient(145deg, #ffffff, #f4fbf8);
  box-shadow: 0 16px 36px rgba(16, 33, 59, 0.06);
}

.lm-depth-score-card span {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-depth-score-card strong {
  color: #10213b;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.lm-depth-score-card small {
  color: #52647a;
  font-weight: 820;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .lm-my-map .lm-section-header,
  .lm-my-map-overview article,
  .lm-my-map-empty,
  .lm-my-map-history,
  .lm-my-map-history__list article,
  .lm-depth-score-card {
    border-radius: 16px;
  }

  .lm-my-map-overview,
  .lm-my-map-history__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-my-map-actions .lm-button {
    width: 100%;
    justify-content: center;
  }
}

.lm-period-summary-topics {
  display: grid;
  grid-template-columns: 1fr;
}

.lm-period-summary-topics small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
}

@media (max-width: 760px) {
  .lm-period-summary-grid {
    grid-template-columns: 1fr;
  }
}

.lm-results-app .lm-simple-hero.lm-journey-hero-v2 {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  justify-items: stretch;
  align-items: stretch;
  min-height: auto;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
  text-align: right;
}

.lm-results-app .lm-simple-hero.lm-journey-hero-v2 .lm-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.6rem;
}

.lm-results-app .lm-simple-hero.lm-journey-hero-v2 h2 {
  max-width: 13ch;
  font-size: clamp(1.65rem, 3.3vw, 3.1rem);
  line-height: 1.08;
}

.lm-results-app .lm-simple-hero.lm-journey-hero-v2 p {
  max-width: 62ch;
  margin-top: 0.7rem;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.lm-results-app .lm-simple-status.lm-journey-today-status {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  border-radius: 14px;
}

.lm-results-app .lm-journey-today-status > strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.lm-results-app .lm-journey-today-status .lm-button {
  justify-self: start;
  width: auto;
  margin-top: 0.2rem;
  background: #ffb72b;
  border-color: #ffb72b;
  color: #10213b;
}

.lm-journey-human-strip {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-inline-start: 5px solid #168466;
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 14%, rgba(40, 169, 224, 0.11), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 252, 248, 0.94));
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.06);
}

.lm-journey-human-strip span,
.lm-journey-section-head span {
  color: #168466;
  font-weight: 950;
}

.lm-journey-human-strip strong {
  display: block;
  margin-top: 0.28rem;
  color: #10213b;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.35;
}

.lm-journey-human-strip ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-journey-human-strip li {
  position: relative;
  padding-inline-start: 1.05rem;
  color: #334155;
  font-weight: 820;
  line-height: 1.65;
}

.lm-journey-human-strip li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.75em;
  inset-inline-start: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #28a9e0;
}

.lm-journey-section-head {
  display: grid;
  gap: 0.35rem;
  margin: 0.35rem 0 -0.15rem;
  text-align: center;
}

.lm-journey-section-head h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.25;
}

.lm-journey-section-head p {
  max-width: 66ch;
  margin: 0 auto;
  color: #64748b;
  font-weight: 760;
  line-height: 1.7;
}

.lm-results-card--deep h3 {
  color: #ffdc7a;
}

.lm-results-card--timeline .lm-results-timeline small {
  line-height: 1.35;
}

@media (max-width: 980px) {
  .lm-results-app .lm-simple-hero.lm-journey-hero-v2,
  .lm-journey-human-strip {
    grid-template-columns: 1fr;
  }
}

/* Final guard: keep the personal journey dashboard from overlapping in RTL pages. */
.lm-results-app {
  direction: ltr !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 220px) !important;
  grid-template-areas: "lm-results-main lm-results-sidebar" !important;
  width: min(1320px, calc(100vw - 32px)) !important;
  max-width: min(1320px, calc(100vw - 32px)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: visible !important;
}

.lm-results-app > .lm-results-main {
  direction: rtl !important;
  grid-area: lm-results-main !important;
  grid-column: 1 / 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 2 !important;
}

.lm-results-app > .lm-results-sidebar {
  direction: rtl !important;
  grid-area: lm-results-sidebar !important;
  grid-column: 2 / 3 !important;
  grid-row: 1 !important;
  min-width: 220px !important;
  width: 220px !important;
  max-width: 220px !important;
  position: relative !important;
  z-index: 1 !important;
}

.lm-results-app .lm-results-board {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.lm-results-app .lm-results-card,
.lm-results-app .lm-results-card > *,
.lm-results-app .lm-results-line-chart,
.lm-results-app .lm-results-timeline,
.lm-results-app .lm-period-summary-card {
  min-width: 0 !important;
  max-width: 100% !important;
}

.lm-results-app .lm-results-card {
  overflow: hidden !important;
}

@media (max-width: 1260px) {
  .lm-results-app {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "lm-results-sidebar"
      "lm-results-main" !important;
  }

  .lm-results-app > .lm-results-sidebar {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lm-results-app > .lm-results-main {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .lm-results-app .lm-results-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
  }

  .lm-results-app .lm-results-card--orbit,
  .lm-results-app .lm-results-card--chart,
  .lm-results-app .lm-results-card--next,
  .lm-results-app .lm-results-card--deep,
  .lm-results-app .lm-results-card--timeline {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .lm-results-app .lm-results-card--chart,
  .lm-results-app .lm-results-card--timeline {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .lm-results-app .lm-results-board {
    grid-template-columns: 1fr !important;
  }

  .lm-results-app .lm-results-card--chart,
  .lm-results-app .lm-results-card--timeline {
    grid-column: auto !important;
  }
}

/* Mobile viewport guard for questionnaire, results, checkout and journey screens. */
@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .lm-wrap,
  .lm-simple-hub,
  .lm-form,
  .lm-panel,
  .lm-domain-section,
  .lm-result-card,
  .lm-score-card,
  .lm-topic-result-card,
  .lm-topic-link-card,
  .lm-topic-more,
  .lm-question-step,
  .lm-teaser-dashboard,
  .lm-human-result,
  .lm-results-shell,
  .lm-results-app,
  .lm-results-main,
  .lm-results-sidebar,
  .lm-journey-entry,
  .lm-journey-dashboard,
  .lm-checkout-clarity,
  .woocommerce,
  .woocommerce-checkout,
  .woocommerce form,
  .woocommerce table,
  .woocommerce .col2-set,
  .woocommerce .woocommerce-checkout-review-order {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .lm-wrap,
  .lm-simple-hub,
  .lm-results-shell,
  .lm-journey-entry {
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow-x: clip;
  }

  .lm-form-intro-card,
  .lm-question-grid,
  .lm-answer-grid,
  .lm-score-grid,
  .lm-result-grid,
  .lm-topic-grid,
  .lm-results-grid,
  .lm-results-app-grid,
  .lm-results-dashboard,
  .lm-period-summary-grid,
  .lm-journey-timeline,
  .lm-results-history-list,
  .lm-comparison-list,
  .lm-teaser-upsell-preview__items,
  .woocommerce .col2-set,
  .woocommerce .form-row,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .woocommerce-checkout-review-order {
    grid-template-columns: 1fr !important;
  }

  .lm-form-meta,
  .lm-actions,
  .lm-step-nav,
  .lm-result-actions,
  .lm-results-actions,
  .lm-topic-actions,
  .lm-checkout-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .lm-button,
  .lm-actions .lm-button,
  .lm-step-nav button,
  .lm-answer-option,
  .lm-topic-link-card,
  .woocommerce button.button,
  .woocommerce a.button,
  .woocommerce input.button,
  .woocommerce #payment #place_order {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .lm-section-header,
  .lm-section-header :is(h1, h2),
  .lm-section-header h3,
  .lm-simple-empty,
  .lm-simple-empty h2,
  .lm-form h2,
  .lm-form h3,
  .lm-form p,
  .lm-panel h2,
  .lm-panel h3,
  .lm-panel p,
  .lm-result-card,
  .lm-result-card h2,
  .lm-result-card h3,
  .lm-result-card p,
  .lm-topic-result-card,
  .lm-topic-result-card h2,
  .lm-topic-result-card h3,
  .lm-topic-result-card p,
  .lm-results-main,
  .lm-results-main h1,
  .lm-results-main h2,
  .lm-results-main h3,
  .lm-results-main p,
  .lm-checkout-clarity,
  .woocommerce,
  .woocommerce p,
  .woocommerce label,
  .woocommerce table,
  .woocommerce td,
  .woocommerce th {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .lm-section-header :is(h1, h2),
  .lm-simple-result-hero :is(h1, h2),
  .lm-teaser-opening h3,
  .lm-result-core-answer__head h3 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
    line-height: 1.18;
    text-wrap: balance;
  }

  .lm-teaser-opening {
    padding: 16px;
  }

  .lm-teaser-opening__steps article {
    min-height: auto;
  }

  .lm-result-core-answer {
    padding: 16px;
    border-radius: 16px;
  }

  .lm-result-core-answer__grid article {
    min-height: auto;
    padding: 14px;
  }

  .lm-paywall-card,
  .lm-checkout-clarity {
    padding-inline: 14px;
  }

  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .woocommerce table.shop_table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .lm-result-main-action {
    display: grid;
    justify-items: stretch;
  }

  .lm-result-main-action .lm-button {
    width: 100%;
  }

  .lm-wrap,
  .lm-wrap *,
  .woocommerce,
  .woocommerce * {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .lm-wrap {
    width: auto !important;
    max-width: none !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
    overflow-x: clip;
  }

  .lm-form,
  .lm-panel,
  .lm-domain-section,
  .lm-simple-result-hero,
  .lm-result-core-answer,
  .lm-results-card,
  .lm-paywall-card,
  .lm-checkout-clarity,
  .woocommerce form.checkout,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .woocommerce-checkout-review-order {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .lm-results-board,
  .lm-teaser-opening,
  .lm-teaser-opening__steps,
  .lm-paywall-trust-grid,
  .lm-paywall-social-proof__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .lm-scale-option,
  .lm-question legend,
  .lm-section-header :is(h1, h2),
  .lm-section-header p,
  .lm-simple-result-hero :is(h1, h2),
  .lm-simple-result-hero p,
  .woocommerce h1,
  .woocommerce h2,
  .woocommerce h3 {
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}

/* Last-mile mobile correction: keep questionnaire, checkout and journey screens inside the viewport. */
@media (max-width: 640px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body .lm-wrap,
  body .entry-content > .lm-wrap,
  body .wp-site-blocks .lm-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow-x: hidden !important;
    transform: none !important;
  }

  body .lm-wrap > *,
  body .lm-form > *,
  body .lm-panel > *,
  body .lm-domain-section > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body .lm-section-header,
  body .lm-teaser-opening,
  body .lm-form,
  body .lm-step-progress,
  body .lm-domain-section,
  body .lm-question,
  body .lm-result-card,
  body .lm-paywall-card,
  body .lm-checkout-clarity {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body .lm-section-header {
    padding: 18px 14px !important;
    text-align: center;
  }

  body .lm-login-screen,
  body .entry-content > .lm-login-screen,
  body .wp-site-blocks .lm-login-screen {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }

  body .lm-login-screen .lm-login-layout,
  body .lm-login-screen .lm-login-intro,
  body .lm-login-screen .lm-login-card,
  body .lm-login-screen .lm-register-onboarding {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body .lm-section-header h1,
  body .lm-section-header :is(h1, h2),
  body .lm-section-header h3,
  body .lm-teaser-opening h3,
  body .lm-form h2,
  body .lm-form h3,
  body .lm-question legend {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  body .lm-teaser-opening__copy,
  body .lm-teaser-opening__steps article,
  body .lm-step-heading,
  body .lm-question legend,
  body .lm-step-progress > div:first-child {
    justify-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body .lm-teaser-opening__copy h3 {
    max-width: 13ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(1.5rem, 7.4vw, 1.9rem) !important;
  }

  body .lm-teaser-opening__copy p {
    max-width: 34ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body .lm-teaser-opening__steps article strong,
  body .lm-teaser-opening__steps article p {
    max-width: 28ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body .lm-step-progress > div:first-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.3rem !important;
  }

  body .lm-journey-entry__card,
  body .lm-journey-entry__card > *,
  body .lm-simple-hub,
  body .lm-simple-hub > * {
    text-align: center !important;
    justify-items: center !important;
  }

  body .lm-journey-entry__card h1,
  body .lm-journey-entry__card h2,
  body .lm-simple-hub h1,
  body .lm-simple-hub h2 {
    max-width: 13ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(1.65rem, 7.5vw, 2.05rem) !important;
    line-height: 1.18 !important;
  }

  body .lm-journey-entry__card p,
  body .lm-simple-hub p {
    max-width: 34ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body .lm-scale,
  body .lm-answer-grid,
  body .lm-result-core-answer__grid,
  body .lm-paywall-trust-grid,
  body .lm-results-board,
  body .lm-period-summary-grid,
  body .woocommerce .col2-set {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body .lm-scale-option {
    min-height: auto !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    justify-items: stretch !important;
    text-align: right !important;
  }

  body .lm-results-app {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
    border-radius: 10px !important;
  }

  body .lm-results-app > .lm-results-sidebar {
    display: none !important;
  }

  body .lm-results-app > .lm-results-main {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px !important;
    overflow-x: hidden !important;
  }

  body .lm-results-line-chart svg,
  body .lm-results-sparkline svg,
  body .lm-results-app svg {
    width: 100% !important;
    max-width: 100% !important;
  }

  body .woocommerce,
  body .woocommerce form.checkout,
  body .woocommerce-checkout #customer_details,
  body .woocommerce-checkout .woocommerce-checkout-review-order {
    padding-right: 10px !important;
    padding-left: 10px !important;
    overflow-x: hidden !important;
  }

  body .woocommerce form .form-row,
  body .woocommerce form .form-row label,
  body .woocommerce form .form-row input,
  body .woocommerce form .form-row textarea,
  body .woocommerce form .form-row select {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  body .woocommerce form .form-row label {
    display: block !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  body .woocommerce h2,
  body .woocommerce h3,
  body .woocommerce .woocommerce-billing-fields h3,
  body .woocommerce #order_review_heading {
    width: 100% !important;
    text-align: center !important;
    overflow-wrap: anywhere;
  }

  body .lm-checkout-clarity {
    padding: 16px 14px !important;
    text-align: center !important;
  }

  body .lm-checkout-clarity > *,
  body .lm-checkout-clarity li {
    max-width: 34ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* Design direction 3 + 5: paid-area dashboard with a clear map/journey language. */
.lm-results-app {
  --lm-dash-navy: #0d2746;
  --lm-dash-blue: #2f8fd1;
  --lm-dash-teal: #168466;
  --lm-dash-gold: #f5b84b;
  --lm-dash-coral: #e86f51;
  --lm-dash-border: rgba(16, 33, 59, 0.1);
  background:
    linear-gradient(rgba(47, 143, 209, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 143, 209, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
  background-size: 64px 64px, 64px 64px, auto !important;
  border: 1px solid rgba(16, 33, 59, 0.08);
  box-shadow: 0 26px 76px rgba(16, 33, 59, 0.1);
}

.lm-results-app > .lm-results-sidebar {
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #10213b 0%, #0d3159 54%, #071d36 100%) !important;
  background-size: 42px 42px, 42px 42px, auto !important;
}

.lm-results-sidebar__brand span {
  background: linear-gradient(135deg, #2f8fd1, #28c2a1, #7d5cff);
  box-shadow: 0 12px 30px rgba(47, 143, 209, 0.28);
}

.lm-results-sidebar__nav {
  gap: 0.42rem;
}

.lm-results-sidebar__nav a {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.lm-results-sidebar__nav a:hover,
.lm-results-sidebar__nav a:focus,
.lm-results-sidebar__nav a.is-active {
  border-color: rgba(62, 222, 199, 0.36);
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

.lm-results-sidebar__note {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.lm-results-main {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(47, 143, 209, 0.09), transparent 28rem),
    radial-gradient(ellipse at 86% 14%, rgba(245, 184, 75, 0.1), transparent 24rem);
}

.lm-clear-hero,
.lm-results-app .lm-simple-hero.lm-journey-hero-v2 {
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.92));
  box-shadow: 0 18px 46px rgba(16, 33, 59, 0.07);
}

.lm-results-board {
  gap: 1rem !important;
}

.lm-results-app .lm-results-card,
.lm-weekly-visual,
.lm-change-panel,
.lm-next-step-panel,
.lm-panel,
.lm-tracking-panel {
  border-radius: 8px !important;
  border-color: var(--lm-dash-border) !important;
}

.lm-results-app .lm-results-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 254, 255, 0.94));
  box-shadow: 0 16px 40px rgba(16, 33, 59, 0.07);
}

.lm-results-app .lm-results-card::before,
.lm-tracking-panel::before,
.lm-weekly-visual::before {
  background: linear-gradient(90deg, var(--lm-dash-blue), var(--lm-dash-teal), var(--lm-dash-gold), var(--lm-dash-coral)) !important;
}

.lm-results-card--chart .lm-results-line-chart svg,
.lm-weekly-line-chart svg {
  filter: drop-shadow(0 10px 12px rgba(47, 143, 209, 0.08));
}

.lm-results-line-chart__main,
.lm-weekly-line-chart polyline {
  stroke-width: 2.2 !important;
}

.lm-results-card--next {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--lm-dash-teal), var(--lm-dash-gold)) border-box !important;
  border-block-start: 4px solid transparent !important;
}

.lm-results-card--deep {
  background:
    linear-gradient(135deg, #0d2746 0%, #114a74 58%, #168466 100%) !important;
}

.lm-results-card--deep h3,
.lm-results-card--deep p,
.lm-results-card--deep span {
  color: #ffffff;
}

.lm-results-card--deep h3 {
  color: #ffdc7a !important;
}

/* Map-like route language for timelines and long-term tracking. */
.lm-results-card--timeline .lm-results-timeline,
.lm-journey-control-center,
.lm-journey-history-grid {
  position: relative;
}

.lm-results-card--timeline .lm-results-timeline::before {
  height: 3px !important;
  background: linear-gradient(90deg, rgba(47, 143, 209, 0.25), rgba(22, 132, 102, 0.45), rgba(245, 184, 75, 0.4)) !important;
}

.lm-results-card--timeline .lm-results-timeline div::before {
  border: 4px solid #ffffff;
  background: #dce8f3 !important;
  box-shadow: 0 10px 24px rgba(16, 33, 59, 0.12) !important;
}

.lm-results-card--timeline .lm-results-timeline div.is-done::before {
  background: linear-gradient(135deg, var(--lm-dash-teal), #32b890) !important;
}

.lm-results-card--timeline .lm-results-timeline div.is-current::before {
  background: linear-gradient(135deg, var(--lm-dash-blue), #7d5cff) !important;
}

.lm-results-card--timeline .lm-results-timeline div.is-warm::before {
  background: linear-gradient(135deg, var(--lm-dash-gold), var(--lm-dash-coral)) !important;
}

.lm-tracking-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(47, 143, 209, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 143, 209, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #f7fbff) !important;
  background-size: 54px 54px, 54px 54px, auto !important;
}

.lm-tracking-panel::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
}

.lm-tracking-panel > * {
  position: relative;
  z-index: 1;
}

.lm-tracking-current-map {
  align-items: stretch;
}

.lm-tracking-current-map article {
  border-block-start: 4px solid transparent;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.86)) padding-box,
    linear-gradient(90deg, var(--lm-dash-blue), var(--lm-dash-teal)) border-box !important;
}

.lm-tracking-current-map article:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.86)) padding-box,
    linear-gradient(90deg, var(--lm-dash-teal), var(--lm-dash-gold)) border-box !important;
}

.lm-tracking-current-map article:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.86)) padding-box,
    linear-gradient(90deg, var(--lm-dash-gold), var(--lm-dash-coral)) border-box !important;
}

.lm-tracking-focus__main,
.lm-tracking-focus__side article {
  border-radius: 8px !important;
}

.lm-tracking-focus__main em,
.lm-weekly-score-orb {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--lm-dash-blue), var(--lm-dash-teal), var(--lm-dash-gold)) border-box !important;
  border: 2px solid transparent;
}

.lm-tracking-table-wrap,
.lm-tracking-chart,
.lm-weekly-chart-card,
.lm-weekly-insight-stack article,
.lm-weekly-change-card {
  border-radius: 8px !important;
  border-color: rgba(16, 33, 59, 0.09) !important;
  box-shadow: 0 12px 30px rgba(16, 33, 59, 0.055);
}

.lm-weekly-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(22, 132, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 132, 102, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #f8fcff) !important;
  background-size: 58px 58px, 58px 58px, auto !important;
}

.lm-weekly-visual__head {
  border-bottom: 1px solid rgba(16, 33, 59, 0.08);
  padding-bottom: 1rem;
}

.lm-weekly-change-card.is-up {
  border-block-start: 4px solid var(--lm-dash-gold) !important;
}

.lm-weekly-change-card.is-down {
  border-block-start: 4px solid var(--lm-dash-teal) !important;
}

.lm-weekly-change-card.is-stable {
  border-block-start: 4px solid var(--lm-dash-blue) !important;
}

.lm-journey-human-strip,
.lm-journey-control-center article,
.lm-journey-clarity article {
  border-radius: 8px !important;
}

.lm-journey-control-center article.is-current {
  border-color: rgba(47, 143, 209, 0.35) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.94)) !important;
}

.lm-journey-control-center article.is-open {
  border-color: rgba(22, 132, 102, 0.28) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 251, 246, 0.92)) !important;
}

.lm-journey-control-center article.is-locked {
  background: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 760px) {
  .lm-results-app {
    border-radius: 0 !important;
    border-inline: 0;
    box-shadow: none;
  }

  .lm-results-main {
    padding: 0.85rem !important;
  }

  .lm-results-app > .lm-results-sidebar {
    border-radius: 0;
  }

  .lm-weekly-visual__head {
    padding-bottom: 0.8rem;
  }
}

/* v0.9.35 mobile polish: keep the opening questionnaire readable on narrow phones. */
@media (max-width: 640px) {
  body:has(.lm-teaser),
  body:has(.lm-journey-entry),
  body:has(.lm-results-app) {
    padding-bottom: 82px;
  }

  body .lm-teaser,
  body .lm-teaser *,
  body .lm-questionnaire,
  body .lm-questionnaire * {
    box-sizing: border-box;
  }

  body .lm-teaser,
  body .lm-questionnaire {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow: visible !important;
  }

  body .lm-teaser .lm-section-header,
  body .lm-teaser-opening,
  body .lm-teaser .lm-form,
  body .lm-teaser .lm-step-progress,
  body .lm-teaser .lm-question {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body .lm-teaser .lm-section-header :is(h1, h2) {
    max-width: 11.5ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(1.65rem, 8.1vw, 2rem) !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: balance;
  }

  body .lm-teaser .lm-section-header p {
    max-width: 31ch !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
  }

  body .lm-teaser-opening h3 {
    max-width: 12.5ch !important;
    font-size: clamp(1.5rem, 7.2vw, 1.88rem) !important;
    line-height: 1.18 !important;
  }

  body .lm-teaser-opening p {
    max-width: 30ch !important;
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
  }

  body .lm-teaser-opening__steps {
    gap: 10px !important;
  }

  body .lm-teaser-opening__steps article {
    padding: 14px !important;
  }

  body .lm-teaser-count {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
  }

  body .lm-teaser .lm-question legend {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: clamp(1.05rem, 5.2vw, 1.32rem) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  body .lm-teaser .lm-question legend span {
    justify-self: center !important;
  }

  body .lm-teaser .lm-scale {
    width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
  }

  body .lm-teaser fieldset.lm-question {
    min-inline-size: 0 !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body .lm-teaser .lm-scale--choices .lm-scale-option {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 12px !important;
    overflow: hidden !important;
    text-align: right !important;
  }

  body .lm-teaser .lm-scale-number {
    flex: 0 0 auto !important;
  }

  body .lm-teaser .lm-scale-label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    text-align: right !important;
  }

  body .lm-teaser .lm-scale-label {
    font-size: 0.94rem !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 420px) {
  body .lm-teaser .lm-section-header :is(h1, h2) {
    max-width: 10.5ch !important;
    font-size: clamp(1.5rem, 7.6vw, 1.82rem) !important;
  }

  body .lm-teaser-opening h3 {
    max-width: 11ch !important;
    font-size: clamp(1.4rem, 7vw, 1.72rem) !important;
  }
}

/* v1.1.264: tighter opening result after the first questionnaire */
.lm-opening-result-clean {
  gap: 0.9rem !important;
  max-width: 900px !important;
}

body:has(.lm-opening-result-clean) .entry-title,
body:has(.lm-opening-result-clean) .page-title,
body:has(.lm-opening-result-clean) h1.entry-title,
body:has(.lm-opening-result-clean) h1.page-title {
  margin-bottom: 1rem !important;
  font-size: clamp(2.1rem, 5vw, 3.6rem) !important;
  line-height: 1.04 !important;
}

.lm-opening-result-clean .lm-grip-result__hero {
  padding: clamp(1.05rem, 2.6vw, 1.75rem) !important;
  border-radius: 18px !important;
}

.lm-opening-result-clean .lm-grip-result__hero :is(h1, h2) {
  max-width: 18ch !important;
  margin-bottom: 0.55rem !important;
  font-size: clamp(1.9rem, 4.5vw, 3rem) !important;
}

.lm-opening-result-clean .lm-grip-result__hero p:not(.lm-kicker) {
  max-width: 60ch !important;
  font-size: clamp(0.96rem, 1.3vw, 1.06rem) !important;
  line-height: 1.65 !important;
}

.lm-opening-result-clean .lm-result-core-answer {
  margin: 0 !important;
  padding: clamp(0.9rem, 2vw, 1.1rem) !important;
  border-radius: 18px !important;
}

.lm-opening-result-clean .lm-result-core-answer__head {
  margin-bottom: 0.7rem !important;
  text-align: center !important;
}

.lm-opening-result-clean .lm-result-core-answer__head h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem) !important;
}

.lm-opening-result-clean .lm-result-core-answer__grid {
  gap: 10px !important;
}

.lm-opening-result-clean .lm-result-core-answer__grid article {
  min-height: 126px !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0.9rem !important;
  border-radius: 14px !important;
}

.lm-opening-result-clean .lm-result-core-answer__grid p {
  font-size: 0.95rem !important;
  line-height: 1.58 !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
}

.lm-opening-next-unlock {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  gap: 14px;
  align-items: stretch;
  padding: clamp(1rem, 2.4vw, 1.25rem);
  border: 1px solid rgba(22, 132, 102, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 199, 87, 0.17), transparent 11rem),
    radial-gradient(circle at 100% 100%, rgba(37, 171, 202, 0.12), transparent 12rem),
    linear-gradient(145deg, #ffffff, #f4fbf8);
  box-shadow: 0 18px 42px rgba(16, 33, 59, 0.08);
}

.lm-opening-next-unlock__topic,
.lm-opening-next-unlock__action {
  display: grid;
  gap: 0.45rem;
  align-content: center;
}

.lm-opening-next-unlock__topic span,
.lm-opening-next-unlock__action span {
  color: #168466;
  font-weight: 950;
}

.lm-opening-next-unlock__topic strong {
  color: #10213b;
  font-size: clamp(1.25rem, 2.7vw, 1.8rem);
  line-height: 1.25;
}

.lm-opening-next-unlock__topic p,
.lm-opening-next-unlock__action small {
  margin: 0;
  color: #52647a;
  font-weight: 780;
  line-height: 1.65;
}

.lm-opening-next-unlock__topic small {
  display: block;
  margin-top: 0.15rem;
  color: #65768a;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.55;
}

.lm-opening-next-unlock__action {
  padding: 1rem;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.lm-opening-next-unlock__action strong {
  color: #10213b;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.lm-opening-next-unlock__action .lm-button {
  width: 100%;
  margin-top: 0.25rem;
}

.lm-paywall--compact {
  margin-top: 1rem !important;
}

.lm-paywall--compact .lm-paywall-card {
  padding: clamp(1rem, 2.5vw, 1.45rem) !important;
  border-radius: 18px !important;
}

.lm-paywall--compact .lm-paywall-card h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem) !important;
}

.lm-paywall--compact .lm-paywall-card > p {
  max-width: 58ch !important;
}

.lm-paywall--compact .lm-paywall-before-pay {
  margin-top: 0.85rem !important;
}

.lm-paywall--compact .lm-paywall-trust-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.lm-paywall--compact .lm-paywall-trust-grid article {
  min-height: 118px !important;
  padding: 12px !important;
}

.lm-paywall--compact .lm-paywall-teaser-bridge {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 10px !important;
}

.lm-paywall--compact .lm-paywall-teaser-bridge div {
  min-height: 96px !important;
  padding: 12px !important;
}

.lm-paywall--compact .lm-paywall-list {
  margin-top: 0.85rem !important;
}

.lm-paywall--compact .lm-paywall-payment-trust {
  justify-content: center !important;
}

@media (max-width: 760px) {
  .lm-opening-result-clean,
  .lm-opening-next-unlock,
  .lm-paywall--compact .lm-paywall-trust-grid--compact,
  .lm-paywall--compact .lm-paywall-teaser-bridge {
    grid-template-columns: 1fr !important;
  }

  .lm-opening-result-clean .lm-result-core-answer__grid {
    grid-template-columns: 1fr !important;
  }
}

/* v1.1.268: clean personal journey page */
.lm-journey-v4 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  max-width: 1180px !important;
  padding: clamp(1rem, 2.8vw, 1.6rem) !important;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 8%, rgba(47, 143, 209, 0.13), transparent 18rem),
    radial-gradient(circle at 92% 0%, rgba(245, 184, 75, 0.16), transparent 18rem),
    linear-gradient(rgba(47, 143, 209, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 143, 209, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
  box-shadow: 0 24px 70px rgba(16, 33, 59, 0.1);
}

.lm-journey-v4,
.lm-journey-v4 * {
  box-sizing: border-box;
}

.lm-journey-v4-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1rem;
  align-items: stretch;
}

.lm-journey-v4-hero__copy,
.lm-journey-v4-next,
.lm-journey-v4-strip article,
.lm-journey-v4-focus,
.lm-journey-v4-card {
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(16, 33, 59, 0.07);
}

.lm-journey-v4-hero__copy {
  display: grid;
  gap: 0.65rem;
  align-content: center;
  min-height: 240px;
  padding: clamp(1.5rem, 4vw, 3.4rem);
}

.lm-journey-v4-hero__copy h2 {
  max-width: 22ch;
  margin: 0;
  color: #10213b;
  font-size: clamp(2.05rem, 4.3vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lm-journey-v4-hero__copy p:not(.lm-kicker),
.lm-journey-v4-card p,
.lm-journey-v4-focus p,
.lm-journey-v4-focus li {
  margin: 0;
  color: #52647a;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 760;
  line-height: 1.75;
}

.lm-journey-v4-next {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border-block-start: 4px solid #168466;
  background:
    radial-gradient(circle at 0 0, rgba(245, 184, 75, 0.17), transparent 9rem),
    linear-gradient(145deg, #ffffff, #f5fbf8);
}

.lm-journey-v4-next span,
.lm-journey-v4-card__head span,
.lm-journey-v4-strip span,
.lm-journey-v4-focus .lm-kicker {
  color: #168466;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-journey-v4-next strong {
  color: #10213b;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.28;
}

.lm-journey-v4-next p {
  margin: 0;
  color: #52647a;
  font-weight: 780;
  line-height: 1.65;
}

.lm-journey-v4-lock {
  width: fit-content;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 999px;
  color: #10213b;
  background: #ffffff;
  font-weight: 900;
}

.lm-journey-v4-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-journey-v4-strip article {
  display: grid;
  gap: 0.3rem;
  min-height: 118px;
  padding: 1rem;
}

.lm-journey-v4-strip strong {
  color: #10213b;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.2;
}

.lm-journey-v4-strip small,
.lm-journey-v4-meters small,
.lm-journey-v4-history span {
  color: #66758a;
  font-weight: 780;
  line-height: 1.55;
}

.lm-journey-v4-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border-inline-end: 5px solid #168466;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 194, 161, 0.12), transparent 12rem),
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,252,255,0.92));
}

.lm-journey-v4-focus h3 {
  margin: 0 0 0.45rem;
  color: #10213b;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.22;
}

.lm-journey-v4-focus ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-journey-v4-focus li {
  position: relative;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(22, 132, 102, 0.15);
  border-radius: 12px;
  background: #ffffff;
}

.lm-journey-v4-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr) minmax(260px, 0.7fr);
  gap: 0.9rem;
}

.lm-journey-v4-grid--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-journey-v4-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 260px;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.lm-journey-v4-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, #2f8fd1, #168466, #f5b84b, #e86f51);
}

.lm-journey-v4-card--wide {
  grid-column: span 1;
}

.lm-journey-v4-card__head {
  display: grid;
  gap: 0.25rem;
}

.lm-journey-v4-card__head strong {
  color: #10213b;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.28;
}

.lm-journey-v4-chart {
  min-height: 145px;
  padding: 0.6rem 0;
}

.lm-journey-v4-chart svg {
  width: 100%;
  height: 150px;
  overflow: visible;
}

.lm-journey-v4-chart line {
  stroke: rgba(16, 33, 59, 0.09);
  stroke-width: 0.55;
}

.lm-journey-v4-chart__line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.lm-journey-v4-chart__line--red,
.lm-journey-v4-chart__line--pain {
  stroke: #e86f51;
}

.lm-journey-v4-chart__line--blue,
.lm-journey-v4-chart__line--control {
  stroke: #2f8fd1;
}

.lm-journey-v4-chart__line--green,
.lm-journey-v4-chart__line--pleasing {
  stroke: #168466;
}

.lm-journey-v4-chart__line--purple,
.lm-journey-v4-chart__line--anger {
  stroke: #7d5cff;
}

.lm-journey-v4-chart__line--gold,
.lm-journey-v4-chart__line--alertness {
  stroke: #f5b84b;
}

.lm-journey-v4-axis {
  display: flex;
  justify-content: space-between;
  color: #66758a;
  font-size: 0.8rem;
  font-weight: 850;
}

.lm-journey-v4-empty {
  display: grid;
  place-items: center;
  gap: 0.4rem;
  min-height: 150px;
  padding: 1rem;
  border: 1px dashed rgba(47, 143, 209, 0.25);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  text-align: center;
}

.lm-journey-v4-empty strong {
  color: #10213b;
  font-size: 1rem;
  line-height: 1.45;
}

.lm-journey-v4-empty span {
  color: #66758a;
  font-size: 0.9rem;
  font-weight: 780;
}

.lm-journey-v4-meters {
  display: grid;
  gap: 0.75rem;
}

.lm-journey-v4-meters div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.lm-journey-v4-meters span {
  color: #10213b;
  font-weight: 900;
}

.lm-journey-v4-meters i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf4;
}

.lm-journey-v4-meters i::before {
  content: "";
  display: block;
  width: var(--journey-v4-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8fd1, #168466, #f5b84b);
}

.lm-journey-v4-history {
  display: grid;
  gap: 0.55rem;
}

.lm-journey-v4-history a {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 12px;
  background: #ffffff;
  color: #10213b;
  text-decoration: none;
}

.lm-journey-v4-history strong {
  color: #10213b;
  font-size: 0.98rem;
  line-height: 1.45;
}

@media (max-width: 1020px) {
  .lm-journey-v4-hero,
  .lm-journey-v4-focus,
  .lm-journey-v4-grid,
  .lm-journey-v4-grid--bottom {
    grid-template-columns: 1fr;
  }

  .lm-journey-v4-strip {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .lm-journey-v4 {
    width: calc(100vw - 14px) !important;
    max-width: calc(100vw - 14px) !important;
    padding: 0.85rem !important;
    border-radius: 12px;
  }

  .lm-journey-v4-hero__copy {
    min-height: auto;
    padding: 1.1rem;
  }

  .lm-journey-v4-hero__copy h2 {
    max-width: 100%;
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .lm-journey-v4-next,
  .lm-journey-v4-card,
  .lm-journey-v4-focus,
  .lm-journey-v4-strip article {
    border-radius: 12px;
  }

  .lm-journey-v4-strip {
    grid-template-columns: 1fr;
  }
}

/* v1.1.263: cleaner personal journey hub */
.lm-results-app {
  overflow: hidden !important;
}

.lm-results-app .lm-results-main {
  gap: 1rem !important;
}

.lm-journey-control-center--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.lm-journey-control-center--compact article {
  min-height: 168px !important;
  align-content: start !important;
}

.lm-journey-control-center--compact strong {
  font-size: clamp(1rem, 1.5vw, 1.18rem) !important;
}

.lm-results-app .lm-results-board {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto !important;
  align-items: stretch !important;
}

.lm-results-app .lm-results-card--orbit,
.lm-results-app .lm-results-card--chart,
.lm-results-app .lm-results-card--next {
  grid-column: auto !important;
  grid-row: auto !important;
}

.lm-results-app .lm-results-card--timeline {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
}

.lm-results-empty-chart {
  display: grid;
  gap: 0.45rem;
  align-content: center;
  min-height: 126px;
  padding: 1rem;
  border: 1px dashed rgba(35, 119, 191, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 20%, rgba(40, 169, 224, 0.12), transparent 8rem),
    linear-gradient(135deg, #ffffff, #f7fbff);
  text-align: center;
}

.lm-results-empty-chart strong {
  color: #10213b;
  font-size: 0.95rem;
  line-height: 1.45;
}

.lm-results-empty-chart span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 780;
  line-height: 1.65;
}

.lm-results-card--timeline .lm-results-timeline {
  overflow-x: auto;
  scrollbar-width: thin;
}

.lm-period-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important;
}

@media (max-width: 1120px) {
  .lm-results-app {
    width: min(100%, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "lm-results-sidebar"
      "lm-results-main" !important;
  }

  .lm-results-app > .lm-results-sidebar {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lm-results-sidebar__nav {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  .lm-results-sidebar__nav a {
    flex: 0 0 auto !important;
    min-width: 120px !important;
    justify-content: center !important;
  }

  .lm-journey-control-center--compact,
  .lm-results-app .lm-results-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .lm-results-app .lm-results-card--timeline {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .lm-results-app {
    width: calc(100vw - 14px) !important;
    max-width: calc(100vw - 14px) !important;
    border-radius: 10px !important;
  }

  .lm-results-app .lm-simple-hero.lm-journey-hero-v2,
  .lm-journey-human-strip,
  .lm-journey-control-center--compact,
  .lm-results-app .lm-results-board {
    grid-template-columns: 1fr !important;
  }

  .lm-results-app .lm-simple-hero.lm-journey-hero-v2 h2 {
    max-width: 100% !important;
    font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
  }

  .lm-results-app .lm-results-main {
    padding: 0.8rem !important;
  }

  .lm-results-app .lm-results-card--timeline .lm-results-timeline {
    grid-template-columns: repeat(5, minmax(116px, 1fr)) !important;
  }

  .lm-results-app .lm-results-card,
  .lm-journey-control-center--compact article,
  .lm-period-summary-card {
    min-height: auto !important;
  }
}

/* v1.1.269: human language cards for result tracking. */
.lm-tracking-panel--human {
  gap: 1.05rem;
}

.lm-tracking-panel--human .lm-tracking-panel__head {
  max-width: 760px;
}

.lm-tracking-human-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-tracking-human-card {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: clamp(0.95rem, 2.2vw, 1.2rem);
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-block-start: 4px solid var(--lm-focus-color, #168466);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(40, 169, 224, 0.1), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.9));
  box-shadow: 0 12px 28px rgba(16, 33, 59, 0.055);
}

.lm-tracking-human-card span {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-tracking-human-card strong {
  color: #10213b;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 950;
  line-height: 1.35;
}

.lm-tracking-human-card p {
  margin: 0;
  color: #52647a;
  font-size: 0.94rem;
  font-weight: 790;
  line-height: 1.72;
}

.lm-tracking-human-card.is-down {
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 132, 102, 0.12), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 252, 248, 0.9));
}

.lm-tracking-human-card.is-up {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 194, 70, 0.14), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 244, 0.92));
}

.lm-tracking-human-card.is-stable {
  background:
    radial-gradient(circle at 10% 0%, rgba(100, 116, 139, 0.1), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9));
}

.lm-tracking-current-map--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-tracking-human-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(22, 132, 102, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.lm-tracking-human-cta p {
  margin: 0;
  color: #52647a;
  font-weight: 820;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .lm-tracking-human-grid,
  .lm-tracking-current-map--compact {
    grid-template-columns: 1fr;
  }

  .lm-tracking-human-cta {
    align-items: stretch;
  }

  .lm-tracking-human-cta .lm-button {
    width: 100%;
    justify-content: center;
  }
}

/* v1.1.270: simpler personal journey layout. */
.lm-journey-v4-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.lm-journey-v4-grid--bottom {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.lm-journey-v4-card--history.lm-journey-v4-card--wide {
  grid-column: 1 / -1;
}

.lm-journey-v4-card {
  min-height: 220px;
}

.lm-journey-v4-strip article {
  min-height: 104px;
}

.lm-journey-v4-hero__copy {
  min-height: 210px;
}

.lm-journey-v4-hero__copy h2 {
  max-width: 20ch;
}

@media (max-width: 1020px) {
  .lm-journey-v4-grid,
  .lm-journey-v4-grid--bottom {
    grid-template-columns: 1fr;
  }
}

/* v1.1.273: turn "My Journey" into a personal story map before the data cards. */
.lm-journey-v4-story-map {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 8%, rgba(245, 184, 75, 0.18), transparent 13rem),
    radial-gradient(circle at 4% 95%, rgba(47, 143, 209, 0.13), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 249, 0.9));
  box-shadow: 0 18px 48px rgba(16, 33, 59, 0.08);
}

.lm-journey-v4-story-map::before {
  content: "";
  position: absolute;
  inset-inline: clamp(2rem, 4vw, 3.2rem);
  inset-block-start: 50%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f8fd1, #168466, #f5b84b, #e86f51);
  opacity: 0.45;
  transform: translateY(-50%);
}

.lm-journey-v4-story-map__head {
  position: relative;
  display: grid;
  gap: 0.45rem;
  max-width: 760px;
  z-index: 1;
}

.lm-journey-v4-story-map__head h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 950;
  line-height: 1.18;
}

.lm-journey-v4-story-map__head p:not(.lm-kicker) {
  margin: 0;
  color: #52647a;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 790;
  line-height: 1.75;
}

.lm-journey-v4-story-map__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-journey-v4-story-step {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 220px;
  padding: 1rem;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(16, 33, 59, 0.065);
}

.lm-journey-v4-story-step::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #2f8fd1, #168466, #f5b84b);
}

.lm-journey-v4-story-step span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #10213b, #168466);
  font-size: 0.84rem;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(16, 33, 59, 0.15);
}

.lm-journey-v4-story-step small {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.35;
}

.lm-journey-v4-story-step strong {
  color: #10213b;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 950;
  line-height: 1.35;
}

.lm-journey-v4-story-step p {
  margin: 0;
  color: #52647a;
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.72;
}

@media (max-width: 1180px) {
  .lm-journey-v4-story-map::before {
    display: none;
  }

  .lm-journey-v4-story-map__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-journey-v4-story-step {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .lm-journey-v4-story-map {
    padding: 1rem;
    border-radius: 12px;
  }

  .lm-journey-v4-story-map__steps {
    grid-template-columns: 1fr;
  }

  .lm-journey-v4-story-step {
    border-radius: 12px;
  }

  .lm-journey-v4-story-step::after {
    border-radius: 12px 12px 0 0;
  }
}

.lm-developed-strength,
.lm-journey-v4-strength {
  margin: 24px auto;
  padding: 24px;
  border: 1px solid rgba(24, 132, 102, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 199, 87, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(232, 248, 243, 0.92), rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 46px rgba(15, 40, 72, 0.08);
  color: #10233f;
}

.lm-developed-strength span,
.lm-journey-v4-strength .lm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #0b8a66;
  font-size: 0.92rem;
  font-weight: 900;
}

.lm-developed-strength span::before,
.lm-journey-v4-strength .lm-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc757, #168466);
  box-shadow: 0 0 0 6px rgba(24, 132, 102, 0.1);
}

.lm-developed-strength strong,
.lm-journey-v4-strength h3 {
  display: block;
  margin: 0 0 10px;
  color: #10233f;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.25;
  font-weight: 950;
}

.lm-developed-strength p,
.lm-journey-v4-strength p:not(.lm-kicker) {
  margin: 0;
  max-width: 780px;
  color: #536174;
  font-size: 1.04rem;
  line-height: 1.85;
  font-weight: 700;
}

.lm-result-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 24px auto;
  padding: 22px;
  border: 1px solid rgba(29, 79, 134, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(15, 40, 72, 0.06);
}

.lm-result-feedback span {
  display: block;
  margin: 0 0 6px;
  color: #0b8a66;
  font-weight: 900;
}

.lm-result-feedback h3 {
  margin: 0 0 6px;
  color: #10233f;
  font-size: 1.35rem;
  line-height: 1.25;
}

.lm-result-feedback p {
  margin: 0;
  color: #617083;
  font-weight: 650;
  line-height: 1.7;
}

.lm-result-feedback__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.lm-result-feedback__buttons button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(29, 79, 134, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #10233f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lm-result-feedback__buttons button:hover,
.lm-result-feedback__buttons button:focus {
  border-color: rgba(24, 132, 102, 0.55);
  transform: translateY(-1px);
  outline: none;
}

.lm-result-feedback__buttons button.is-selected {
  background: linear-gradient(135deg, #0f3157, #168466);
  border-color: transparent;
  color: #fff;
}

.lm-result-feedback__message {
  grid-column: 1 / -1;
  min-height: 1.4em;
  color: #168466;
  font-size: 0.95rem;
  font-weight: 800;
}

.lm-result-feedback__message.is-error {
  color: #a44a16;
}

.lm-answer-details-actions {
  display: flex;
  justify-content: center;
  margin: 18px auto 30px;
}

body.lm-answer-details-open {
  overflow: hidden;
}

.lm-answer-details-modal[hidden] {
  display: none;
}

.lm-answer-details-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7, 19, 37, 0.58);
  backdrop-filter: blur(8px);
}

.lm-answer-details-modal__dialog {
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(58, 134, 200, 0.12), transparent 36%),
    linear-gradient(145deg, #ffffff, #f6fbff);
  box-shadow: 0 28px 80px rgba(5, 17, 35, 0.28);
  padding: 28px;
  direction: rtl;
}

.lm-answer-details-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.lm-answer-details-modal__head span {
  display: block;
  color: #0b8a66;
  font-weight: 900;
  margin-bottom: 6px;
}

.lm-answer-details-modal__head h3 {
  margin: 0;
  color: #10233f;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.lm-answer-details-modal__head button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 35, 63, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #10233f;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.lm-answer-details-modal ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-answer-details-modal li {
  position: relative;
  padding: 16px 46px 16px 18px;
  border: 1px solid rgba(29, 79, 134, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: #263754;
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 750;
}

.lm-answer-details-modal li::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc757, #168466);
}

.lm-journey-v4-strength {
  margin-top: 0;
}

@media (max-width: 720px) {
  .lm-result-feedback {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .lm-result-feedback__buttons {
    justify-content: stretch;
  }

  .lm-result-feedback__buttons button {
    flex: 1 1 100%;
  }

  .lm-answer-details-modal {
    padding: 14px;
  }

  .lm-answer-details-modal__dialog {
    max-height: calc(100vh - 28px);
    border-radius: 22px;
    padding: 20px;
  }

  .lm-answer-details-modal__head {
    align-items: center;
  }

  .lm-answer-details-modal li {
    padding: 14px 38px 14px 14px;
  }
}

/* v1.1.279: connect every result to a calm, human personal story map. */
.lm-journey-v4-story-takeaways {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding-top: 0.2rem;
}

/* v1.1.281: build the personal map from exact saved answers. */
.lm-precise-map {
  margin-block: clamp(1.1rem, 2.5vw, 2rem);
}

.lm-precise-map__directions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-precise-map__directions article {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.lm-precise-map__directions span {
  color: #168466;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.4;
}

.lm-precise-map__directions strong {
  overflow-wrap: anywhere;
  color: #10213b;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 950;
  line-height: 1.4;
}

.lm-precise-map__directions small {
  color: #607088;
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.55;
}

.lm-precise-map__confidence {
  background: linear-gradient(145deg, rgba(234, 247, 255, 0.88), rgba(255, 251, 239, 0.88)) !important;
}

.lm-precise-map__details-action {
  position: relative;
  z-index: 1;
  margin: 0.2rem 0 0;
}

.lm-precise-map-details li {
  display: grid;
  gap: 0.35rem;
}

.lm-precise-map-details li > strong {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-precise-map-details li > span {
  color: #10213b;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.65;
}

.lm-precise-map-details li > small {
  color: #607088;
  font-size: 0.86rem;
  font-weight: 760;
}

.lm-precise-map__strength {
  margin-block: 0 clamp(1.1rem, 2.5vw, 2rem);
}

.lm-my-map > .lm-precise-map {
  width: min(1180px, 100%);
  margin-inline: auto;
}

#my-map {
  scroll-margin-top: 7.5rem;
}

@media (max-width: 860px) {
  .lm-precise-map__directions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lm-precise-map__directions article {
    padding: 0.85rem;
  }

  .lm-precise-map__details-action .lm-button {
    width: 100%;
  }
}

.lm-journey-v4-story-takeaways article {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(22, 132, 102, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.lm-journey-v4-story-takeaways article:nth-child(2) {
  border-color: rgba(245, 184, 75, 0.26);
  background: rgba(255, 251, 240, 0.82);
}

.lm-journey-v4-story-takeaways article:nth-child(3) {
  border-color: rgba(47, 143, 209, 0.18);
  background: rgba(244, 250, 255, 0.82);
}

.lm-journey-v4-story-takeaways span {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-journey-v4-story-takeaways p {
  margin: 0;
  color: #263754;
  font-size: 0.95rem;
  font-weight: 780;
  line-height: 1.7;
}

.lm-result-map-bridge {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin: 24px auto;
  padding: clamp(1.15rem, 3vw, 1.75rem);
  border: 1px solid rgba(22, 132, 102, 0.17);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 184, 75, 0.15), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 251, 248, 0.92));
  box-shadow: 0 16px 40px rgba(16, 33, 59, 0.07);
}

.lm-result-map-bridge > div {
  display: grid;
  gap: 0.42rem;
}

.lm-result-map-bridge > div > span {
  color: #168466;
  font-size: 0.85rem;
  font-weight: 950;
}

.lm-result-map-bridge strong {
  color: #10213b;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 950;
  line-height: 1.3;
}

.lm-result-map-bridge p {
  margin: 0;
  max-width: 58ch;
  color: #52647a;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.75;
}

.lm-result-map-bridge ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-result-map-bridge ol::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  inset-block-start: 18px;
  height: 2px;
  background: linear-gradient(90deg, #2f8fd1, #168466, #f5b84b);
  opacity: 0.45;
}

.lm-result-map-bridge li {
  position: relative;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  color: #263754;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.lm-result-map-bridge li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 7px solid #ffffff;
  border-radius: 50%;
  background: #168466;
  box-shadow: 0 0 0 1px rgba(22, 132, 102, 0.16), 0 7px 18px rgba(16, 33, 59, 0.1);
}

.lm-result-map-bridge li:nth-child(2)::before {
  background: #2f8fd1;
}

.lm-result-map-bridge li:nth-child(3)::before {
  background: #f5b84b;
}

@media (max-width: 820px) {
  .lm-journey-v4-story-takeaways,
  .lm-result-map-bridge {
    grid-template-columns: 1fr;
  }

  .lm-result-map-bridge {
    padding: 1.1rem;
    border-radius: 12px;
  }
}

@media (max-width: 520px) {
  .lm-result-map-bridge ol {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .lm-result-map-bridge ol::before {
    inset-inline-start: 17px;
    inset-inline-end: auto;
    inset-block: 18px;
    width: 2px;
    height: auto;
  }

  .lm-result-map-bridge li {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: start;
  }
}

/* v1.1.283: unified, story-first personal journey hub. */
.lm-journey-v5 {
  display: grid;
  gap: clamp(1.15rem, 2.4vw, 1.75rem);
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 6% 3%, rgba(47, 143, 209, 0.12), transparent 22rem),
    radial-gradient(circle at 94% 0%, rgba(245, 184, 75, 0.13), transparent 20rem),
    linear-gradient(rgba(47, 143, 209, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 143, 209, 0.032) 1px, transparent 1px),
    #f9fcfe;
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
  box-shadow: 0 24px 70px rgba(16, 33, 59, 0.09);
}

.lm-journey-v5,
.lm-journey-v5 * {
  box-sizing: border-box;
}

.lm-journey-v5-nav {
  display: flex;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(16, 33, 59, 0.06);
}

/* v1.1.292: accessible in-page tabs keep the journey focused on one view at a time. */
.lm-journey-v5-nav button {
  appearance: none;
  border: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  color: #41526b;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.lm-journey-v5-nav button.is-active,
.lm-journey-v5-nav button[aria-selected="true"],
.lm-journey-v5-nav button:hover,
.lm-journey-v5-nav button:focus-visible {
  color: #ffffff;
  background: #10213b;
  outline: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lm-journey-v5-nav button:focus-visible {
  outline-color: #2f8fd1;
  outline-offset: 2px;
}

.lm-journey-v5-panel {
  display: grid;
  gap: clamp(1.15rem, 2.4vw, 1.75rem);
  min-width: 0;
  scroll-margin-top: 110px;
}

.lm-journey-v5-nav[hidden],
.lm-journey-v5-panel[hidden] {
  display: none;
}

.lm-journey-v5--tabs-ready .lm-journey-v5-panel.is-active {
  animation: lm-journey-tab-enter 220ms ease-out both;
}

@keyframes lm-journey-tab-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-journey-v5--tabs-ready .lm-journey-v5-panel.is-active {
    animation: none;
  }
}

.lm-journey-v5-hero {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

.lm-journey-v5-hero__insight,
.lm-journey-v5-hero__next {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(16, 33, 59, 0.075);
}

.lm-journey-v5-hero__insight {
  min-height: 260px;
  border-inline-end: 5px solid #168466;
}

.lm-journey-v5-hero__insight h1 {
  max-width: 22ch;
  margin: 0;
  color: #10213b;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.lm-journey-v5-hero__insight > p:not(.lm-kicker),
.lm-journey-v5-hero__next > p:not(.lm-kicker),
.lm-journey-v5-section-head > p:not(.lm-kicker),
.lm-journey-v5-change__cards p,
.lm-journey-v5-map p,
.lm-journey-v5-strength p {
  margin: 0;
  color: #53647b;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 730;
  line-height: 1.75;
}

.lm-journey-v5-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-radius: 8px;
  background: #f2faf7;
}

.lm-journey-v5-signal span,
.lm-journey-v5-hero__next .lm-kicker,
.lm-journey-v5-section-head .lm-kicker,
.lm-journey-v5-strength .lm-kicker,
.lm-journey-v5-change__cards > article > span,
.lm-journey-v5-chart__head span {
  color: #168466;
  font-size: 0.86rem;
  font-weight: 950;
}

.lm-journey-v5-signal strong {
  color: #10213b;
  font-weight: 950;
}

.lm-journey-v5-hero__next {
  border-block-start: 4px solid #f5b84b;
  background:
    radial-gradient(circle at 0 0, rgba(245, 184, 75, 0.18), transparent 11rem),
    linear-gradient(145deg, #ffffff, #f4fbf8);
}

.lm-journey-v5-hero__next h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 950;
  line-height: 1.25;
}

.lm-journey-v5-hero__next .lm-button {
  width: 100%;
  justify-content: center;
  margin-top: 0.15rem;
}

.lm-journey-v5-lock {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 8px;
  color: #10213b;
  background: rgba(255, 255, 255, 0.9);
}

.lm-journey-v5-lock strong {
  font-size: 0.95rem;
  font-weight: 950;
}

.lm-journey-v5-lock span {
  color: #637187;
  font-size: 0.86rem;
  font-weight: 750;
}

.lm-journey-v5-section-head {
  display: grid;
  gap: 0.4rem;
  max-width: 760px;
}

.lm-journey-v5-section-head h3,
.lm-journey-v5-strength h3 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: 0;
}

.lm-journey-v5-map,
.lm-journey-v5-change,
.lm-journey-v5-history {
  scroll-margin-top: 110px;
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2.6vw, 1.65rem);
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(16, 33, 59, 0.065);
}

.lm-journey-v5-map__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-journey-v5-map__steps::before {
  content: "";
  position: absolute;
  inset-inline: 8%;
  inset-block-start: 1.35rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f8fd1, #168466, #f5b84b, #e86f51);
  opacity: 0.35;
}

.lm-journey-v5-map__steps article {
  position: relative;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 210px;
  padding: 0.9rem;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 33, 59, 0.055);
}

.lm-journey-v5-map__steps article > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 7px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #168466;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 0 0 1px rgba(22, 132, 102, 0.15), 0 8px 18px rgba(16, 33, 59, 0.12);
}

.lm-journey-v5-map__steps small,
.lm-journey-v5-map__takeaways span {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 950;
}

.lm-journey-v5-map__steps strong {
  color: #10213b;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.35;
}

.lm-journey-v5-map__takeaways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-journey-v5-map__takeaways > div {
  padding: 0.9rem;
  border-inline-start: 3px solid #168466;
  background: #f6fafc;
}

.lm-journey-v5-strength {
  display: grid;
  gap: 0.45rem;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border-inline-end: 5px solid #168466;
  border-radius: 8px;
  background: linear-gradient(135deg, #eefaf6, #ffffff);
}

.lm-journey-v5-change {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 143, 209, 0.1), transparent 15rem),
    rgba(255, 255, 255, 0.94);
}

.lm-journey-v5-change__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.lm-journey-v5-change__cards article {
  display: grid;
  gap: 0.45rem;
  min-height: 155px;
  padding: 1rem;
  border: 1px solid rgba(16, 33, 59, 0.09);
  border-radius: 8px;
  background: #ffffff;
}

.lm-journey-v5-change__cards article:last-child {
  border-block-start: 3px solid #f5b84b;
}

.lm-journey-v5-change__cards h4 {
  margin: 0;
  color: #10213b;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 950;
  line-height: 1.3;
}

.lm-journey-v5-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lm-journey-v5-signals > span {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(22, 132, 102, 0.14);
  border-radius: 999px;
  background: #f3faf7;
}

.lm-journey-v5-signals strong {
  color: #10213b;
  font-size: 0.9rem;
  font-weight: 950;
}

.lm-journey-v5-signals small {
  color: #627188;
  font-size: 0.78rem;
  font-weight: 800;
}

.lm-journey-v5-chart {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-block-start: 1px solid rgba(16, 33, 59, 0.08);
}

.lm-journey-v5-chart__head {
  display: grid;
  gap: 0.2rem;
}

.lm-journey-v5-chart__head strong {
  color: #10213b;
  font-size: 1.1rem;
  font-weight: 950;
}

.lm-journey-v5-chart__canvas {
  min-height: 190px;
}

.lm-journey-v5-chart__canvas svg {
  display: block;
  width: 100%;
  height: 190px;
  overflow: visible;
}

.lm-journey-v5-chart__canvas line {
  stroke: rgba(16, 33, 59, 0.1);
  stroke-width: 0.45;
}

.lm-journey-v5-chart__canvas polyline {
  fill: none;
  stroke: #2f8fd1;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lm-journey-v5-chart__line--red,
.lm-journey-v5-chart__line--pain {
  stroke: #e86f51 !important;
}

.lm-journey-v5-chart__line--blue,
.lm-journey-v5-chart__line--control {
  stroke: #2f8fd1 !important;
}

.lm-journey-v5-chart__line--green,
.lm-journey-v5-chart__line--pleasing {
  stroke: #168466 !important;
}

.lm-journey-v5-chart__line--purple,
.lm-journey-v5-chart__line--anger {
  stroke: #7d5ce7 !important;
}

.lm-journey-v5-chart__line--gold,
.lm-journey-v5-chart__line--alertness {
  stroke: #e5a018 !important;
}

.lm-journey-v5-chart__axis {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #66758a;
  font-size: 0.78rem;
  font-weight: 800;
}

.lm-journey-v5-empty {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px dashed rgba(16, 33, 59, 0.14);
  border-radius: 8px;
  color: #55657a;
  background: #f8fafc;
}

.lm-journey-v5-empty strong {
  color: #10213b;
  font-weight: 950;
}

.lm-journey-v5-history__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lm-journey-v5-history__list a {
  display: grid;
  gap: 0.35rem;
  min-height: 118px;
  padding: 0.9rem;
  border: 1px solid rgba(16, 33, 59, 0.1);
  border-radius: 8px;
  color: #10213b;
  background: #ffffff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lm-journey-v5-history__list a:hover,
.lm-journey-v5-history__list a:focus-visible {
  border-color: rgba(22, 132, 102, 0.45);
  outline: none;
  box-shadow: 0 12px 26px rgba(16, 33, 59, 0.08);
  transform: translateY(-2px);
}

.lm-journey-v5-history__list span,
.lm-journey-v5-history__list small {
  color: #68768a;
  font-size: 0.8rem;
  font-weight: 780;
}

.lm-journey-v5-history__list strong {
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.4;
}

.lm-journey-v5-history__more {
  display: grid;
  gap: 0.8rem;
}

.lm-journey-v5-history__more summary {
  width: fit-content;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(16, 33, 59, 0.12);
  border-radius: 8px;
  color: #10213b;
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.lm-journey-v5-history__more[open] summary {
  margin-bottom: 0.8rem;
}

@media (max-width: 920px) {
  .lm-journey-v5-hero,
  .lm-journey-v5-change__cards {
    grid-template-columns: 1fr;
  }

  .lm-journey-v5-map__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-journey-v5-map__steps::before {
    display: none;
  }

  .lm-journey-v5-map__takeaways,
  .lm-journey-v5-history__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lm-journey-v5 {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0.65rem;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .lm-journey-v5-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 12px;
  }

  .lm-journey-v5-nav button {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    white-space: normal;
  }

  .lm-journey-v5-hero__insight,
  .lm-journey-v5-hero__next,
  .lm-journey-v5-map,
  .lm-journey-v5-change,
  .lm-journey-v5-history {
    padding: 1rem;
    border-radius: 8px;
  }

  .lm-journey-v5-hero__insight {
    min-height: 0;
  }

  .lm-journey-v5-hero__insight h1 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .lm-journey-v5-map__steps {
    grid-template-columns: 1fr;
  }

  .lm-journey-v5-map__steps article {
    min-height: 0;
  }

  .lm-journey-v5-signals {
    display: grid;
  }

  .lm-journey-v5-signals > span {
    justify-content: space-between;
    border-radius: 8px;
  }

  .lm-journey-v5-chart {
    padding-inline: 0;
  }

  .lm-journey-v5-chart__canvas,
  .lm-journey-v5-chart__canvas svg {
    min-height: 145px;
    height: 145px;
  }

  .lm-journey-v5-history__list a {
    min-height: 0;
  }
}

/* v1.1.288: bring the journey into view sooner and keep its mobile story compact. */
.lmh-entry.lmh-journey-page {
  padding-block: clamp(0.8rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3.5rem);
}

.lm-journey-v5-panel > .lm-precise-map {
  margin-block: 0;
}

.lm-journey-v5 > *,
.lm-precise-map,
.lm-journey-v4-story-map {
  min-width: 0;
}

@media (max-width: 640px) {
  .lmh-entry.lmh-journey-page {
    padding-block: 0.6rem 1.5rem;
  }

  .lm-journey-v5 {
    gap: 0.85rem;
  }

  .lm-journey-v5-hero {
    gap: 0.75rem;
  }

  .lm-journey-v5-hero__insight,
  .lm-journey-v5-hero__next,
  .lm-journey-v5-map,
  .lm-journey-v5-change,
  .lm-journey-v5-history,
  .lm-journey-v4-story-map {
    padding: 0.9rem;
  }

  .lm-precise-map__directions,
  .lm-journey-v4-story-map__steps,
  .lm-journey-v4-story-takeaways,
  .lm-journey-v5-map__steps,
  .lm-journey-v5-map__takeaways {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 300px);
    gap: 0.7rem;
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0.1rem;
    padding: 0.1rem 0 0.45rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lm-precise-map__directions::-webkit-scrollbar,
  .lm-journey-v4-story-map__steps::-webkit-scrollbar,
  .lm-journey-v4-story-takeaways::-webkit-scrollbar,
  .lm-journey-v5-map__steps::-webkit-scrollbar,
  .lm-journey-v5-map__takeaways::-webkit-scrollbar {
    display: none;
  }

  .lm-precise-map__directions > article,
  .lm-journey-v4-story-map__steps > article,
  .lm-journey-v4-story-takeaways > article,
  .lm-journey-v5-map__steps > article,
  .lm-journey-v5-map__takeaways > div {
    min-height: 0;
    scroll-snap-align: start;
  }
}

/* v1.1.296: final cascade for the focused journey layout. */
.lm-journey-v5-change__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-journey-v5-change__cards article {
  min-width: 0;
  min-height: 190px;
  border-block-start: 4px solid #8997aa;
}

.lm-journey-v5-change__cards article.is-calmer {
  border-block-start-color: #168466;
  background: linear-gradient(150deg, #ffffff, #f3faf7);
}

.lm-journey-v5-change__cards article.is-repeating {
  border-block-start-color: #f5b84b;
  background: linear-gradient(150deg, #ffffff, #fff9ed);
}

.lm-journey-v5-change__cards article.is-recent,
.lm-journey-v5-change__cards article:last-child {
  border-block-start-color: #2f8fd1;
  background: linear-gradient(150deg, #ffffff, #f1f8fd);
}

@media (max-width: 920px) {
  .lm-journey-v5-now__cards,
  .lm-journey-v5-change__cards {
    grid-template-columns: 1fr;
  }

  .lm-journey-v5-change__cards article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .lm-journey-v5-nav {
    position: sticky;
    z-index: 5;
    top: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }

  /* A full card is easier to read than clipped carousel text inside the map tab. */
  .lm-journey-v5-panel > .lm-precise-map .lm-precise-map__directions,
  .lm-journey-v5 .lm-journey-v4-story-map__steps,
  .lm-journey-v5 .lm-journey-v4-story-takeaways,
  .lm-journey-v5 .lm-journey-v5-map__steps,
  .lm-journey-v5 .lm-journey-v5-map__takeaways {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-block-end: 0;
  }
}

/* Keep the grouped history dialog wider than the legacy single-attempt dialog. */
.lm-journey-answers-dialog.lm-questionnaire-library__dialog {
  width: min(940px, calc(100vw - 2rem));
  max-width: 940px;
  max-height: min(88vh, 860px);
  overflow: auto;
}

.lm-questionnaire-library__dialog .lm-journey-answers-dialog__list {
  max-height: none;
  overflow: visible;
}

@media (max-width: 640px) {
  .lm-journey-answers-dialog.lm-questionnaire-library__dialog {
    width: calc(100vw - 1rem);
    max-height: 94vh;
  }
}

/* v1.1.300: keep the journey tabs and questionnaire history inside narrow phones. */
@media (max-width: 640px) {
  .lmh-entry.lmh-journey-page .lm-journey-v5 {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0.75rem;
  }

  .lm-journey-v5-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .lm-journey-v5-nav button {
    min-width: 0;
    padding: 0.55rem 0.25rem;
    font-size: 0.78rem;
    white-space: normal;
  }

  .lm-questionnaire-library,
  .lm-questionnaire-library__card,
  .lm-questionnaire-library__copy,
  .lm-questionnaire-library__actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
/* Longitudinal personal journey, v1.5.0. */
.lm-longitudinal-card,
.lm-guide,
.lm-time-tools,
.lm-personal-album {
  --lm-long-text: #203d3a;
  --lm-long-muted: #617774;
  --lm-long-line: #dce9e6;
  --lm-long-soft: #f5faf8;
  margin-top: 1.25rem;
  color: var(--lm-long-text);
}

.lm-longitudinal-card,
.lm-guide,
.lm-time-tools,
.lm-personal-album,
.lm-longitudinal-tool,
.lm-exception-list article,
.lm-guide-suggestions article,
.lm-guide-items article,
.lm-focus-areas > article,
.lm-snapshot-comparison,
.lm-important-grid article {
  border: 1px solid var(--lm-long-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 67, 62, 0.055);
}

.lm-guide,
.lm-time-tools,
.lm-personal-album {
  padding: clamp(1rem, 2.7vw, 1.75rem);
}

.lm-due-activity {
  padding: 1.2rem;
  border-inline-start: 5px solid #d69b45;
  background: #fffaf1;
}

.lm-due-activity h3,
.lm-guide h2,
.lm-time-tools h2,
.lm-personal-album h2,
.lm-longitudinal-tool h3 {
  margin: 0.25rem 0 0.55rem;
  color: #173b37;
  letter-spacing: 0;
}

.lm-due-activity blockquote,
.lm-capsule-list blockquote {
  margin: 0.85rem 0;
  padding: 0.8rem 1rem;
  border: 0;
  border-inline-start: 3px solid #7aafa3;
  background: rgba(255, 255, 255, 0.72);
  color: #35534f;
}

.lm-longitudinal-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.lm-longitudinal-form label,
.lm-longitudinal-form fieldset {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #294b47;
  font-weight: 700;
}

.lm-longitudinal-form legend {
  margin-bottom: 0.5rem;
  color: #294b47;
  font-weight: 700;
}

.lm-longitudinal-form textarea,
.lm-longitudinal-form input[type="text"],
.lm-longitudinal-form input[type="date"],
.lm-longitudinal-form select,
.lm-map-open-question select {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #cddedb;
  border-radius: 6px;
  background: #fff;
  color: #203d3a;
  font: inherit;
  font-weight: 400;
  letter-spacing: 0;
}

.lm-longitudinal-form textarea:focus,
.lm-longitudinal-form input[type="text"]:focus,
.lm-longitudinal-form select:focus,
.lm-map-open-question select:focus {
  outline: 3px solid rgba(60, 126, 111, 0.16);
  border-color: #4b8c7e;
}

.lm-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lm-choice-row label {
  position: relative;
  display: block;
  cursor: pointer;
}

.lm-choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lm-choice-row span {
  display: block;
  min-height: 42px;
  padding: 0.62rem 0.78rem;
  border: 1px solid #ccddda;
  border-radius: 6px;
  background: #fff;
  color: #3e5c58;
  font-weight: 600;
}

.lm-choice-row input:checked + span {
  border-color: #397d6e;
  background: #eaf5f1;
  color: #1f5a50;
  box-shadow: inset 0 0 0 1px #397d6e;
}

.lm-choice-row input:focus-visible + span {
  outline: 3px solid rgba(57, 125, 110, 0.22);
  outline-offset: 2px;
}

.lm-longitudinal-tool {
  margin-top: 0.85rem;
  overflow: clip;
}

.lm-longitudinal-tool > summary {
  position: relative;
  padding: 1rem 3rem 1rem 1rem;
  cursor: pointer;
  list-style: none;
  color: #214d46;
  font-weight: 800;
}

.lm-longitudinal-tool > summary::-webkit-details-marker { display: none; }
.lm-longitudinal-tool > summary::before {
  content: "+";
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  translate: 0 -50%;
  color: #397d6e;
  font-size: 1.3rem;
}
.lm-longitudinal-tool[open] > summary::before { content: "−"; }
.lm-longitudinal-tool[open] > summary { border-bottom: 1px solid var(--lm-long-line); background: var(--lm-long-soft); }
.lm-longitudinal-tool > :not(summary) { margin-inline: 1rem; }
.lm-longitudinal-tool > :last-child { margin-bottom: 1rem; }

.lm-provenance-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0.1rem;
}

.lm-provenance-chips span,
.lm-connection-source {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #edf4f2;
  color: #4a6964;
  font-size: 0.72rem;
  font-weight: 700;
}

.lm-provenance-chips .is-user_asserted,
.lm-provenance-chips .is-user_confirmed { background: #edf6ff; color: #315f83; }
.lm-provenance-chips .is-longitudinal { background: #f3effb; color: #665080; }
.lm-provenance-chips .is-experiment_supported { background: #fff4e0; color: #815d24; }

.lm-exception-list,
.lm-guide-suggestions,
.lm-guide-items,
.lm-important-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.lm-exception-list article,
.lm-guide-suggestions article,
.lm-guide-items article,
.lm-important-grid article {
  padding: 1rem;
}

.lm-exception-list article > span,
.lm-guide-suggestions article > span,
.lm-important-grid article > span,
.lm-focus-areas > article > span,
.lm-snapshot-comparison > span {
  color: #5f7f79;
  font-size: 0.75rem;
  font-weight: 800;
}

.lm-exception-list h3,
.lm-important-grid h3 {
  margin: 0.35rem 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.lm-exception-list details,
.lm-personal-question-list details {
  margin-top: 0.75rem;
  border-top: 1px solid #e5eeec;
  padding-top: 0.65rem;
}

.lm-exception-list summary,
.lm-personal-question-list summary {
  cursor: pointer;
  color: #2b6b5f;
  font-weight: 750;
}

.lm-condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.lm-condition-grid article {
  padding: 1rem;
  border-radius: 8px;
  background: #edf7f3;
}

.lm-condition-grid article:last-child { background: #fff7ec; }
.lm-condition-grid span { color: #315f57; font-weight: 800; }
.lm-condition-grid p { margin: 0.5rem 0 0; }

.lm-guide-suggestions button,
.lm-inline-actions button,
.lm-inline-delete button,
.lm-guide-item-actions button,
.lm-focus-status button,
.lm-note-list button {
  min-height: 38px;
  padding: 0.48rem 0.72rem;
  border: 1px solid #bdd4cf;
  border-radius: 6px;
  background: #fff;
  color: #2b6b5f;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.lm-guide-items article { display: grid; gap: 0.45rem; }
.lm-guide-items textarea { width: 100%; padding: 0.65rem; border: 1px solid #ccddda; border-radius: 6px; font: inherit; }
.lm-guide-item-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.45rem; }
.lm-inline-delete { justify-self: end; }
.lm-inline-delete button { color: #8b4d4d; border-color: #ead2d2; }

.lm-focus-areas { margin-top: 1.25rem; padding-top: 1.2rem; border-top: 1px solid var(--lm-long-line); }
.lm-focus-areas > article { margin-top: 0.75rem; padding: 1rem; }
.lm-focus-areas h4 { margin: 0.25rem 0; letter-spacing: 0; }
.lm-focus-status { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }

.lm-snapshot-comparison { padding: 1rem; background: #f7fbfa; }
.lm-snapshot-comparison > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: 0.75rem; }
.lm-snapshot-comparison article { padding: 0.8rem; border: 1px solid #dce9e6; border-radius: 6px; background: #fff; }
.lm-snapshot-comparison article.is-changed { border-inline-start: 4px solid #d69b45; }
.lm-snapshot-comparison p { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.45rem; margin: 0.45rem 0 0; }
.lm-snapshot-comparison small { color: #6c7f7c; font-weight: 700; }

.lm-snapshot-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lm-snapshot-form .lm-button { justify-self: start; }
.lm-capsule-list,
.lm-note-list,
.lm-impact-timeline { margin: 1rem 0 0; padding: 0; list-style: none; }
.lm-capsule-list li,
.lm-note-list li,
.lm-impact-timeline li { margin-top: 0.65rem; padding: 0.85rem; border: 1px solid #e1ebe9; border-radius: 6px; background: #fbfdfc; }
.lm-capsule-list li { display: grid; gap: 0.35rem; }
.lm-capsule-list time,
.lm-note-list time,
.lm-important-grid time,
.lm-impact-timeline time,
.lm-personal-question-list time { color: #70827f; font-size: 0.76rem; }
.lm-longitudinal-summary { margin-top: 1rem; padding: 0.9rem; border-inline-start: 4px solid #7aafa3; background: #edf7f3; }

.lm-personal-album__empty { padding: 1rem; border: 1px dashed #cbded9; border-radius: 6px; color: var(--lm-long-muted); }
.lm-check-line { display: flex !important; grid-template-columns: auto 1fr; align-items: center; justify-content: start; }
.lm-note-list li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.lm-note-list li > div time { margin-inline-end: auto; }
.lm-impact-timeline { border-inline-start: 2px solid #b8d2cc; padding-inline-start: 1rem; }
.lm-impact-timeline li { position: relative; }
.lm-impact-timeline li::before { content: ""; position: absolute; inset-inline-start: -1.43rem; top: 1rem; width: 10px; height: 10px; border-radius: 50%; background: #397d6e; }

.lm-personal-question-list { display: grid; gap: 0.6rem; margin-top: 1rem; }
.lm-personal-question-list details { padding: 0.85rem; border: 1px solid #dce9e6; border-radius: 6px; background: #fff; }
.lm-personal-question-list details > *:not(summary) { margin-top: 0.65rem; }

.lm-topic-preference { margin-top: 0.7rem; border-top: 1px solid #e2ecea; padding-top: 0.6rem; }
.lm-topic-preference summary { cursor: pointer; color: #2b6b5f; font-size: 0.8rem; font-weight: 750; }
.lm-topic-preference form { margin-top: 0.6rem; }
.lm-topic-preference .lm-choice-row button,
.lm-connection-confirm button {
  min-height: 36px;
  padding: 0.42rem 0.65rem;
  border: 1px solid #c7dad6;
  border-radius: 6px;
  background: #fff;
  color: #3d625b;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.lm-topic-preference .lm-choice-row button.is-selected { border-color: #397d6e; background: #eaf5f1; color: #1f5a50; }
.lm-connection-confirm { margin-top: 0.6rem; }
.lm-connection-source.is-user { background: #edf6ff; color: #315f83; }

.lm-past-changes,
.lm-words-actions { margin-top: 1rem; padding: 1rem; border: 1px solid var(--lm-long-line); border-radius: 8px; background: #fff; }
.lm-past-changes > span,
.lm-words-actions > span { color: #5f7f79; font-size: 0.76rem; font-weight: 800; }
.lm-past-changes > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.75rem; }
.lm-past-changes article,
.lm-words-actions article { padding: 0.85rem; border-radius: 6px; background: #f7faf9; }
.lm-past-changes h3,
.lm-words-actions h3 { margin: 0 0 0.55rem; font-size: 1rem; letter-spacing: 0; }
.lm-past-changes p { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.45rem; margin: 0.45rem 0; }
.lm-past-changes small { color: #71837f; font-weight: 700; }
.lm-past-changes em { display: block; margin-top: 0.65rem; color: #647773; font-size: 0.8rem; font-style: normal; }
.lm-words-actions article { margin-top: 0.7rem; background: #fff8ed; }
.lm-words-actions strong { color: #6d552d; }

.lm-personal-activity li span { display: grid; gap: 0.15rem; }
.lm-personal-activity li small { color: #71837f; }

.lm-personal-map__connections article .lm-connection-source { margin-bottom: 0.45rem; }

/* Childhood -> present connection map. */
.lm-childhood-present {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.8vw, 1.6rem);
  border: 1px solid #dbe8e4;
  border-radius: 8px;
  background: #f8fbfa;
}

.lm-childhood-present__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.lm-childhood-present__head h3 {
  margin: 0.2rem 0 0.45rem;
  color: #193e38;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.lm-childhood-present__head p,
.lm-childhood-present__waiting p,
.lm-childhood-present__dismissed p {
  margin: 0;
  color: #4d625f;
  line-height: 1.75;
}

.lm-childhood-present__list {
  display: grid;
  gap: 1rem;
}

.lm-childhood-present__card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.8vw, 1.45rem);
  border: 1px solid #d7e4df;
  border-inline-start: 4px solid #247866;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 67, 59, 0.07);
}

.lm-childhood-present__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.lm-childhood-present__meta span,
.lm-childhood-present__meta strong {
  display: inline-flex;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #eaf5f1;
  color: #205f52;
  font-size: 0.78rem;
  line-height: 1.3;
}

.lm-childhood-present__meta strong { background: #dff2e7; }
.lm-childhood-present__meta strong.is-unsure { background: #fff2d7; color: #795315; }

.lm-childhood-present__card h4 {
  margin: 0;
  color: #173b35;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.lm-childhood-present__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.12fr);
  gap: 0.65rem;
  align-items: stretch;
}

.lm-childhood-present__flow > section {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #e1e9e6;
  border-radius: 8px;
  background: #fbfcfc;
}

.lm-childhood-present__flow > section.is-connection {
  border-color: #c9ddd6;
  background: #edf7f3;
}

.lm-childhood-present__flow > i {
  align-self: center;
  color: #6b8b84;
  font-style: normal;
  font-size: 1.25rem;
  transform: rotate(90deg);
}

.lm-childhood-present__flow span {
  display: block;
  margin-bottom: 0.45rem;
  color: #247866;
  font-size: 0.78rem;
  font-weight: 800;
}

.lm-childhood-present__flow p {
  margin: 0;
  color: #263c38;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.lm-childhood-present__flow p + p { margin-top: 0.7rem; }

.lm-childhood-present__flow small {
  display: block;
  margin-top: 0.3rem;
  color: #657773;
  font-size: 0.76rem;
}

.lm-childhood-present__counter,
.lm-childhood-present__dismissed {
  padding: 0.8rem 0.95rem;
  border: 1px solid #eadfca;
  border-radius: 8px;
  background: #fffaf1;
}

.lm-childhood-present__counter summary,
.lm-childhood-present__dismissed summary {
  cursor: pointer;
  color: #654f2a;
  font-weight: 800;
}

.lm-childhood-present__counter p { margin: 0.65rem 0 0; color: #665c49; }
.lm-childhood-present__counter ul,
.lm-childhood-present__dismissed ul { margin: 0.65rem 0 0; padding-inline-start: 1.2rem; }

.lm-childhood-present__validation {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e4ebe8;
}

.lm-childhood-present__validation > strong { color: #253e39; }

.lm-childhood-present__validation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lm-childhood-present__validation button {
  min-height: 42px;
  padding: 0.62rem 0.85rem;
  border: 1px solid #bcd1ca;
  border-radius: 7px;
  background: #fff;
  color: #24574d;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lm-childhood-present__validation button:hover,
.lm-childhood-present__validation button:focus-visible,
.lm-childhood-present__validation button.is-selected {
  border-color: #247866;
  background: #eaf5f1;
  outline: none;
}

.lm-childhood-present__waiting {
  padding: 1rem;
  border: 1px dashed #bfd1cb;
  border-radius: 8px;
  background: #fff;
}

.lm-childhood-present__waiting strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #2b534a;
}

@media (max-width: 860px) {
  .lm-childhood-present__flow {
    grid-template-columns: 1fr;
  }

  .lm-childhood-present__flow > i {
    justify-self: center;
    transform: none;
  }
}

@media (max-width: 560px) {
  .lm-childhood-present,
  .lm-childhood-present__card { padding: 0.9rem; }

  .lm-childhood-present__validation > div,
  .lm-childhood-present__validation button { width: 100%; }
}

@media (max-width: 760px) {
  .lm-guide,
  .lm-time-tools,
  .lm-personal-album { padding: 1rem; }
  .lm-exception-list,
  .lm-guide-suggestions,
  .lm-guide-items,
  .lm-important-grid,
  .lm-condition-grid,
  .lm-snapshot-comparison > div,
  .lm-snapshot-form,
  .lm-past-changes > div { grid-template-columns: minmax(0, 1fr); }
  .lm-choice-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .lm-choice-row span { width: 100%; }
  .lm-longitudinal-tool > summary { padding-inline: 2.8rem 0.8rem; }
  .lm-note-list li > div { align-items: flex-start; }
}
.lm-today-value {
	margin-top: 22px;
	padding: 22px;
	border: 1px solid rgba(38, 92, 76, 0.14);
	border-radius: 8px;
	background: #f7fbf9;
}

.lm-cumulative-value {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.lm-cumulative-value > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(38, 92, 76, 0.12);
	border-radius: 6px;
	background: #fff;
}

.lm-cumulative-value strong,
.lm-cumulative-value span {
	display: block;
}

.lm-cumulative-value strong {
	color: #225f50;
	font-size: 1.35rem;
	line-height: 1.1;
}

.lm-cumulative-value span {
	margin-top: 7px;
	color: #455b55;
	font-size: 0.88rem;
	line-height: 1.45;
}

@media (max-width: 720px) {
	.lm-cumulative-value {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Personalization V2: opt-in local beta layer. */
.lm-personalization-goal {
	margin: 18px 0 22px;
	padding: 18px;
	border: 1px solid #cfe1da;
	border-radius: 8px;
	background: #f7fbf9;
}

.lm-personalization-goal legend {
	padding: 0 6px;
	color: #122d27;
	font-size: 1.05rem;
	font-weight: 800;
}

.lm-personalization-goal > p:not(.lm-step-error) {
	margin: 0 0 12px;
	color: #5b6d67;
	font-size: 0.9rem;
}

.lm-personalization-goal__options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.lm-personalization-goal__options label,
.lm-pv2-question__options label,
.lm-pv2-hypotheses label,
.lm-pv2-feedback__corrections label {
	position: relative;
	min-width: 0;
	cursor: pointer;
}

.lm-personalization-goal__options input,
.lm-pv2-question__options input,
.lm-pv2-hypotheses input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lm-personalization-goal__options span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #d8e5e0;
	border-radius: 6px;
	background: #fff;
	color: #233d35;
	font-weight: 700;
	text-align: center;
}

.lm-personalization-goal__options label:hover span,
.lm-personalization-goal__options input:focus-visible + span {
	border-color: #77a999;
	box-shadow: 0 0 0 3px rgba(38, 112, 90, 0.11);
}

.lm-personalization-goal__options input:checked + span {
	border-color: #18775c;
	background: #e7f5ef;
	color: #0f5b45;
}

.lm-pv2 {
	margin-top: 24px;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid #cfe1da;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(24, 54, 45, 0.08);
}

.lm-pv2__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e3ece8;
}

.lm-pv2__head h3 {
	margin: 4px 0 7px;
	color: #112a24;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.lm-pv2__head p {
	max-width: 680px;
	margin: 0;
	color: #586c65;
}

.lm-pv2__privacy {
	flex: 0 0 auto;
	padding: 6px 9px;
	border: 1px solid #d9e7e2;
	border-radius: 999px;
	color: #477066;
	font-size: 0.78rem;
	font-weight: 700;
}

.lm-pv2-probe {
	margin-top: 22px;
}

.lm-pv2-probe__progress {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
	color: #4c665e;
	font-size: 0.85rem;
	font-weight: 700;
}

.lm-pv2-probe__progress i {
	display: block;
	overflow: hidden;
	height: 5px;
	border-radius: 999px;
	background: #e5ece9;
}

.lm-pv2-probe__progress b {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #208467;
	transition: width 180ms ease;
}

.lm-pv2-question {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.lm-pv2-question[hidden],
.lm-pv2-feedback__corrections[hidden] {
	display: none !important;
}

.lm-pv2-question legend {
	width: 100%;
	margin-bottom: 16px;
	color: #142c26;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 800;
}

.lm-pv2-question__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.lm-pv2-question__options span,
.lm-pv2-hypotheses label > span {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 11px 13px;
	border: 1px solid #d8e4df;
	border-radius: 7px;
	background: #fbfdfc;
	color: #263e37;
	font-weight: 650;
}

.lm-pv2-question__options input:checked + span,
.lm-pv2-hypotheses input:checked + span {
	border-color: #247a61;
	background: #e9f5f0;
	box-shadow: inset -4px 0 #247a61;
}

.lm-pv2-question__options input:focus-visible + span,
.lm-pv2-hypotheses input:focus-visible + span {
	outline: 3px solid rgba(36, 122, 97, 0.18);
	outline-offset: 2px;
}

.lm-pv2-question__nav {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
}

.lm-pv2__observation-note {
	display: grid;
	gap: 3px;
	margin: 18px 0 0;
	padding: 13px 15px;
	border-inline-start: 4px solid #d09b38;
	background: #fff8e9;
	color: #604f2e;
}

.lm-pv2-result {
	margin-top: 22px;
}

.lm-pv2-result__confidence {
	display: inline-block;
	margin-bottom: 5px;
	color: #18775c;
	font-size: 0.82rem;
	font-weight: 800;
}

.lm-pv2-result h4 {
	margin: 0 0 10px;
	color: #112a24;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.lm-pv2-result__lead {
	max-width: 760px;
	margin: 0;
	color: #263f38;
	font-size: 1.05rem;
	line-height: 1.7;
}

.lm-pv2-result__details {
	max-width: 780px;
	margin-top: 14px;
	color: #526760;
}

.lm-pv2-result__details p {
	margin: 6px 0;
}

.lm-pv2-result__three {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 20px;
}

.lm-pv2-result__three article {
	min-width: 0;
	padding: 15px;
	border: 1px solid #dce7e3;
	border-radius: 7px;
	background: #f8fbfa;
}

.lm-pv2-result__three span {
	display: block;
	margin-bottom: 5px;
	color: #31715e;
	font-size: 0.8rem;
	font-weight: 800;
}

.lm-pv2-result__three p {
	margin: 0;
	color: #334b44;
}

.lm-pv2-result__evidence {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #e3ece8;
}

.lm-pv2-result__evidence summary {
	cursor: pointer;
	color: #246b56;
	font-weight: 750;
}

.lm-pv2-result__evidence li + li {
	margin-top: 7px;
}

.lm-pv2-hypotheses,
.lm-pv2-feedback,
.lm-pv2-guide {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid #e3ece8;
}

.lm-pv2-hypotheses label > span {
	min-height: 44px;
}

.lm-pv2-feedback h4,
.lm-pv2-guide h4 {
	margin: 0;
	color: #172e28;
	font-size: 1.15rem;
}

.lm-pv2-feedback__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lm-pv2-feedback__actions button {
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid #cbdcd6;
	border-radius: 6px;
	background: #fff;
	color: #2e5549;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.lm-pv2-feedback__actions button:hover,
.lm-pv2-feedback__actions button:focus-visible {
	border-color: #2d8168;
	background: #eef8f4;
}

.lm-pv2-feedback__corrections {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin-top: 12px;
	padding: 15px;
	background: #f7faf9;
}

.lm-pv2-feedback__corrections > strong,
.lm-pv2-feedback__corrections > button {
	grid-column: 1 / -1;
}

.lm-pv2-feedback__corrections label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	color: #405951;
}

.lm-pv2-feedback__saved {
	margin: 0;
	color: #246b56;
	font-weight: 700;
}

.lm-pv2-presentation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 18px;
	padding-top: 15px;
	border-top: 1px solid #e3ece8;
	color: #526760;
	font-size: 0.88rem;
}

.lm-pv2-presentation label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.lm-pv2-presentation select {
	min-height: 36px;
	border: 1px solid #ccdcd6;
	border-radius: 5px;
	background: #fff;
}

.lm-pv2-guide ul {
	margin: 0;
	padding-inline-start: 20px;
}

.lm-pv2-guide li + li {
	margin-top: 6px;
}

.lm-pv2-repeat {
	display: inline-flex;
	margin-top: 12px;
	color: #246b56;
	font-size: 0.9rem;
	font-weight: 700;
}

.lm-pv2-guide__validation,
.lm-pv2-guide__history {
	margin-top: 8px;
	padding: 14px;
	border: 1px solid #dce8e4;
	border-radius: 6px;
	background: #f8fbfa;
}

.lm-pv2-guide__validation small,
.lm-pv2-guide__history time {
	display: block;
	margin-top: 4px;
	color: #60736d;
}

.lm-pv2-guide__history summary {
	cursor: pointer;
	color: #246b56;
	font-weight: 750;
}

.lm-pv2-guide__history section {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #e3ece8;
}

.lm-pv2-guide__history li {
	overflow-wrap: anywhere;
}

@media (max-width: 720px) {
	.lm-personalization-goal__options,
	.lm-pv2-question__options,
	.lm-pv2-result__three,
	.lm-pv2-feedback__corrections {
		grid-template-columns: 1fr;
	}

	.lm-pv2 {
		margin-top: 16px;
		padding: 18px 14px;
	}

	.lm-pv2__head {
		flex-direction: column;
		gap: 9px;
	}

	.lm-pv2__privacy {
		align-self: flex-start;
	}

	.lm-pv2-question__nav,
	.lm-pv2-feedback__actions,
	.lm-pv2-presentation {
		align-items: stretch;
		flex-direction: column;
	}

	.lm-pv2-question__nav .lm-button,
	.lm-pv2-feedback__actions button,
	.lm-pv2-presentation select {
		width: 100%;
	}
}

/* Keep the journey map readable inside both light and dark saved themes. */
.lm-seven-stations,
html[data-theme="dark"] .lm-seven-stations {
	border-color: #2f5d4c !important;
	background: #11281f !important;
	color: #e9f3ef !important;
}

.lm-seven-stations__head h3,
.lm-seven-stations__head p,
.lm-seven-stations__progress,
html[data-theme="dark"] .lm-seven-stations__head h3,
html[data-theme="dark"] .lm-seven-stations__head p,
html[data-theme="dark"] .lm-seven-stations__progress {
	color: #e9f3ef !important;
}

.lm-seven-stations__route li,
html[data-theme="dark"] .lm-seven-stations__route li {
	border-color: #426a5b !important;
	border-top-color: #6e9587 !important;
	background: #19362c !important;
	color: #dce9e4 !important;
}

.lm-seven-stations__route li.is-completed,
html[data-theme="dark"] .lm-seven-stations__route li.is-completed {
	border-color: #338a6d !important;
	border-top-color: #50c398 !important;
	background: #153d30 !important;
}

.lm-seven-stations__route li.is-available,
.lm-seven-stations__route li.is-waiting,
html[data-theme="dark"] .lm-seven-stations__route li.is-available,
html[data-theme="dark"] .lm-seven-stations__route li.is-waiting {
	border-color: #c79534 !important;
	border-top-color: #efb83f !important;
	background: #382f1d !important;
}

.lm-seven-stations__route li.is-locked,
.lm-seven-stations__route li.is-upcoming,
html[data-theme="dark"] .lm-seven-stations__route li.is-locked,
html[data-theme="dark"] .lm-seven-stations__route li.is-upcoming {
	background: #172d26 !important;
}

.lm-seven-stations__copy strong,
.lm-seven-stations__copy p,
html[data-theme="dark"] .lm-seven-stations__copy strong,
html[data-theme="dark"] .lm-seven-stations__copy p {
	color: #e9f3ef !important;
}

.lm-seven-stations__copy small,
html[data-theme="dark"] .lm-seven-stations__copy small {
	color: #73d1ad !important;
}

.lm-seven-stations__copy span,
html[data-theme="dark"] .lm-seven-stations__copy span {
	color: #f4c75d !important;
}

.lm-seven-stations__route li > a,
html[data-theme="dark"] .lm-seven-stations__route li > a {
	color: #8bd8bd !important;
}

/* v1.5.7: focused UX refinement for the five personal-journey tabs. */
.lm-journey-workspace--refined {
  --lm-j7-ink: #173d36;
  --lm-j7-text: #344d48;
  --lm-j7-muted: #697c78;
  --lm-j7-green: #267563;
  --lm-j7-green-soft: #eef7f3;
  --lm-j7-blue: #3d7697;
  --lm-j7-blue-soft: #edf5f8;
  --lm-j7-coral: #b86652;
  --lm-j7-coral-soft: #fff2ed;
  --lm-j7-gold: #9a6b24;
  --lm-j7-gold-soft: #fff7e7;
  --lm-j7-violet: #6d648d;
  --lm-j7-violet-soft: #f3f1f8;
  --lm-j7-line: #dce7e3;
  width: min(1080px, calc(100% - 2rem));
  max-width: 1080px;
  margin-block: 1.25rem 3rem;
  color: var(--lm-j7-text);
}

.lm-journey-workspace--refined :is(h1, h2, h3, h4) {
  color: var(--lm-j7-ink);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lm-journey-workspace--refined :is(p, li, dd, dt, blockquote, span, strong, small, a, button, summary, label) {
  overflow-wrap: anywhere;
}

.lm-journey-workspace--refined .lm-journey-workspace__header {
  position: relative;
  min-height: 0;
  padding: 1rem 1.2rem;
  border-color: var(--lm-j7-line);
  background: #fff;
  box-shadow: 0 5px 18px rgba(25, 66, 57, 0.05);
}

.lm-journey-workspace--refined .lm-journey-workspace__header::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: var(--lm-j7-green);
  content: "";
}

.lm-journey-workspace--refined .lm-journey-workspace__header h1 {
  margin-block: 0.1rem 0.25rem;
  font-size: 1.72rem;
  line-height: 1.2;
}

.lm-journey-workspace--refined .lm-journey-workspace__header p:last-child {
  font-size: 0.93rem;
  line-height: 1.55;
}

.lm-journey-workspace--refined .lm-journey-workspace__home {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 0.65rem;
  color: var(--lm-j7-green);
  font-size: 0.88rem;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs {
  top: 0;
  gap: 0.25rem;
  margin-block: 0.7rem;
  padding: 0.3rem;
  border-color: var(--lm-j7-line);
  box-shadow: 0 5px 20px rgba(24, 59, 58, 0.07);
}

body.admin-bar .lm-journey-workspace--refined .lm-journey-workspace__tabs {
  top: 32px;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-width: 100px;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  color: #566b66;
  font-size: 0.9rem;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button small {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding-inline: 0.25rem;
  place-items: center;
  border-radius: 50%;
  background: #d86c54;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button.is-active {
  background: var(--lm-j7-ink);
  color: #fff;
  box-shadow: 0 5px 12px rgba(23, 61, 54, 0.16);
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button.is-active small {
  background: #f1c469;
  color: #2d413d;
}

.lm-journey-workspace--refined .lm-workspace-section-head {
  padding-block: 0.8rem 0.7rem;
}

.lm-journey-workspace--refined .lm-workspace-section-head h2 {
  margin-block: 0.15rem 0.3rem;
  font-size: 1.52rem;
  line-height: 1.3;
}

.lm-journey-workspace--refined .lm-workspace-section-head p {
  max-width: 720px;
  font-size: 0.93rem;
  line-height: 1.65;
}

.lm-journey-workspace--refined .lm-kicker,
.lm-journey-workspace--refined .lm-workspace-eyebrow {
  margin-block: 0 0.2rem;
  color: var(--lm-j7-green);
  font-size: 0.74rem;
  font-weight: 800;
}

.lm-journey-workspace--refined :is(button, a, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(50, 128, 111, 0.28);
  outline-offset: 2px;
}

/* Today: one prominent action and a compact update. */
.lm-journey-workspace--refined .lm-journey-today {
  gap: 0.8rem;
}

.lm-journey-workspace--refined .lm-today-cadence-note {
  margin: 0;
  padding: 0.8rem 1rem;
  border-inline-start: 4px solid #327f6f;
  border-radius: 6px;
  background: #eef7f4;
  color: #274b44;
  font-size: 0.92rem;
  line-height: 1.6;
}

.lm-journey-workspace--refined .lm-today-primary-card {
  border-radius: 8px;
}

.lm-journey-workspace--refined .lm-today-next,
.lm-journey-workspace--refined .lm-today-revisit,
.lm-journey-workspace--refined .lm-due-activity {
  padding: 1.3rem;
  border: 1px solid #275b51;
  background: var(--lm-j7-ink);
  color: #fff;
  box-shadow: 0 12px 26px rgba(23, 61, 54, 0.14);
}

.lm-journey-workspace--refined :is(.lm-today-next, .lm-today-revisit, .lm-due-activity) :is(h3, p, strong, .lm-workspace-eyebrow) {
  color: #fff;
}

.lm-journey-workspace--refined .lm-today-next h3,
.lm-journey-workspace--refined .lm-today-revisit h3 {
  margin-block: 0.2rem 0.4rem;
  font-size: 1.34rem;
  line-height: 1.35;
}

.lm-journey-workspace--refined .lm-today-why {
  margin-block: 0.75rem 0;
  padding-block-start: 0.7rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.lm-journey-workspace--refined .lm-today-next small {
  display: block;
  margin-block-start: 0.65rem;
}

.lm-journey-workspace--refined .lm-today-next .lm-button,
.lm-journey-workspace--refined .lm-due-activity .lm-button {
  min-width: 180px;
  min-height: 46px;
  border: 0;
  background: #f2c46e;
  color: #263e39;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.lm-journey-workspace--refined .lm-today-new--compact {
  padding: 1rem 1.1rem;
  border-inline-start: 4px solid #d69a42;
  background: var(--lm-j7-gold-soft);
}

.lm-journey-workspace--refined .lm-today-new--compact .lm-workspace-section-title {
  margin: 0;
}

.lm-journey-workspace--refined .lm-today-new--compact p {
  margin-block: 0.55rem 0;
}

.lm-today-new__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.lm-today-new__items li {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  padding-inline-start: 0.65rem;
  border-inline-start: 2px solid #d6a65c;
}

.lm-today-new__items span {
  color: #846227;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Map: clearer states, visual connections, advanced tools collapsed. */
.lm-journey-workspace--refined .lm-personal-map {
  gap: 0.85rem;
  color: var(--lm-j7-text);
}

.lm-journey-workspace--refined .lm-personal-map__hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.7fr);
  gap: 0.8rem;
  padding: 1.1rem;
  border-color: var(--lm-j7-line);
  background: #fff;
  box-shadow: 0 6px 20px rgba(26, 67, 59, 0.06);
}

.lm-journey-workspace--refined .lm-personal-map__hero h2 {
  margin-block: 0.1rem 0.35rem;
  font-size: 1.52rem;
}

.lm-journey-workspace--refined .lm-personal-map__state {
  padding: 0.8rem;
  background: var(--lm-j7-green-soft);
}

.lm-journey-workspace--refined .lm-personal-map__legend {
  gap: 0.55rem 1rem;
  padding: 0.25rem 0.15rem;
  font-size: 0.82rem;
}

.lm-journey-workspace--refined .lm-personal-map__legend i.is-developing {
  background: #73a9c2;
}

.lm-journey-workspace--refined .lm-personal-map__unclear {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-inline-start: 4px solid #d4a04a;
  background: var(--lm-j7-gold-soft);
}

.lm-journey-workspace--refined .lm-personal-map__unclear h3 {
  margin: 0.15rem 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.lm-journey-workspace--refined .lm-personal-map__unclear ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  color: #725829;
  font-size: 0.86rem;
}

.lm-journey-workspace--refined .lm-personal-map__domains {
  gap: 0.65rem;
}

.lm-journey-workspace--refined .lm-personal-map__domain {
  border-color: var(--lm-j7-line);
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-personal-map__domain.is-developing {
  border-inline-start-color: #5c94b0;
}

.lm-journey-workspace--refined .lm-personal-map__domain > summary {
  min-height: 88px;
  padding: 0.75rem 0.85rem;
}

.lm-journey-workspace--refined .lm-personal-map__depth b.is-filled {
  background: var(--lm-j7-green);
}

.lm-journey-workspace--refined .lm-personal-map__domain.is-developing .lm-personal-map__depth b.is-filled {
  background: #5c94b0;
}

.lm-journey-workspace--refined .lm-personal-map__thread,
.lm-journey-workspace--refined .lm-personal-map__strength {
  padding: 0.9rem 1rem;
  border-inline-start: 4px solid var(--lm-j7-blue);
  background: var(--lm-j7-blue-soft);
}

.lm-journey-workspace--refined .lm-personal-map__strength {
  border-inline-start-color: var(--lm-j7-green);
  background: var(--lm-j7-green-soft);
}

.lm-journey-workspace--refined :is(.lm-personal-map__thread, .lm-personal-map__strength) h3 {
  margin-block: 0.15rem 0.35rem;
  font-size: 1.08rem;
}

.lm-journey-workspace--refined :is(.lm-personal-map__thread, .lm-personal-map__strength) p,
.lm-journey-workspace--refined .lm-personal-map__strength ul {
  margin-block: 0;
  line-height: 1.65;
}

.lm-journey-workspace--refined .lm-personal-map__coverage,
.lm-journey-workspace--refined .lm-personal-map__tensions,
.lm-journey-workspace--refined .lm-personal-map__connections,
.lm-journey-workspace--refined .lm-personal-map__feedback,
.lm-journey-workspace--refined .lm-personal-map__investigation {
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-personal-map__investigation {
  padding: 1rem;
  background: var(--lm-j7-gold-soft);
}

.lm-journey-workspace--refined .lm-map-supporting-tools {
  margin-block-start: 0.8rem;
  border: 1px solid var(--lm-j7-line);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-map-supporting-tools > summary {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.lm-journey-workspace--refined .lm-map-supporting-tools > summary span {
  color: var(--lm-j7-muted);
  font-size: 0.8rem;
}

.lm-journey-workspace--refined .lm-map-supporting-tools__body {
  padding: 0 1rem 1rem;
  border-block-start: 1px solid var(--lm-j7-line);
}

.lm-journey-workspace--refined .lm-childhood-present {
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.lm-journey-workspace--refined .lm-childhood-present__head {
  padding: 0.25rem 0.15rem;
}

.lm-journey-workspace--refined .lm-childhood-present__head h3 {
  margin-block: 0.1rem 0.3rem;
  font-size: 1.25rem;
}

.lm-journey-workspace--refined .lm-childhood-present__card {
  gap: 0.75rem;
  padding: 1rem;
  border-color: var(--lm-j7-line);
  border-inline-start-color: var(--lm-j7-green);
  box-shadow: 0 7px 20px rgba(24, 67, 58, 0.06);
}

.lm-journey-workspace--refined .lm-childhood-present__card.is-developing {
  border-inline-start-color: var(--lm-j7-blue);
}

.lm-journey-workspace--refined .lm-childhood-present__card.is-cautious {
  border-inline-start-color: #d5a24d;
}

.lm-journey-workspace--refined .lm-childhood-present__meta :is(span, strong) {
  border-radius: 5px;
}

.lm-journey-workspace--refined .lm-childhood-present__flow {
  gap: 0.45rem;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section {
  padding: 0.75rem;
  border-radius: 7px;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence {
  padding: 0.7rem 0.8rem;
  border: 1px solid #e2ebe8;
  border-radius: 7px;
  background: #f8fbfa;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence > summary {
  color: var(--lm-j7-green);
  cursor: pointer;
  font-weight: 800;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding-block-start: 0.75rem;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence ul {
  margin: 0.45rem 0 0;
  padding-inline-start: 1.1rem;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence li {
  margin-block: 0.35rem;
  color: #536a65;
  line-height: 1.5;
}

.lm-journey-workspace--refined .lm-childhood-present__evidence li small {
  display: block;
  color: #778783;
}

.lm-journey-workspace--refined .lm-childhood-present__counter-note {
  margin: 0.75rem 0 0;
  padding-block-start: 0.65rem;
  border-block-start: 1px solid #e8ddc6;
  color: #735d34;
}

.lm-journey-workspace--refined .lm-childhood-present__more {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--lm-j7-line);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-childhood-present__more > summary {
  cursor: pointer;
  color: var(--lm-j7-green);
  font-weight: 800;
}

.lm-journey-workspace--refined .lm-childhood-present__more ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.lm-journey-workspace--refined .lm-childhood-present__more li {
  display: grid;
  gap: 0.2rem;
  padding-block-start: 0.65rem;
  border-block-start: 1px solid #e5eeeb;
}

/* Discoveries: a personal library instead of identical cards. */
.lm-journey-workspace--refined .lm-discoveries-page,
.lm-journey-workspace--refined .lm-story-page,
.lm-journey-workspace--refined .lm-history-page {
  gap: 0.8rem;
}

.lm-discoveries-new {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-inline-start: 4px solid var(--lm-j7-coral);
  background: var(--lm-j7-coral-soft);
}

.lm-discoveries-new h3 {
  margin: 0.15rem 0 0;
  font-size: 1.08rem;
}

.lm-discoveries-new ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-discoveries-new li {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  gap: 0.55rem;
}

.lm-discoveries-new li span {
  color: var(--lm-j7-coral);
  font-size: 0.75rem;
  font-weight: 800;
}

.lm-journey-workspace--refined .lm-discovery-filters,
.lm-history-filters {
  gap: 0.4rem;
}

.lm-journey-workspace--refined .lm-discovery-filters button,
.lm-history-filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.48rem 0.75rem;
  border: 1px solid #cbdcd7;
  border-radius: 6px;
  background: #fff;
  color: #43645d;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.lm-journey-workspace--refined .lm-discovery-filters button.is-active,
.lm-history-filters button.is-active {
  border-color: var(--lm-j7-green);
  background: var(--lm-j7-green-soft);
  color: var(--lm-j7-green);
}

.lm-journey-workspace--refined .lm-discovery-feed {
  gap: 0.7rem;
}

.lm-journey-workspace--refined .lm-discovery-card {
  position: relative;
  padding: 1rem;
  border-inline-start: 4px solid var(--lm-j7-green);
  box-shadow: 0 5px 16px rgba(27, 65, 58, 0.045);
}

.lm-journey-workspace--refined .lm-discovery-card.is-type-thread { border-inline-start-color: var(--lm-j7-blue); background: #fbfdfe; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-resource { border-inline-start-color: var(--lm-j7-gold); background: #fffdf7; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-tension { border-inline-start-color: var(--lm-j7-coral); background: #fffafa; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-mystery { border-inline-start-color: #7b8986; background: #fafbfb; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-user_insight { border-inline-start-color: var(--lm-j7-violet); background: #fcfbfe; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-change { border-inline-start-color: #4d8a73; background: #fbfdfc; }

.lm-journey-workspace--refined .lm-discovery-card > header {
  margin-block-end: 0.55rem;
}

.lm-journey-workspace--refined .lm-discovery-card > header span {
  color: var(--lm-j7-green);
}

.lm-journey-workspace--refined .lm-discovery-card h3 {
  font-size: 1.05rem;
}

.lm-journey-workspace--refined .lm-discovery-card > p {
  margin-block: 0.3rem;
  line-height: 1.62;
}

.lm-journey-workspace--refined .lm-discovery-card details {
  margin-block-start: 0.6rem;
  padding-block-start: 0.6rem;
}

.lm-journey-workspace--refined .lm-user-insight-form {
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1.3fr);
  gap: 1rem;
  margin-block-start: 0.2rem;
  padding: 1rem;
  background: var(--lm-j7-violet-soft);
}

.lm-journey-workspace--refined .lm-user-insight-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.lm-journey-workspace--refined .lm-user-insight-form legend {
  margin-block-end: 0.5rem;
  color: var(--lm-j7-ink);
  font-weight: 800;
}

.lm-insight-reactions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.lm-insight-reactions label {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.lm-insight-reactions input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lm-insight-reactions span {
  display: grid;
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  place-items: center start;
  border: 1px solid #d7d2e2;
  border-radius: 6px;
  background: #fff;
  color: #514d68;
  font-size: 0.83rem;
}

.lm-insight-reactions input:checked + span {
  border-color: var(--lm-j7-violet);
  background: #eae6f2;
  box-shadow: 0 0 0 2px rgba(109, 100, 141, 0.11);
}

.lm-insight-reactions input:focus-visible + span {
  outline: 3px solid rgba(109, 100, 141, 0.22);
  outline-offset: 2px;
}

.lm-user-insight-form__words {
  padding: 0.65rem 0.75rem;
  border: 1px solid #dcd7e7;
  border-radius: 7px;
  background: #fff;
}

.lm-user-insight-form__words > summary {
  color: #5a5374;
  cursor: pointer;
  font-weight: 800;
}

.lm-user-insight-form__words > *:not(summary) {
  margin-block-start: 0.55rem;
}

.lm-journey-workspace--refined .lm-personal-album {
  margin-block-start: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--lm-j7-line);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-important-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.lm-personal-album__item {
  padding: 0.9rem;
  border-inline-start: 3px solid var(--lm-j7-violet);
  background: var(--lm-j7-violet-soft);
}

.lm-personal-album__item blockquote {
  margin: 0.5rem 0;
  padding: 0;
  border: 0;
  color: #45405a;
  line-height: 1.65;
}

/* Story: chapters first, writing tools progressively disclosed. */
.lm-story-chapters {
  display: grid;
  gap: 1rem;
}

.lm-story-chapter > header {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-block-end: 0.55rem;
}

.lm-story-chapter > header span {
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--lm-j7-green);
  box-shadow: 0 0 0 2px #8bbbad;
}

.lm-story-chapter > header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.lm-story-chapter > ol {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0 1.25rem 0 0;
  border-inline-start: 2px solid #c8ddd7;
  list-style: none;
}

.lm-story-chapter li {
  position: relative;
}

.lm-story-chapter li::before {
  position: absolute;
  top: 1rem;
  inset-inline-start: -1.65rem;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #7da89c;
  content: "";
}

.lm-story-chapter article {
  padding: 0.9rem 1rem;
  border: 1px solid var(--lm-j7-line);
  border-radius: 8px;
  background: #fff;
}

.lm-story-chapter li.is-snapshot article {
  border-inline-start: 4px solid var(--lm-j7-blue);
  background: #fbfdfe;
}

.lm-story-chapter__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: center;
  color: var(--lm-j7-muted);
  font-size: 0.76rem;
}

.lm-story-chapter__meta span {
  color: var(--lm-j7-green);
  font-weight: 800;
}

.lm-story-chapter__meta time {
  margin-inline-start: auto;
}

.lm-story-chapter h4 {
  margin-block: 0.45rem 0.3rem;
  font-size: 1.05rem;
}

.lm-story-chapter p {
  margin: 0;
  line-height: 1.65;
}

.lm-story-chapter dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-block: 0.65rem 0;
}

.lm-story-chapter dl div {
  padding: 0.65rem;
  background: var(--lm-j7-blue-soft);
}

.lm-story-chapter dt {
  color: var(--lm-j7-blue);
  font-size: 0.75rem;
  font-weight: 800;
}

.lm-story-chapter dd {
  margin: 0.25rem 0 0;
  line-height: 1.55;
}

.lm-story-start {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: var(--lm-j7-green-soft);
}

.lm-story-start h3 {
  margin: 0.15rem 0 0;
  font-size: 1.04rem;
}

.lm-story-prompts,
.lm-suggested-responses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lm-story-prompts button,
.lm-suggested-responses button {
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border: 1px solid #bdd4cd;
  border-radius: 6px;
  background: #fff;
  color: #315f56;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.lm-suggested-responses button.is-selected {
  border-color: var(--lm-j7-green);
  background: var(--lm-j7-green-soft);
}

.lm-journey-workspace--refined .lm-story-add {
  padding: 0;
  overflow: hidden;
}

.lm-journey-workspace--refined .lm-story-add > summary {
  padding: 0.9rem 1rem;
}

.lm-journey-workspace--refined .lm-story-add form {
  margin: 0;
  padding: 1rem;
  border-block-start: 1px solid var(--lm-j7-line);
}

.lm-story-add__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.lm-journey-workspace--refined .lm-time-tools {
  margin-block-start: 0.15rem;
  padding: 1rem;
  border: 1px solid var(--lm-j7-line);
  border-radius: 8px;
  background: #fff;
}

.lm-journey-workspace--refined .lm-snapshot-comparison {
  border-inline-start: 4px solid var(--lm-j7-blue);
  background: var(--lm-j7-blue-soft);
}

.lm-journey-workspace--refined .lm-snapshot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
}

.lm-snapshot-step {
  border: 1px solid var(--lm-j7-line);
  border-radius: 7px;
  background: #fff;
}

.lm-snapshot-step > summary {
  padding: 0.75rem 0.85rem;
  color: var(--lm-j7-ink);
  cursor: pointer;
  font-weight: 800;
}

.lm-snapshot-step > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.8rem;
  border-block-start: 1px solid var(--lm-j7-line);
}

.lm-snapshot-step label {
  display: grid;
  gap: 0.35rem;
}

.lm-snapshot-step .lm-suggested-responses {
  align-self: start;
  margin-block-start: -0.35rem;
}

.lm-time-tools__more {
  margin-block-start: 0.7rem;
  border: 1px solid var(--lm-j7-line);
  border-radius: 8px;
  background: #fafcfc;
}

.lm-time-tools__more > summary {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.lm-time-tools__more > summary span {
  color: var(--lm-j7-muted);
  font-size: 0.8rem;
}

.lm-time-tools__more-body {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border-block-start: 1px solid var(--lm-j7-line);
}

.lm-time-tools__more-body > .lm-longitudinal-tool {
  margin: 0;
  background: #fff;
}

/* History: compact monthly timeline for long-running accounts. */
.lm-history-controls {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.15rem;
}

.lm-history-filters {
  display: flex;
  min-width: 0;
  padding-block-end: 0.2rem;
  overflow-x: auto;
}

.lm-history-search {
  flex: 0 0 min(280px, 38%);
}

.lm-history-search input {
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c9d9d5;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.lm-history-timeline {
  display: grid;
  gap: 0.65rem;
}

.lm-history-month {
  border-block-start: 1px solid var(--lm-j7-line);
}

.lm-history-month[hidden] {
  display: none;
}

.lm-history-month > summary {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.65rem 0.2rem;
  cursor: pointer;
}

.lm-history-month > summary span {
  color: var(--lm-j7-muted);
  font-size: 0.78rem;
}

.lm-history-month > ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lm-history-month > ol > li {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 68px;
  padding: 0.65rem 0.75rem;
  border-block-start: 1px solid #e8efed;
}

.lm-history-month > ol > li[hidden] {
  display: none;
}

.lm-history-month > ol > li > time {
  color: var(--lm-j7-muted);
  font-size: 0.78rem;
}

.lm-history-row__copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.lm-history-row__copy small {
  color: var(--lm-j7-green);
  font-size: 0.72rem;
  font-weight: 800;
}

.lm-history-row__copy span {
  color: var(--lm-j7-muted);
  font-size: 0.8rem;
}

.lm-history-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: end;
}

.lm-history-row__actions :is(button, a) {
  min-height: 36px;
  padding: 0.42rem 0.65rem;
  border: 1px solid #c6d8d3;
  border-radius: 6px;
  background: #fff;
  color: var(--lm-j7-green);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.lm-discovery-feed:not(.is-expanded):not(.is-filtered) .is-discovery-overflow,
.lm-history-month:not(.is-expanded):not(.is-filtered) > ol > .is-history-overflow {
  display: none;
}

.lm-list-more {
  display: block;
  min-height: 40px;
  margin: 0.8rem auto 0;
  padding: 0.55rem 1rem;
  border: 1px solid #bcd2cc;
  border-radius: 6px;
  background: #fff;
  color: var(--lm-j7-green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lm-list-more:hover {
  border-color: var(--lm-j7-green);
  background: #f3f8f6;
}

.lm-list-more:focus-visible {
  outline: 3px solid rgba(24, 133, 113, 0.25);
  outline-offset: 2px;
}

.lm-list-more[hidden] {
  display: none;
}

.lm-history-month__more {
  margin-block-end: 0.75rem;
}

.lm-history-no-results {
  padding: 1rem;
  border: 1px dashed #c8d9d5;
  border-radius: 7px;
  color: var(--lm-j7-muted);
  text-align: center;
}

.lm-journey-workspace--refined .lm-history-dialog__head button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
}

@media (max-width: 800px) {
  .lm-journey-workspace--refined .lm-personal-map__hero,
  .lm-journey-workspace--refined .lm-personal-map__unclear,
  .lm-discoveries-new,
  .lm-journey-workspace--refined .lm-user-insight-form,
  .lm-story-start {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-user-insight-form {
    min-width: 0;
  }

  .lm-history-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-history-search {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .lm-journey-workspace--refined {
    width: 100%;
    margin: 0 auto 2rem;
    padding: 0.55rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header h1 {
    font-size: 1.5rem;
  }

  body.admin-bar .lm-journey-workspace--refined .lm-journey-workspace__tabs {
    top: 46px;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs {
    margin-block: 0.5rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
    flex: 0 0 auto;
    min-width: 88px;
    min-height: 40px;
    padding-inline: 0.55rem;
    font-size: 0.82rem;
  }

  .lm-journey-workspace--refined .lm-workspace-section-head {
    padding-block: 0.6rem;
  }

  .lm-journey-workspace--refined .lm-workspace-section-head h2 {
    font-size: 1.3rem;
  }

  .lm-journey-workspace--refined .lm-today-next,
  .lm-journey-workspace--refined .lm-today-revisit,
  .lm-journey-workspace--refined .lm-due-activity {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem;
  }

  .lm-journey-workspace--refined .lm-today-next .lm-button,
  .lm-journey-workspace--refined .lm-due-activity .lm-button {
    width: 100%;
    min-width: 0;
  }

  .lm-today-new__items,
  .lm-insight-reactions,
  .lm-journey-workspace--refined .lm-important-grid,
  .lm-story-chapter dl,
  .lm-story-add__choices,
  .lm-snapshot-step > div,
  .lm-journey-workspace--refined .lm-childhood-present__evidence > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-personal-map__domain > summary {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    min-height: 76px;
  }

  .lm-journey-workspace--refined .lm-childhood-present__card {
    padding: 0.85rem;
  }

  .lm-journey-workspace--refined .lm-childhood-present__flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-childhood-present__flow > i {
    justify-self: center;
    transform: none;
  }

  .lm-journey-workspace--refined .lm-childhood-present__validation > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-childhood-present__validation button {
    width: 100%;
  }

  .lm-journey-workspace--refined .lm-user-insight-form,
  .lm-journey-workspace--refined .lm-personal-album,
  .lm-journey-workspace--refined .lm-time-tools {
    padding: 0.85rem;
  }

  .lm-story-chapter > ol {
    padding-inline-start: 1rem;
  }

  .lm-story-chapter__meta time {
    width: 100%;
    margin-inline-start: 0;
  }

  .lm-history-month > ol > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    padding: 0.7rem 0.25rem;
  }

  .lm-history-row__actions {
    justify-content: start;
    margin-block-start: 0.3rem;
  }

  .lm-history-row__actions :is(button, a) {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .lm-journey-workspace--refined {
    padding: 0.4rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
    min-width: 82px;
    padding-inline: 0.45rem;
  }

  .lm-journey-workspace--refined .lm-personal-map__depth i {
    width: 92px;
  }

  .lm-story-prompts button,
  .lm-suggested-responses button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-journey-workspace--refined *,
  .lm-journey-workspace--refined *::before,
  .lm-journey-workspace--refined *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* v1.5.12: match the personal journey to the homepage 1.0.145 visual language. */
.lm-journey-workspace--refined {
  --lm-j8-navy: var(--lmh-blue-900, #10233f);
  --lm-j8-navy-rich: #102d4c;
  --lm-j8-teal: #0e6975;
  --lm-j8-teal-bright: #16a080;
  --lm-j8-blue: #249ac6;
  --lm-j8-gold: #e9ae34;
  --lm-j8-gold-light: #f4c766;
  --lm-j8-bg: #f4f8fa;
  --lm-j8-surface: var(--lmh-surface, #fff);
  --lm-j8-surface-blue: #eef6f8;
  --lm-j8-surface-teal: #eef8f4;
  --lm-j8-surface-gold: #fff8e8;
  --lm-j8-ink: #132843;
  --lm-j8-muted: #50657a;
  --lm-j8-muted-soft: #728092;
  --lm-j8-border: #d9e4eb;
  --lm-j8-shadow: 0 12px 28px rgba(16, 35, 63, 0.07);
  --lm-j8-shadow-strong: 0 22px 52px rgba(16, 35, 63, 0.1);
  --lm-j8-radius: var(--lmh-radius, 8px);

  /* Keep older component rules on the same current brand palette. */
  --lm-j7-ink: var(--lm-j8-navy);
  --lm-j7-text: #334c65;
  --lm-j7-muted: var(--lm-j8-muted-soft);
  --lm-j7-green: var(--lm-j8-teal);
  --lm-j7-green-soft: var(--lm-j8-surface-teal);
  --lm-j7-blue: var(--lm-j8-blue);
  --lm-j7-blue-soft: #edf6fa;
  --lm-j7-gold: #9a6b24;
  --lm-j7-gold-soft: var(--lm-j8-surface-gold);
  --lm-j7-line: var(--lm-j8-border);
  --lm-journey-ink: var(--lm-j8-ink);
  --lm-journey-navy: var(--lm-j8-navy);
  --lm-journey-blue: var(--lm-j8-blue);
  --lm-journey-teal: var(--lm-j8-teal);
  --lm-journey-gold: var(--lm-j8-gold-light);
  --lm-journey-border: var(--lm-j8-border);
  --lm-journey-muted: var(--lm-j8-muted);

  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 1.5rem auto 4.5rem !important;
  padding: 24px !important;
  border: 0;
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-bg);
  color: #334c65;
  font-family: var(--lmh-font, "Rubik", "Segoe UI", Arial, sans-serif);
}

.lm-journey-workspace--refined::before {
  display: none;
}

.lm-journey-workspace--refined :is(h1, h2, h3, h4) {
  color: var(--lm-j8-navy);
  font-family: inherit;
  letter-spacing: 0;
}

.lm-journey-workspace--refined :is(p, li, dd, blockquote) {
  color: inherit;
  line-height: 1.68;
}

/* Branded page header. */
.lm-journey-workspace--refined .lm-journey-workspace__header {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #cfdee6;
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-surface);
  box-shadow: var(--lm-j8-shadow-strong);
}

.lm-journey-workspace--refined .lm-journey-workspace__header::before {
  position: absolute;
  display: block;
  inset-block: 0 auto;
  inset-inline: 0;
  width: auto;
  height: 6px;
  background: linear-gradient(90deg, var(--lm-j8-blue) 0 34%, var(--lm-j8-teal-bright) 34% 67%, var(--lm-j8-gold) 67%);
  content: "";
}

.lm-journey-workspace--refined .lm-journey-workspace__header h1 {
  margin: 4px 0 8px;
  color: var(--lm-j8-navy);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.14;
}

.lm-journey-workspace--refined .lm-journey-workspace__header p:last-child {
  max-width: 680px;
  color: var(--lm-j8-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.lm-journey-workspace--refined .lm-kicker,
.lm-journey-workspace--refined .lm-workspace-eyebrow {
  color: #0d806f;
  font-size: 0.82rem;
  font-weight: 800;
}

.lm-journey-workspace--refined .lm-journey-workspace__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--lm-j8-border);
  border-radius: var(--lm-j8-radius);
  background: #fff;
  color: var(--lm-j8-teal);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.lm-journey-workspace--refined .lm-journey-workspace__home:hover {
  border-color: #9fc9cd;
  background: var(--lm-j8-surface-blue);
  color: #0a5964;
}

/* Tabs use the homepage CTA colors and a calmer inactive state. */
.lm-journey-workspace--refined .lm-journey-workspace__tabs {
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 22px;
  padding: 6px;
  overflow: visible;
  border: 1px solid var(--lm-j8-border);
  border-radius: var(--lm-j8-radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--lm-j8-shadow);
  backdrop-filter: blur(12px);
}

body.admin-bar .lm-journey-workspace--refined .lm-journey-workspace__tabs {
  top: 32px;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #5d6f82;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button:hover {
  border-color: #d1e2e7;
  background: var(--lm-j8-surface-blue);
  color: var(--lm-j8-navy);
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button.is-active {
  border-color: var(--lm-j8-teal);
  background: var(--lm-j8-teal);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 105, 117, 0.2);
}

.lm-journey-workspace--refined .lm-journey-workspace__tabs button.is-active small {
  background: var(--lm-j8-gold-light);
  color: var(--lm-j8-navy);
}

.lm-journey-workspace--refined .lm-journey-workspace__panel {
  min-width: 0;
}

.lm-journey-workspace--refined .lm-workspace-section-head {
  padding: 12px 4px 20px;
}

.lm-journey-workspace--refined .lm-workspace-section-head h2 {
  margin: 4px 0 7px;
  color: var(--lm-j8-navy);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.3;
}

.lm-journey-workspace--refined .lm-workspace-section-head p {
  max-width: 740px;
  color: var(--lm-j8-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Shared surfaces and controls. */
.lm-journey-workspace--refined :is(
  .lm-today-new--compact,
  .lm-personal-map__hero,
  .lm-personal-map__domain,
  .lm-personal-map__thread,
  .lm-personal-map__strength,
  .lm-personal-map__investigation,
  .lm-map-supporting-tools,
  .lm-discoveries-new,
  .lm-discovery-card,
  .lm-user-insight-form,
  .lm-personal-album,
  .lm-story-chapter article,
  .lm-story-start,
  .lm-story-add,
  .lm-time-tools,
  .lm-snapshot-step,
  .lm-time-tools__more,
  .lm-workspace-empty
) {
  border-radius: var(--lm-j8-radius);
}

.lm-journey-workspace--refined :is(
  .lm-personal-map__hero,
  .lm-personal-map__domain,
  .lm-map-supporting-tools,
  .lm-discovery-card,
  .lm-personal-album,
  .lm-story-chapter article,
  .lm-story-add,
  .lm-time-tools,
  .lm-snapshot-step,
  .lm-time-tools__more,
  .lm-workspace-empty
) {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
  box-shadow: var(--lm-j8-shadow);
}

.lm-journey-workspace--refined .lm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-inline: 24px;
  border: 1px solid transparent;
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-teal);
  color: #fff;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(14, 105, 117, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.lm-journey-workspace--refined .lm-button:hover {
  background: #0a5964;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(14, 105, 117, 0.24);
}

.lm-journey-workspace--refined .lm-button--secondary {
  border-color: #bfcfd9;
  background: #fff;
  color: var(--lm-j8-teal);
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-button--secondary:hover {
  border-color: #91bdc2;
  background: var(--lm-j8-surface-blue);
  color: #0a5964;
}

.lm-journey-workspace--refined :is(input, select, textarea) {
  max-width: 100%;
  border-color: #c7d6df;
  border-radius: 7px;
  background: #fff;
  color: var(--lm-j8-ink);
  font-family: inherit;
}

.lm-journey-workspace--refined :is(button, a, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--lm-j8-gold);
  outline-offset: 3px;
}

/* Today: prominent, reassuring and visually connected to the homepage hero. */
.lm-journey-workspace--refined .lm-journey-today {
  gap: 14px;
}

.lm-journey-workspace--refined .lm-today-cadence-note {
  padding: 14px 16px;
  border: 1px solid #cfe1dc;
  border-inline-start: 5px solid var(--lm-j8-teal-bright);
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-surface-teal);
  color: #285b55;
}

.lm-journey-workspace--refined .lm-today-next,
.lm-journey-workspace--refined .lm-today-revisit,
.lm-journey-workspace--refined .lm-due-activity {
  padding: 28px;
  border: 1px solid #173b60;
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-navy-rich);
  color: #fff;
  box-shadow: 0 18px 38px rgba(16, 45, 76, 0.18);
}

.lm-journey-workspace--refined :is(.lm-today-next, .lm-today-revisit, .lm-due-activity) :is(h3, p, strong, small, .lm-workspace-eyebrow) {
  color: #fff;
}

.lm-journey-workspace--refined :is(.lm-today-next, .lm-today-revisit, .lm-due-activity) .lm-workspace-eyebrow {
  color: #8bd7c8;
}

.lm-journey-workspace--refined .lm-today-next .lm-button,
.lm-journey-workspace--refined .lm-due-activity .lm-button {
  min-height: 50px;
  border: 0;
  background: var(--lm-j8-gold-light);
  color: var(--lm-j8-navy);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.lm-journey-workspace--refined .lm-today-next .lm-button:hover,
.lm-journey-workspace--refined .lm-due-activity .lm-button:hover {
  background: #ffd77f;
  color: var(--lm-j8-navy);
}

.lm-journey-workspace--refined .lm-today-new--compact {
  padding: 18px 20px;
  border: 1px solid #ecdba9;
  border-inline-start: 5px solid var(--lm-j8-gold);
  background: var(--lm-j8-surface-gold);
  box-shadow: none;
}

/* Map: clear story layers, with restrained semantic accents. */
.lm-journey-workspace--refined .lm-personal-map {
  gap: 14px;
}

.lm-journey-workspace--refined .lm-personal-map__hero {
  gap: 18px;
  padding: 24px;
  border-block-start: 5px solid var(--lm-j8-blue);
  background: #fff;
}

.lm-journey-workspace--refined .lm-personal-map__hero h2 {
  font-size: 1.72rem;
  font-weight: 900;
}

.lm-journey-workspace--refined .lm-personal-map__state {
  padding: 16px;
  border: 1px solid #cfe1dc;
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-surface-teal);
}

.lm-journey-workspace--refined .lm-personal-map__legend {
  color: var(--lm-j8-muted);
}

.lm-journey-workspace--refined .lm-personal-map__unclear {
  padding: 18px 20px;
  border: 1px solid #ecdba9;
  border-inline-start: 5px solid var(--lm-j8-gold);
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-surface-gold);
}

.lm-journey-workspace--refined .lm-personal-map__domains {
  gap: 12px;
}

.lm-journey-workspace--refined .lm-personal-map__domain {
  box-shadow: 0 8px 22px rgba(16, 35, 63, 0.05);
}

.lm-journey-workspace--refined .lm-personal-map__domain.is-developing {
  border-inline-start-color: var(--lm-j8-blue);
}

.lm-journey-workspace--refined .lm-personal-map__thread,
.lm-journey-workspace--refined .lm-personal-map__strength {
  padding: 18px 20px;
  border: 1px solid #cfe2eb;
  border-inline-start: 5px solid var(--lm-j8-blue);
  background: #edf6fa;
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-personal-map__strength {
  border-color: #cfe1dc;
  border-inline-start-color: var(--lm-j8-teal-bright);
  background: var(--lm-j8-surface-teal);
}

.lm-journey-workspace--refined .lm-personal-map__investigation {
  padding: 22px;
  border: 1px solid #ead9a6;
  border-inline-start: 5px solid var(--lm-j8-gold);
  background: var(--lm-j8-surface-gold);
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-childhood-present__card {
  padding: 20px;
  border: 1px solid var(--lm-j8-border);
  border-inline-start: 5px solid var(--lm-j8-blue);
  border-radius: var(--lm-j8-radius);
  background: #fff;
  box-shadow: var(--lm-j8-shadow);
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section {
  padding: 14px;
  border: 1px solid #dce7ed;
  border-block-start: 4px solid var(--lm-j8-blue);
  border-radius: var(--lm-j8-radius);
  background: #f8fbfd;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section.is-later-life {
  border-color: #eadfbf;
  border-block-start-color: var(--lm-j8-gold);
  background: #fffaf0;
}

.lm-journey-workspace--refined .lm-childhood-present__flow > section.is-connection {
  border-color: #c9e1d7;
  border-block-start-color: var(--lm-j8-teal-bright);
  background: var(--lm-j8-surface-teal);
}

.lm-journey-workspace--refined .lm-map-supporting-tools {
  overflow: hidden;
}

/* Discoveries: one card language, meaning shown through a restrained accent. */
.lm-journey-workspace--refined .lm-discoveries-page,
.lm-journey-workspace--refined .lm-story-page,
.lm-journey-workspace--refined .lm-history-page {
  gap: 14px;
}

.lm-journey-workspace--refined .lm-discoveries-new {
  padding: 18px 20px;
  border: 1px solid #ecdba9;
  border-inline-start: 5px solid var(--lm-j8-gold);
  background: var(--lm-j8-surface-gold);
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-discovery-feed {
  gap: 12px;
}

.lm-journey-workspace--refined .lm-discovery-card,
.lm-journey-workspace--refined .lm-discovery-card.is-type-thread,
.lm-journey-workspace--refined .lm-discovery-card.is-type-resource,
.lm-journey-workspace--refined .lm-discovery-card.is-type-tension,
.lm-journey-workspace--refined .lm-discovery-card.is-type-mystery,
.lm-journey-workspace--refined .lm-discovery-card.is-type-user_insight,
.lm-journey-workspace--refined .lm-discovery-card.is-type-change {
  padding: 18px;
  background: #fff;
  box-shadow: var(--lm-j8-shadow);
}

.lm-journey-workspace--refined .lm-discovery-card.is-type-thread { border-inline-start-color: var(--lm-j8-blue); }
.lm-journey-workspace--refined .lm-discovery-card.is-type-resource { border-inline-start-color: var(--lm-j8-gold); }
.lm-journey-workspace--refined .lm-discovery-card.is-type-tension { border-inline-start-color: #cf6a56; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-mystery { border-inline-start-color: #7a8997; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-user_insight { border-inline-start-color: #756a96; }
.lm-journey-workspace--refined .lm-discovery-card.is-type-change { border-inline-start-color: var(--lm-j8-teal-bright); }

.lm-journey-workspace--refined .lm-discovery-feed:not(.is-filtered) > .lm-discovery-card:first-child {
  border-color: #cfe2eb;
  border-inline-start-color: var(--lm-j8-blue);
  background: #f7fbfd;
}

.lm-journey-workspace--refined .lm-discovery-filters button,
.lm-journey-workspace--refined .lm-history-filters button,
.lm-journey-workspace--refined .lm-story-prompts button,
.lm-journey-workspace--refined .lm-suggested-responses button,
.lm-journey-workspace--refined .lm-history-row__actions :is(button, a),
.lm-journey-workspace--refined .lm-list-more {
  min-height: 40px;
  border: 1px solid #c8d7e0;
  border-radius: 7px;
  background: #fff;
  color: var(--lm-j8-teal);
  font-family: inherit;
  font-weight: 800;
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-discovery-filters button:hover,
.lm-journey-workspace--refined .lm-history-filters button:hover,
.lm-journey-workspace--refined .lm-story-prompts button:hover,
.lm-journey-workspace--refined .lm-suggested-responses button:hover,
.lm-journey-workspace--refined .lm-history-row__actions :is(button, a):hover,
.lm-journey-workspace--refined .lm-list-more:hover {
  border-color: #9fc9cd;
  background: var(--lm-j8-surface-blue);
  color: #0a5964;
}

.lm-journey-workspace--refined .lm-discovery-filters button.is-active,
.lm-journey-workspace--refined .lm-history-filters button.is-active {
  border-color: var(--lm-j8-teal);
  background: var(--lm-j8-surface-teal);
  color: #0b6659;
}

.lm-journey-workspace--refined .lm-user-insight-form {
  padding: 20px;
  border: 1px solid #d6e3ea;
  border-inline-start: 5px solid var(--lm-j8-blue);
  background: #f5f9fb;
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-personal-album {
  padding: 20px;
}

/* Story: calm editorial rhythm, familiar forms and a visible timeline. */
.lm-journey-workspace--refined .lm-story-chapters {
  gap: 18px;
}

.lm-journey-workspace--refined .lm-story-chapter > ol {
  border-inline-start-color: #b8d9df;
}

.lm-journey-workspace--refined .lm-story-chapter > header span,
.lm-journey-workspace--refined .lm-story-chapter li::before {
  background: var(--lm-j8-teal);
}

.lm-journey-workspace--refined .lm-story-chapter article {
  padding: 18px 20px;
}

.lm-journey-workspace--refined .lm-story-start {
  padding: 18px 20px;
  border: 1px solid #cfe1dc;
  border-inline-start: 5px solid var(--lm-j8-teal-bright);
  background: var(--lm-j8-surface-teal);
  box-shadow: none;
}

.lm-journey-workspace--refined .lm-story-add {
  overflow: hidden;
}

.lm-journey-workspace--refined .lm-story-add > summary,
.lm-journey-workspace--refined .lm-time-tools__more > summary,
.lm-journey-workspace--refined .lm-map-supporting-tools > summary {
  min-height: 52px;
  padding: 15px 18px;
  color: var(--lm-j8-navy);
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-time-tools {
  padding: 20px;
}

.lm-journey-workspace--refined .lm-snapshot-comparison {
  border-inline-start-color: var(--lm-j8-blue);
  background: #edf6fa;
}

/* History: compact rows with a clear date and restrained actions. */
.lm-journey-workspace--refined .lm-history-controls {
  gap: 12px;
  padding: 10px 0 14px;
}

.lm-journey-workspace--refined .lm-history-search input {
  min-height: 42px;
  border-color: #c8d7e0;
}

.lm-journey-workspace--refined .lm-history-month {
  border-block-start: 1px solid var(--lm-j8-border);
}

.lm-journey-workspace--refined .lm-history-month > summary {
  min-height: 54px;
  color: var(--lm-j8-navy);
}

.lm-journey-workspace--refined .lm-history-month > ol > li {
  min-height: 72px;
  border-block-start-color: #e5edf2;
  background: #fff;
}

.lm-journey-workspace--refined .lm-history-month > ol > li:hover {
  background: #f8fbfc;
}

.lm-journey-workspace--refined .lm-history-row__copy small {
  color: #0d806f;
}

.lm-journey-workspace--refined .lm-history-no-results {
  border-color: #cbd9e1;
  background: #fff;
  color: var(--lm-j8-muted);
}

@media (max-width: 1024px) {
  .lm-journey-workspace--refined {
    width: min(100% - 32px, 960px) !important;
    padding: 20px !important;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  body .lm-journey-workspace--refined,
  body .entry-content > .lm-journey-workspace--refined,
  body .wp-site-blocks .lm-journey-workspace--refined {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 2.5rem !important;
    padding: 12px !important;
    overflow-x: clip !important;
    background: var(--lm-j8-bg);
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header {
    display: grid;
    gap: 14px;
    padding: 24px 18px 20px;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header h1 {
    font-size: 1.85rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header p:last-child {
    font-size: 0.94rem;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__home {
    justify-self: start;
  }

  body.admin-bar .lm-journey-workspace--refined .lm-journey-workspace__tabs,
  .lm-journey-workspace--refined .lm-journey-workspace__tabs {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 10px 0 16px;
    padding: 5px;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
    min-width: 0;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .lm-journey-workspace--refined .lm-workspace-section-head {
    padding: 10px 2px 16px;
  }

  .lm-journey-workspace--refined .lm-workspace-section-head h2,
  .lm-journey-workspace--refined .lm-personal-map__hero h2 {
    font-size: 1.42rem;
  }

  .lm-journey-workspace--refined .lm-today-next,
  .lm-journey-workspace--refined .lm-today-revisit,
  .lm-journey-workspace--refined .lm-due-activity,
  .lm-journey-workspace--refined .lm-personal-map__hero,
  .lm-journey-workspace--refined .lm-personal-map__investigation,
  .lm-journey-workspace--refined .lm-user-insight-form,
  .lm-journey-workspace--refined .lm-personal-album,
  .lm-journey-workspace--refined .lm-time-tools {
    padding: 18px;
  }

  .lm-journey-workspace--refined .lm-today-next .lm-button,
  .lm-journey-workspace--refined .lm-due-activity .lm-button,
  .lm-journey-workspace--refined .lm-personal-map__investigation .lm-button,
  .lm-journey-workspace--refined .lm-user-insight-form .lm-button {
    width: 100%;
    min-width: 0;
  }

  .lm-journey-workspace--refined .lm-childhood-present__flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-childhood-present__flow > i {
    justify-self: center;
    transform: none;
  }

  .lm-journey-workspace--refined .lm-history-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-journey-workspace--refined .lm-history-filters {
    width: 100%;
    padding-block-end: 4px;
    overflow-x: auto;
  }

  .lm-journey-workspace--refined .lm-history-month > ol > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 13px 4px;
  }

  .lm-journey-workspace--refined .lm-history-row__actions {
    justify-content: start;
  }
}

@media (max-width: 360px) {
  body .lm-journey-workspace--refined,
  body .entry-content > .lm-journey-workspace--refined,
  body .wp-site-blocks .lm-journey-workspace--refined {
    padding: 10px !important;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__header {
    padding-inline: 16px;
  }

  .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
    min-height: 46px;
    font-size: 0.76rem;
  }

  .lm-journey-workspace--refined .lm-button {
    width: 100%;
    padding-inline: 16px;
  }
}

/* v1.5.15: turn the opening result into a clear personal journey moment. */
.lm-opening-result-journey {
  --lm-or-navy: #10213b;
  --lm-or-navy-soft: #173c5d;
  --lm-or-teal: #168466;
  --lm-or-teal-soft: #eaf7f2;
  --lm-or-gold: #d9a634;
  --lm-or-gold-soft: #fff7e4;
  --lm-or-blue-soft: #eef6fa;
  --lm-or-text: #30445b;
  --lm-or-muted: #65768a;
  --lm-or-border: rgba(16, 33, 59, 0.11);
  width: min(calc(100% - 32px), 920px) !important;
  max-width: 920px !important;
  gap: 14px !important;
  margin-inline: auto !important;
  color: var(--lm-or-text);
  font-family: Rubik, Arial, sans-serif;
  letter-spacing: 0;
}

.lm-opening-result-journey,
.lm-opening-result-journey * {
  box-sizing: border-box;
  min-width: 0;
}

body:has(.lm-opening-result-journey) .entry-title,
body:has(.lm-opening-result-journey) .page-title,
body:has(.lm-opening-result-journey) .wp-block-post-title,
body:has(.lm-opening-result-journey) .lmh-entry-title,
body:has(.lm-opening-result-journey) h1.entry-title,
body:has(.lm-opening-result-journey) h1.page-title,
body:has(.lm-opening-result-journey) main article > h1:first-of-type,
body:has(.lm-opening-result-journey) article:has(.lm-opening-result-journey) > h1:first-of-type {
  display: none !important;
}

body:has(.lm-opening-result-journey) .lmh-entry:has(.lm-opening-result-journey) {
  padding-block-start: clamp(1.25rem, 3vw, 2rem) !important;
}

.lm-opening-result-journey .lm-opening-result-hero {
  position: relative;
  display: grid;
  gap: 7px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px) !important;
  border: 1px solid var(--lm-or-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(16, 33, 59, 0.09) !important;
  text-align: right;
}

.lm-opening-result-journey .lm-opening-result-hero::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--lm-or-gold), var(--lm-or-teal));
}

.lm-opening-result-progress {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  margin-bottom: 3px;
  color: var(--lm-or-teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.lm-opening-result-progress i {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--lm-or-teal);
}

.lm-opening-result-progress i::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 4px;
  border-block-end: 2px solid #fff;
  border-inline-start: 2px solid #fff;
  transform: rotate(-45deg);
}

.lm-opening-result-journey .lm-opening-result-eyebrow {
  display: block;
  margin: 0 !important;
  color: var(--lm-or-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.lm-opening-result-journey .lm-opening-result-direction {
  margin: 2px 0 0 !important;
  color: var(--lm-or-teal) !important;
  font-size: clamp(1rem, 1.8vw, 1.16rem) !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

.lm-opening-result-journey .lm-opening-result-hero :is(h1, h2) {
  max-width: 22ch !important;
  margin: 2px 0 4px !important;
  color: var(--lm-or-navy) !important;
  font-size: clamp(2rem, 4.7vw, 3.35rem) !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

.lm-opening-result-journey .lm-opening-result-hero .lm-opening-result-lead {
  max-width: 66ch !important;
  margin: 0 !important;
  color: var(--lm-or-text) !important;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem) !important;
  font-weight: 680 !important;
  line-height: 1.68 !important;
}

.lm-opening-result-journey .lm-opening-journey-bridge {
  display: grid;
  grid-template-rows: auto 22px auto;
  gap: 6px;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(22, 132, 102, 0.18) !important;
  border-inline-start: 1px solid rgba(22, 132, 102, 0.18) !important;
  border-radius: 14px !important;
  background: #f7fbfa !important;
  box-shadow: none !important;
}

.lm-opening-journey-bridge__step {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 4px 18px;
  padding: 10px 14px;
  border-radius: 10px;
}

.lm-opening-journey-bridge__step--complete {
  border: 1px solid rgba(22, 132, 102, 0.14);
  background: #fff;
}

.lm-opening-journey-bridge__step--next {
  border: 1px solid rgba(217, 166, 52, 0.22);
  background: var(--lm-or-gold-soft);
}

.lm-opening-journey-bridge__step span {
  grid-column: 1;
  grid-row: 1 / 3;
  color: var(--lm-or-teal);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.45;
}

.lm-opening-journey-bridge__step--next span {
  color: #8f6812;
}

.lm-opening-journey-bridge__step strong {
  grid-column: 2;
  margin: 0;
  color: var(--lm-or-navy);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.35;
}

.lm-opening-journey-bridge__step p {
  grid-column: 2;
  margin: 0;
  color: var(--lm-or-text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.lm-opening-journey-bridge__arrow {
  position: relative;
  justify-self: center;
  width: 2px;
  height: 18px;
  background: var(--lm-or-teal);
}

.lm-opening-journey-bridge__arrow::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-block-end: 2px solid var(--lm-or-teal);
  border-inline-end: 2px solid var(--lm-or-teal);
  transform: rotate(45deg);
}

.lm-opening-result-journey .lm-opening-insight-cards {
  margin: 0 !important;
}

.lm-opening-result-journey .lm-opening-insight-cards .lm-result-core-answer__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr) !important;
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 10px !important;
}

.lm-opening-result-journey .lm-opening-insight-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 0 !important;
  padding: 16px 18px !important;
  overflow: hidden !important;
  border: 1px solid var(--lm-or-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(16, 33, 59, 0.055) !important;
}

.lm-opening-result-journey .lm-opening-insight-card::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: #b8d9df;
}

.lm-opening-result-journey .lm-opening-insight-card--primary {
  grid-row: 1 / span 2;
  min-height: 210px !important;
  padding: clamp(20px, 3vw, 28px) !important;
  border-color: rgba(22, 132, 102, 0.23) !important;
  background: linear-gradient(145deg, #fff, #f4fbf8) !important;
  box-shadow: 0 16px 38px rgba(16, 33, 59, 0.08) !important;
}

.lm-opening-result-journey .lm-opening-insight-card--primary::after {
  width: 6px;
  background: var(--lm-or-teal);
}

.lm-opening-result-journey .lm-opening-insight-card--secondary {
  background: var(--lm-or-blue-soft) !important;
}

.lm-opening-result-journey .lm-opening-insight-card--secondary::after {
  background: #4f91b2;
}

.lm-opening-result-journey .lm-opening-insight-card--strength {
  border-color: rgba(217, 166, 52, 0.24) !important;
  background: var(--lm-or-gold-soft) !important;
}

.lm-opening-result-journey .lm-opening-insight-card--strength::after {
  background: var(--lm-or-gold);
}

.lm-opening-result-journey .lm-opening-insight-card--uncertainty {
  background: #f7f9fa !important;
}

.lm-opening-insight-card__role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f6253 !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  line-height: 1.4;
}

.lm-opening-insight-card__role i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.lm-opening-insight-card__role i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: currentColor;
}

.lm-opening-result-journey .lm-opening-insight-card--strength .lm-opening-insight-card__role {
  color: #89620c !important;
}

.lm-opening-result-journey .lm-opening-insight-card--uncertainty .lm-opening-insight-card__role {
  color: #64748b !important;
}

.lm-opening-result-journey .lm-opening-insight-card h3 {
  margin: 0;
  color: var(--lm-or-navy);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lm-opening-result-journey .lm-opening-insight-card--primary h3 {
  font-size: clamp(1.22rem, 2.4vw, 1.55rem);
}

.lm-opening-result-journey .lm-opening-insight-card p {
  margin: 0 !important;
  color: var(--lm-or-text) !important;
  font-size: 0.95rem !important;
  font-weight: 680 !important;
  line-height: 1.58 !important;
  overflow-wrap: anywhere;
}

.lm-opening-result-journey .lm-opening-continuation--journey,
.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card {
  gap: 8px;
  padding: clamp(20px, 3.2vw, 30px);
  border: 1px solid rgba(16, 33, 59, 0.18);
  border-radius: 16px;
  background: #f5faf8;
  box-shadow: 0 16px 40px rgba(16, 33, 59, 0.08);
  text-align: center;
}

.lm-opening-result-journey .lm-opening-continuation--journey > span,
.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card > span {
  color: var(--lm-or-teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.lm-opening-result-journey .lm-opening-continuation--journey h3,
.lm-opening-result-journey .lm-paywall--result-journey h3 {
  max-width: 30ch;
  margin: 0 auto;
  color: var(--lm-or-navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.lm-opening-result-journey .lm-opening-continuation--journey > p:not(.lm-opening-result-trust),
.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card > p:not(.lm-paywall-result-trust):not(.lm-paywall-result-login) {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--lm-or-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.58;
}

.lm-opening-next-topic {
  display: grid;
  gap: 2px;
  width: min(100%, 610px);
  margin: 4px auto;
  padding: 10px 14px;
  border: 1px solid rgba(22, 132, 102, 0.16);
  border-radius: 10px;
  background: #fff;
  text-align: right;
}

.lm-opening-next-topic small {
  color: var(--lm-or-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.lm-opening-next-topic strong {
  color: var(--lm-or-navy);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.4;
}

.lm-opening-result-journey .lm-opening-continuation--journey .lm-button,
.lm-opening-result-journey .lm-paywall--result-journey .lm-button {
  width: min(100%, 460px);
  min-height: 48px;
  margin: 4px auto 0;
  border-radius: 9px;
  background: var(--lm-or-teal);
  box-shadow: 0 10px 24px rgba(22, 132, 102, 0.2);
  font-weight: 900;
  white-space: normal;
}

.lm-opening-result-journey .lm-opening-continuation--journey .lm-button:hover,
.lm-opening-result-journey .lm-opening-continuation--journey .lm-button:focus-visible,
.lm-opening-result-journey .lm-paywall--result-journey .lm-button:hover,
.lm-opening-result-journey .lm-paywall--result-journey .lm-button:focus-visible {
  background: #116f57;
  outline: 3px solid rgba(217, 166, 52, 0.38);
  outline-offset: 2px;
}

.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-price {
  display: grid;
  gap: 0;
  margin: 3px auto 0;
}

.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-price strong {
  color: var(--lm-or-navy);
  font-size: 1rem;
  font-weight: 900;
}

.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-price small {
  color: var(--lm-or-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.lm-opening-result-trust,
.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-trust {
  max-width: 62ch;
  margin: 2px auto 0 !important;
  color: var(--lm-or-muted) !important;
  font-size: 0.95rem !important;
  font-weight: 720 !important;
  line-height: 1.5 !important;
}

.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-login {
	margin: 0 !important;
	color: #526a63 !important;
	font-size: 0.95rem;
}

.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-trust {
	color: #526a63 !important;
}

.lm-opening-result-journey .lm-answer-details-actions {
  margin: 0 auto !important;
}

.lm-opening-result-journey .lm-answer-details-actions .lm-button {
  min-height: 42px;
  padding: 7px 13px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--lm-or-navy);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lm-opening-result-journey .lm-answer-details-actions .lm-button:hover,
.lm-opening-result-journey .lm-answer-details-actions .lm-button:focus-visible {
  color: var(--lm-or-teal);
  outline: 2px solid rgba(22, 132, 102, 0.25);
  outline-offset: 2px;
}

.lm-opening-result-journey .lm-answer-details-modal__dialog {
  border-radius: 18px;
  background: #f8fbfc;
  box-shadow: 0 30px 90px rgba(5, 17, 35, 0.3);
}

.lm-opening-result-journey .lm-answer-details-modal__head h3 {
  color: var(--lm-or-navy);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.lm-opening-evidence-groups {
  display: grid;
  gap: 12px;
}

.lm-opening-evidence-group {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--lm-or-border);
  border-radius: 12px;
  background: #fff;
}

.lm-opening-evidence-group > header {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.lm-opening-evidence-group > header > i {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--lm-or-teal);
}

.lm-opening-evidence-group > header > i::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: currentColor;
}

.lm-opening-evidence-group h4 {
  margin: 0;
  color: var(--lm-or-navy);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.4;
}

.lm-opening-evidence-group header p,
.lm-opening-evidence-group__note {
  margin: 2px 0 0;
  color: var(--lm-or-muted);
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1.55;
}

.lm-opening-evidence-group--complexity {
  border-color: rgba(217, 166, 52, 0.25);
  background: var(--lm-or-gold-soft);
}

.lm-opening-evidence-group--complexity > header > i {
  color: #9a7116;
}

.lm-opening-evidence-group--uncertainty {
  background: #f3f6f8;
}

.lm-opening-evidence-group--uncertainty > header > i {
  color: #64748b;
}

.lm-opening-result-journey .lm-opening-evidence-group ul {
  gap: 7px;
  padding: 0;
}

.lm-opening-result-journey .lm-opening-evidence-group li {
  padding: 10px 30px 10px 12px;
  border: 1px solid rgba(16, 33, 59, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--lm-or-text);
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.55;
}

.lm-opening-result-journey .lm-opening-evidence-group li::before {
  top: 17px;
  right: 12px;
  width: 7px;
  height: 7px;
  background: var(--lm-or-teal);
}

@media (max-width: 760px) {
  .lm-opening-result-journey {
    width: min(calc(100% - 20px), 920px) !important;
    gap: 10px !important;
  }

  .lm-opening-result-journey .lm-opening-result-hero {
    gap: 3px;
    padding: 16px 16px !important;
  }

  .lm-opening-result-progress {
    gap: 6px;
    margin-bottom: 1px;
    font-size: 0.76rem;
  }

  .lm-opening-result-progress i {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .lm-opening-result-progress i::after {
    top: 4px;
    right: 4px;
  }

  .lm-opening-result-journey .lm-opening-result-hero :is(h1, h2) {
    max-width: none !important;
    margin-block: 1px 3px !important;
    font-size: clamp(1.66rem, 6.9vw, 2.12rem) !important;
  }

  .lm-opening-result-journey .lm-opening-result-direction {
    font-size: 0.94rem !important;
  }

  .lm-opening-result-journey .lm-opening-result-hero .lm-opening-result-lead {
    font-size: 0.95rem !important;
    line-height: 1.56 !important;
  }

  .lm-opening-result-journey .lm-opening-journey-bridge {
    gap: 3px;
    padding: 8px !important;
  }

  .lm-opening-journey-bridge__step {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    padding: 7px 9px;
  }

  .lm-opening-journey-bridge__step span,
  .lm-opening-journey-bridge__step strong,
  .lm-opening-journey-bridge__step p {
    grid-column: 1;
    grid-row: auto;
  }

  .lm-opening-journey-bridge__step span {
    font-size: 0.72rem;
  }

  .lm-opening-journey-bridge__step strong {
    font-size: 0.94rem;
  }

  .lm-opening-journey-bridge__step p {
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .lm-opening-journey-bridge__arrow {
    height: 15px;
  }

  .lm-opening-result-journey .lm-opening-insight-cards .lm-result-core-answer__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 8px !important;
  }

  .lm-opening-result-journey .lm-opening-insight-card,
  .lm-opening-result-journey .lm-opening-insight-card--primary {
    grid-row: auto;
    min-height: 0 !important;
    gap: 3px;
    padding: 11px 13px !important;
  }

  .lm-opening-result-journey .lm-opening-insight-card--primary h3 {
    font-size: 1.1rem;
  }

  .lm-opening-insight-card__role {
    gap: 5px;
    font-size: 0.7rem !important;
  }

  .lm-opening-insight-card__role i {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .lm-opening-result-journey .lm-opening-insight-card h3 {
    font-size: 1rem;
  }

  .lm-opening-result-journey .lm-opening-insight-card p {
    font-size: 0.95rem !important;
    line-height: 1.48 !important;
  }

  .lm-opening-result-journey .lm-opening-continuation--journey,
  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card {
    gap: 5px;
    padding: 14px 13px;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card > span {
    order: 1;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card > h3 {
    order: 2;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card > p:not(.lm-paywall-result-trust):not(.lm-paywall-result-login) {
    order: 3;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-price {
    order: 4;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-button {
    order: 5;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-opening-next-topic {
    order: 6;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-trust {
    order: 7;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-login {
    order: 8;
  }

  .lm-opening-result-journey .lm-opening-continuation--journey h3,
  .lm-opening-result-journey .lm-paywall--result-journey h3 {
    font-size: 1.3rem;
  }

  .lm-opening-result-journey .lm-opening-continuation--journey > p:not(.lm-opening-result-trust),
  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card > p:not(.lm-paywall-result-trust):not(.lm-paywall-result-login) {
    font-size: 0.95rem;
    line-height: 1.48;
  }

  .lm-opening-next-topic {
    margin-block: 2px;
    padding: 7px 10px;
  }

  .lm-opening-next-topic small {
    font-size: 0.7rem;
  }

  .lm-opening-next-topic strong {
    font-size: 0.92rem;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 8px;
  }

  .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-price strong {
    font-size: 0.92rem;
  }

  .lm-opening-result-journey .lm-opening-continuation--journey .lm-button,
  .lm-opening-result-journey .lm-paywall--result-journey .lm-button {
    min-height: 46px;
    margin-top: 2px;
  }

  .lm-opening-result-journey .lm-answer-details-modal {
    padding: 10px;
  }

  .lm-opening-result-journey .lm-answer-details-modal__dialog {
    max-height: calc(100vh - 20px);
    padding: 16px;
  }

  .lm-opening-evidence-group {
    padding: 13px;
  }
}

@media (max-width: 340px) {
  .lm-opening-result-journey {
    width: min(calc(100% - 12px), 920px) !important;
  }

  .lm-opening-result-journey .lm-opening-result-hero {
    padding: 17px 14px !important;
  }

  .lm-opening-result-journey .lm-opening-result-hero :is(h1, h2) {
    font-size: 1.62rem !important;
  }

  .lm-opening-result-journey .lm-opening-result-lead,
  .lm-opening-result-journey .lm-opening-insight-card p {
    font-size: 0.95rem !important;
  }

  .lm-opening-result-journey .lm-opening-continuation--journey .lm-button,
  .lm-opening-result-journey .lm-paywall--result-journey .lm-button {
    padding-inline: 12px;
    font-size: 0.92rem;
  }
}

/* v1.5.20: flexible cadence choices and one focused emotional discovery. */
.lm-result-continuation {
  display: grid;
  gap: 1rem;
  margin-block: 1.25rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid #cddfe7;
  border-radius: 8px;
  background: #f7fbfd;
  box-shadow: 0 12px 28px rgba(16, 35, 63, 0.07);
}

.lm-result-continuation > header {
  text-align: center;
}

.lm-result-continuation > header span {
  color: #168466;
  font-size: 0.82rem;
  font-weight: 850;
}

.lm-result-continuation > header h3 {
  margin: 0.2rem 0 0;
}

.lm-result-continuation > header p {
  margin: 0.45rem auto 0;
  color: #5d6879;
}

.lm-result-continuation__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.lm-result-continuation__choices article {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #fff;
}

.lm-result-continuation__choices h4,
.lm-result-continuation__choices p {
  margin: 0;
}

.lm-result-continuation__choices p {
  color: #5d6879;
}

.lm-result-continuation__choices .lm-button {
  align-self: end;
  margin-block-start: 0.35rem;
}

.lm-result-continuation.is-soft-pause {
  border-color: #ead9a6;
  background: #fff9e9;
}

.lm-cadence-choice__actions,
.lm-today-discovery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.lm-cadence-choice__actions form,
.lm-today-discovery__actions form {
  margin: 0;
}

.lm-journey-workspace--refined .lm-today-discovery {
  display: grid;
  gap: 0.45rem;
  padding: 21px 22px;
  border: 1px solid #e5d39d;
  border-inline-start: 5px solid var(--lm-j8-gold);
  border-radius: var(--lm-j8-radius);
  background: var(--lm-j8-surface-gold);
  box-shadow: var(--lm-j8-shadow);
}

.lm-journey-workspace--refined .lm-today-discovery h3,
.lm-journey-workspace--refined .lm-today-discovery p {
  margin: 0;
}

.lm-journey-workspace--refined .lm-today-discovery p {
  color: var(--lm-j8-muted);
}

.lm-journey-workspace--refined .lm-today-discovery__actions {
  margin-block-start: 0.45rem;
}

.lm-journey-workspace--refined .lm-discovery-card header em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-inline: 0.55rem;
  border-radius: 999px;
  background: #fff0bf;
  color: #795713;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.lm-journey-workspace--refined .lm-discovery-card.is-unseen {
  border-inline-start-width: 6px;
  box-shadow: 0 14px 32px rgba(16, 35, 63, 0.1);
}

.lm-journey-workspace--refined .lm-discovery-card.has-new-evidence {
  border-inline-start-color: var(--lm-j8-gold);
}

.lm-discovery-open {
  margin-block-start: 0.7rem;
}

.lm-discovery-open button {
  min-height: 40px;
  padding-inline: 0.9rem;
  border: 1px solid #9fc9cd;
  border-radius: 7px;
  background: #eef8f4;
  color: #0b6659;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lm-discovery-open button:hover,
.lm-discovery-open button:focus-visible {
  border-color: #168466;
  background: #dff3eb;
}

.lm-discovery-card.is-discovery-target {
  outline: 3px solid var(--lm-j8-gold, #e9ae34);
  outline-offset: 4px;
}

.lm-discovery-new-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border: 1px solid #b9ddd2;
  border-radius: 999px;
  background: #edf8f4;
  color: #286b5f;
  font-size: 0.8rem;
  font-weight: 850;
}

/* Full frontend dark mode. The external CardCom iframe remains untouched. */
html[data-theme="dark"] .lm-wrap {
  color: #e8f0f6;
}

html[data-theme="dark"] .lm-wrap :is(h1, h2, h3, h4, h5, h6, legend, strong) {
  color: #f2f7fb;
}

html[data-theme="dark"] .lm-wrap :is(a, .lm-text-button) {
  color: #8ed5f6;
}

html[data-theme="dark"] .lm-wrap :is(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid #f0c25a;
  outline-offset: 3px;
}

html[data-theme="dark"] .lm-wrap :is(input, textarea, select) {
  border-color: #4e6477;
  background: #101c29;
  color: #edf4fa;
}

html[data-theme="dark"] .lm-wrap :is(input, textarea)::placeholder {
  color: #91a5b5;
  opacity: 1;
}

html[data-theme="dark"] .lm-wrap .lm-next-topic-mini {
  border-color: #38586d;
  background: #1a2b3a;
  color: #dce9f2;
}

html[data-theme="dark"] .lm-wrap .lm-next-topic-mini :is(strong, span) {
  color: #d8f4ef;
}

html[data-theme="dark"] .lm-wrap .lm-next-topic-mini small {
  color: #aebdca;
}

html[data-theme="dark"] .lm-wrap :is(
  .lm-panel,
  .lm-form,
  .lm-section-header,
  .lm-question-step,
  .lm-topic-section,
  .lm-simple-result-hero,
  .lm-result-card,
  .lm-topic-result-card,
  .lm-topic-link-card,
  .lm-topic-more,
  .lm-result-core-answer,
  .lm-results-card,
  .lm-result-story-card,
  .lm-result-insight-card,
  .lm-result-route-card,
  .lm-result-journal-card,
  .lm-result-reflection-card,
  .lm-result-not-diagnosis,
  .lm-result-area-card,
  .lm-topic-compare-card,
  .lm-login-card,
  .lm-paywall-card,
  .lm-topic-locked-card,
  .lm-result-continuation,
  .lm-result-continuation__choices article,
  .lm-checkout-clarity,
  .lm-answer-details-modal__dialog
) {
  border-color: #34495a;
  background: #162433;
  color: #e8f0f6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .lm-wrap :is(
  .lm-section-header p,
  .lm-question p,
  .lm-result-card p,
  .lm-topic-result-card p,
  .lm-result-story-card p,
  .lm-result-insight-card p,
  .lm-result-route-card p,
  .lm-result-journal-card p,
  .lm-login-card p,
  .lm-paywall-card p,
  .lm-result-continuation p,
  small
) {
  color: #aebdca;
}

html[data-theme="dark"] .lm-wrap :is(.lm-result-core-answer__grid article, .lm-tracking-human-cta) {
  border-color: #34495a;
  background: #1b2d3d;
  color: #e8f0f6;
  box-shadow: none;
}

html[data-theme="dark"] .lm-wrap :is(.lm-result-core-answer__grid p, .lm-tracking-human-cta p) {
  color: #b8c8d5;
}

html[data-theme="dark"] .lm-wrap :is(.lm-step-progress, .lm-topic-world-badge, .lm-form-meta span) {
  border-color: #43586b;
  background: #1b2d3d;
  color: #dce9f2;
}

html[data-theme="dark"] .lm-wrap .lm-step-progress > div:first-child,
html[data-theme="dark"] .lm-wrap .lm-step-progress > div:first-child span {
  color: #dce9f2;
}

html[data-theme="dark"] .lm-wrap .lm-progress-track {
  background: #32495b;
}

html[data-theme="dark"] .lm-wrap .lm-scale-option:not(:has(input:checked)) {
  border-color: #43586b;
  background: #192a3a;
  color: #e8f0f6;
}

html[data-theme="dark"] .lm-wrap .lm-scale-option:not(:has(input:checked)) :is(.lm-scale-label, .lm-scale-number) {
  color: #e8f0f6;
}

html[data-theme="dark"] .lm-question-step[data-lm-selection-type="multi"] .lm-scale-option:not(:has(input:checked))::before {
  border-color: #71879a;
  background: #101c29;
}

html[data-theme="dark"] .lm-wrap :is(.lm-button--secondary, .lm-actions .lm-button--secondary) {
  border-color: #567083;
  background: #1a2b3a;
  color: #a7ddf3;
}

html[data-theme="dark"] .lm-wrap :is(.lm-button--secondary, .lm-actions .lm-button--secondary):hover {
  background: #21384a;
  color: #fff;
}

html[data-theme="dark"] .lm-wrap :is(details, .lm-topic-history-list a, .lm-result-history-list article) {
  border-color: #34495a;
}

html[data-theme="dark"] .lm-wrap details > summary {
  color: #dce8f1;
}

html[data-theme="dark"] .lm-notice--error {
  border-color: #8f5559;
  background: #40262d;
  color: #ffd7d7;
}

html[data-theme="dark"] .lm-notice--success {
  border-color: #397a65;
  background: #173a31;
  color: #c9f2e3;
}

html[data-theme="dark"] .lm-notice--info {
  border-color: #436f8e;
  background: #193246;
  color: #d2eafa;
}

html[data-theme="dark"] .lm-answer-details-modal {
  background: rgba(2, 8, 14, 0.78);
}

html[data-theme="dark"] .lm-login-intro {
  border-color: #36556f;
  background: linear-gradient(145deg, #102d4c, #153b4b);
}

html[data-theme="dark"] .lm-login-points span {
  border-color: #38586d;
  background: #1a2b3a;
  color: #dce9f2;
}

html[data-theme="dark"] .lm-login-links {
  color: #aebdca;
}

html[data-theme="dark"] .lm-login-links .lm-register-link {
  border: 1px solid #38586d;
  background: #1a3042;
  color: #b9dff4;
}

html[data-theme="dark"] .lm-paywall-week-path li,
html[data-theme="dark"] .lm-paywall-why,
html[data-theme="dark"] .lm-paywall-payment-trust {
  border-color: #445666;
  background: #1a2b3a;
  color: #e8f0f6;
}

html[data-theme="dark"] .lm-paywall-payment-trust span {
  background: #21384a;
  color: #d7e7f2;
}

html[data-theme="dark"] .lm-checkout-clarity {
  background: linear-gradient(135deg, #16382f, #163244);
}

html[data-theme="dark"] .lm-checkout-clarity :is(strong, p, li) {
  color: #edf4fa;
}

html[data-theme="dark"] .lm-result-continuation.is-soft-pause {
  border-color: #6d5a32;
  background: #302a1c;
}

html[data-theme="dark"] .lm-opening-result-journey {
  --lm-or-navy: #f2f7fb;
  --lm-or-navy-soft: #d7e8f2;
  --lm-or-teal: #70d1b8;
  --lm-or-teal-soft: #173a32;
  --lm-or-gold: #f0c25a;
  --lm-or-gold-soft: #3b301b;
  --lm-or-blue-soft: #1a3042;
  --lm-or-text: #d9e5ee;
  --lm-or-muted: #aebdca;
  --lm-or-border: rgba(151, 176, 196, 0.25);
}

html[data-theme="dark"] .lm-opening-result-journey :is(
  .lm-opening-result-hero,
  .lm-opening-journey-bridge,
  .lm-opening-insight-card,
  .lm-opening-continuation--journey,
  .lm-paywall-result-card,
  .lm-opening-evidence-group
) {
  border-color: var(--lm-or-border) !important;
  background: #162433 !important;
  color: var(--lm-or-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .lm-opening-result-journey :is(.lm-opening-journey-bridge__step, .lm-opening-evidence-group li) {
  border-color: var(--lm-or-border);
  background: #1a2b3a;
  color: var(--lm-or-text);
}

html[data-theme="dark"] :is(.lm-teaser-guidance, .lm-teaser-progress) {
  border-color: rgba(151, 176, 196, 0.28);
  background: #1a2b3a;
  color: #dce8f1;
}

html[data-theme="dark"] .lm-teaser-guidance summary {
  color: #c8eee7;
}

html[data-theme="dark"] .lm-opening-next-topic {
  border-color: var(--lm-or-border);
  background: #1a2b3a;
}

html[data-theme="dark"] .lm-opening-next-topic strong {
  color: var(--lm-or-text);
}

.lm-journey-workspace--refined .lm-cadence-choice .lm-button--secondary {
  border: 1px solid currentColor;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .lm-opening-result-journey :is(.lm-opening-insight-card--secondary, .lm-opening-evidence-group--complexity) {
  background: var(--lm-or-gold-soft) !important;
}

html[data-theme="dark"] .lm-opening-result-journey .lm-opening-evidence-group--uncertainty {
  background: #202d39 !important;
}

html[data-theme="dark"] .lm-journey-workspace--refined {
  --lm-j8-navy: #f2f7fb;
  --lm-j8-navy-rich: #102d4c;
  --lm-j8-teal: #58c4b4;
  --lm-j8-teal-bright: #6bd1b7;
  --lm-j8-blue: #69bfe9;
  --lm-j8-gold: #f0c25a;
  --lm-j8-gold-light: #f0c25a;
  --lm-j8-bg: #101b28;
  --lm-j8-surface: #162433;
  --lm-j8-surface-blue: #1a3042;
  --lm-j8-surface-teal: #173a32;
  --lm-j8-surface-gold: #3b301b;
  --lm-j8-ink: #e8f0f6;
  --lm-j8-muted: #aebdca;
  --lm-j8-muted-soft: #91a5b5;
  --lm-j8-border: #34495a;
  --lm-j8-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  --lm-j8-shadow-strong: 0 22px 52px rgba(0, 0, 0, 0.36);
  background: var(--lm-j8-bg);
  color: #d9e5ee;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-journey-workspace__header,
  .lm-journey-workspace__home,
  .lm-journey-workspace__tabs,
  .lm-personal-map__hero,
  .lm-personal-map__domain,
  .lm-map-supporting-tools,
  .lm-discovery-card,
  .lm-personal-album,
  .lm-story-chapter article,
  .lm-story-add,
  .lm-time-tools,
  .lm-snapshot-step,
  .lm-time-tools__more,
  .lm-workspace-empty,
  .lm-childhood-present__card,
  .lm-history-month,
  .lm-history-row,
  .lm-history-dialog
) {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
  color: var(--lm-j8-ink);
  box-shadow: var(--lm-j8-shadow);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-journey-workspace__tabs button {
  color: #b7c7d4;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-journey-workspace__tabs button:hover {
  border-color: #4a6477;
  background: var(--lm-j8-surface-blue);
  color: #fff;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-journey-workspace__tabs button.is-active {
  border-color: #58c4b4;
  background: #19786f;
  color: #fff;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(.lm-button--secondary, .lm-journey-workspace__home) {
  border-color: #4d687a;
  background: #1a2b3a;
  color: #a8e5da;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(.lm-personal-map__state, .lm-personal-map__strength, .lm-story-start, .lm-user-insight-form) {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(.lm-personal-map__unclear, .lm-personal-map__investigation, .lm-today-discovery) {
  border-color: #6d5a32;
  background: var(--lm-j8-surface-gold);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(.lm-personal-map__thread, .lm-childhood-present__flow > section, .lm-discovery-feed:not(.is-filtered) > .lm-discovery-card:first-child) {
  border-color: #38586d;
  background: var(--lm-j8-surface-blue);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-childhood-present__flow > section.is-later-life {
  border-color: #6d5a32;
  background: var(--lm-j8-surface-gold);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-childhood-present__flow > section.is-connection {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__waiting,
  .lm-personal-map__coverage,
  .lm-personal-map__coverage section,
  .lm-personal-map__connections,
  .lm-personal-map__tensions,
  .lm-personal-map__feedback,
  .lm-user-insight-form__words,
  .lm-personal-album__item,
  .lm-longitudinal-tool,
  .lm-time-tools__more-body > .lm-longitudinal-tool
) {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
  color: var(--lm-j8-ink);
  box-shadow: none;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__waiting strong,
  .lm-personal-map__coverage > summary,
  .lm-personal-map__connections h3,
  .lm-personal-map__tensions h3,
  .lm-user-insight-form__words > summary,
  .lm-longitudinal-tool > summary
) {
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__waiting p,
  .lm-personal-map__coverage section p,
  .lm-personal-map__connections p,
  .lm-personal-map__tensions p,
  .lm-personal-map__feedback > div span
) {
  color: var(--lm-j8-muted);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-personal-map__investigation-form label span,
  .lm-personal-map__feedback-options label span,
  .lm-choice-row button
) {
  border-color: var(--lm-j8-border);
  background: #1a2b3a;
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-personal-map__evidence,
  .lm-personal-map__connection-list article
) {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface-blue);
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-provenance-chips .is-system_detected {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
  color: #a8e5da;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-connection-source {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
  color: #a8e5da;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-personal-map__investigation-form input:checked + span,
  .lm-personal-map__feedback-options input:checked + span
) {
  border-color: #58c4b4;
  background: var(--lm-j8-surface-teal);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-history-month > ol > li {
  border-block-start-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-history-month > ol > li:hover {
  background: var(--lm-j8-surface-blue);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-history-dialog__head {
  border-block-end-color: var(--lm-j8-border);
  background: var(--lm-j8-surface-blue);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-history-dialog__head :is(h2, span) {
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-history-dialog__head button {
  background: #243b4c;
  color: #d8f4ef;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-attempt-card {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-attempt-card :is(p, dd) {
  color: var(--lm-j8-muted);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-attempt-card dl > div {
  border-block-start-color: var(--lm-j8-border);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-attempt-comparison {
  background: var(--lm-j8-surface-gold);
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-discovery-filters button,
  .lm-history-filters button,
  .lm-story-prompts button,
  .lm-suggested-responses button,
  .lm-history-row__actions button,
  .lm-history-row__actions a,
  .lm-list-more,
  .lm-discovery-open button
) {
  border-color: #4d687a;
  background: #1a2b3a;
  color: #a8e5da;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-discovery-card header em {
  background: #4a3a18;
  color: #f6d985;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-discovery-new-label {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
  color: #a8e5da;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__evidence,
  .lm-guide,
  .lm-exception-list article,
  .lm-guide-suggestions article,
  .lm-guide-items article,
  .lm-map-open-question
) {
  border-color: var(--lm-j8-border);
  background: var(--lm-j8-surface);
  color: var(--lm-j8-ink);
  box-shadow: none;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__evidence > summary,
  .lm-guide h2,
  .lm-guide h3,
  .lm-map-open-question h2,
  .lm-map-open-question strong
) {
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__evidence li,
  .lm-childhood-present__evidence li small,
  .lm-guide p,
  .lm-map-open-question p
) {
  color: var(--lm-j8-muted);
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-childhood-present__meta :is(span, strong) {
  border-color: #356257;
  background: var(--lm-j8-surface-teal);
  color: #a8e5da;
}

html[data-theme="dark"] .lm-journey-workspace--refined .lm-personal-map__domain-icon {
  border-color: #38586d;
  background: var(--lm-j8-surface-blue);
  color: #b9dff4;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-childhood-present__validation button,
  .lm-guide-suggestions button,
  .lm-inline-actions button,
  .lm-inline-delete button,
  .lm-guide-item-actions button,
  .lm-choice-row span,
  .lm-insight-reactions span
) {
  border-color: #4d687a;
  background: #1a2b3a;
  color: var(--lm-j8-ink);
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(
  .lm-choice-row input:checked + span,
  .lm-insight-reactions input:checked + span
) {
  border-color: #58c4b4;
  background: var(--lm-j8-surface-teal);
  color: #d8f4ef;
}

html[data-theme="dark"] .lm-journey-workspace--refined :is(input, select, textarea) {
  border-color: #4e6477;
  background: #101c29;
  color: #edf4fa;
}

html[data-theme="dark"] .lm-journey-workspace--refined dialog::backdrop {
  background: rgba(2, 8, 14, 0.78);
}

html[data-theme="dark"] :is(.woocommerce, .woocommerce-checkout) .lm-checkout-clarity {
  border-color: #356257;
  background: linear-gradient(135deg, #173a32, #1a3042);
}

@media (max-width: 680px) {
  .lm-result-continuation__choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .lm-cadence-choice__actions,
  .lm-today-discovery__actions {
    display: grid;
  }

  .lm-cadence-choice__actions :is(a, button),
  .lm-today-discovery__actions :is(form, button) {
    width: 100%;
  }
}

/* v1.5.35: concise privacy reassurance before the opening questionnaire and registration. */
.lm-privacy-trust {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(31, 139, 124, 0.24);
  border-inline-start: 3px solid #1f8b7c;
  border-radius: 8px;
  background: #f4fbf9;
  color: #33465b;
  box-sizing: border-box;
}

.lm-privacy-trust--compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.18rem 0.55rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.lm-privacy-trust--compact small {
  grid-column: 1 / -1;
}

.lm-privacy-trust strong {
  color: #176f64;
  font-size: 0.94rem;
  font-weight: 850;
}

.lm-privacy-trust span,
.lm-privacy-trust small {
  color: #52657a;
}

.lm-privacy-trust small {
  display: block;
  font-size: 0.82rem;
  font-weight: 720;
}

.lm-privacy-trust--registration {
  display: grid;
  max-width: none;
  margin-bottom: 1rem;
  gap: 0.2rem;
  line-height: 1.6;
}

html[data-theme="dark"] .lm-privacy-trust {
  border-color: rgba(111, 202, 188, 0.34);
  border-inline-start-color: #6fcabc;
  background: #16342f;
  color: #e5f3f0;
}

html[data-theme="dark"] .lm-privacy-trust strong {
  color: #a8e5da;
}

html[data-theme="dark"] .lm-privacy-trust :is(span, small) {
  color: #c1d5d1;
}

@media (max-width: 640px) {
  .lm-privacy-trust {
    max-width: 100%;
    padding: 0.6rem 0.75rem;
  }

  .lm-privacy-trust--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.12rem;
    font-size: 0.84rem;
  }

  .lm-privacy-trust--compact small {
    grid-column: auto;
  }
}

/* v1.5.39: focused, accessible opening questionnaire. */
body.lmh-opening-funnel .lm-teaser {
  width: min(100%, 820px);
  max-width: 820px;
  margin-inline: auto;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 1rem 0.8rem;
  text-align: center;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header h1 {
  max-width: 18ch;
  margin: 0 auto 0.45rem;
  color: #10233f;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header p {
  max-width: 58ch;
  margin: 0 auto;
  color: #5a6c7e;
  line-height: 1.65;
}

body.lmh-opening-funnel .lm-teaser-guidance {
  margin-block-end: 0.55rem;
}

body.lmh-opening-funnel .lm-teaser-form {
  scroll-margin-block-start: 78px;
}

body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact {
  max-width: none;
  margin-block-end: 0.55rem;
  padding: 0.55rem 0.75rem;
}

body.lmh-opening-funnel .lm-teaser-form .lm-step-progress {
  margin-block-end: 0.75rem;
  padding: 0.75rem 0.9rem;
}

body.lmh-opening-funnel .lm-teaser-form .lm-question-step {
  min-height: 320px;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid #d9e5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.07);
}

body.lmh-opening-funnel .lm-teaser-form .lm-question legend {
  margin-block-end: 1rem;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
  line-height: 1.5;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale-option {
  min-height: 56px;
}

body.lmh-opening-funnel .lm-teaser-form :is(.lm-scale-option, .lm-button):focus-visible {
  outline: 3px solid #c78100;
  outline-offset: 3px;
}

body.lmh-opening-funnel .lm-teaser-form .lm-step-nav .lm-button {
  min-height: 46px;
}

body.lmh-opening-funnel .lm-teaser-form .lm-disclaimer {
  max-width: 62ch;
  margin: 0.85rem auto 0;
  text-align: center;
}

html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header h1 {
  color: #f2f7fb;
}

html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header p {
  color: #b8c6d2;
}

html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-question-step {
  border-color: rgba(151, 176, 196, 0.28);
  background: #162433;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

@media (max-width: 640px) {
  body.lmh-opening-funnel .lm-teaser {
    width: calc(100% - 16px) !important;
  }

  body.lmh-opening-funnel .lm-teaser > .lm-section-header {
    padding: 0.55rem 0.6rem 0.65rem !important;
  }

  body.lmh-opening-funnel .lm-teaser > .lm-section-header h1 {
    max-width: 16ch !important;
    font-size: clamp(1.55rem, 7.4vw, 1.92rem) !important;
    line-height: 1.17 !important;
  }

  body.lmh-opening-funnel .lm-teaser > .lm-section-header p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  body.lmh-opening-funnel .lm-teaser-guidance {
    margin-block-end: 0.45rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.86rem;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact {
    gap: 0.06rem;
    padding: 0.48rem 0.65rem !important;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact strong {
    font-size: 0.84rem;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact small {
    font-size: 0.75rem;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-step-progress {
    padding: 0.62rem 0.7rem !important;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-step-dots {
    gap: 0.3rem;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-question-step {
    min-height: 0;
    padding: 0.9rem 0.75rem !important;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-question legend {
    gap: 7px !important;
    margin-block-end: 0.75rem;
    font-size: 1.08rem !important;
    line-height: 1.4 !important;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-scale--choices .lm-scale-option {
    min-height: 52px !important;
    padding: 10px 12px !important;
  }
}

/* v1.5.41: light map-led questionnaire and result surfaces for the local beta. */
body.lmh-opening-funnel,
html[data-theme="dark"] body.lmh-opening-funnel {
  color-scheme: light;
  background: #f5f7f2 !important;
  color: #17352f !important;
}

body.lmh-opening-funnel .lmh-main,
html[data-theme="dark"] body.lmh-opening-funnel .lmh-main {
  position: relative;
  background-color: #f5f7f2 !important;
  background-image: radial-gradient(circle at 12% 8%, rgba(93, 158, 145, 0.12) 0 2px, transparent 3px);
  background-size: 28px 28px;
}

body.lmh-opening-funnel .lm-teaser,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser {
  position: relative;
  width: min(100%, 940px);
  max-width: 940px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #17352f !important;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header {
  max-width: 820px;
  padding: 22px 24px 18px;
  border: 0 !important;
  border-block-end: 1px solid #d9e5de;
  background: transparent !important;
  color: #17352f !important;
  text-align: right;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header::before {
  content: "התמונה הראשונה שלך";
  display: block;
  margin-block-end: 6px;
  color: #14705f;
  font-size: 0.82rem;
  font-weight: 850;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header h1,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header h1 {
  max-width: 24ch;
  margin: 0 0 7px;
  color: #173f37 !important;
  font-size: 2.35rem;
  line-height: 1.18;
}

body.lmh-opening-funnel .lm-teaser > .lm-section-header p,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header p {
  max-width: 68ch;
  margin: 0;
  color: #526e67 !important;
}

body.lmh-opening-funnel .lm-teaser-guidance,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-guidance {
  width: min(100%, 820px);
  margin: 10px auto;
  border: 1px solid #d8e4dd;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #36564f !important;
}

body.lmh-opening-funnel .lm-teaser-guidance :is(summary, p),
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-guidance :is(summary, p) {
  color: #36564f !important;
}

body.lmh-opening-funnel .lm-teaser-form,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  color: #17352f !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact {
  margin-block-end: 12px;
  padding: 11px 14px;
  border: 1px solid #bcd8cc;
  border-inline-start: 5px solid #14705f;
  border-radius: 6px;
  background: #e9f5ef !important;
  color: #234b41 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact :is(strong, span, small),
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-privacy-trust--compact :is(strong, span, small) {
  color: #234b41 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-step-progress,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-step-progress {
  margin-block-end: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 6px;
  background: #173f37 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(23, 63, 55, 0.14);
}

body.lmh-opening-funnel .lm-teaser-form .lm-step-progress :is(span, strong),
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-step-progress :is(span, strong) {
  color: #fff !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-progress-track,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-progress-track {
  background: rgba(255, 255, 255, 0.22) !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-progress-track > span,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-progress-track > span {
  background: #f0b443 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-step-dots span,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-step-dots span {
  background: rgba(255, 255, 255, 0.45) !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-step-dots span.is-active,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-step-dots span.is-active {
  background: #f0b443 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-question-step,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-question-step {
  min-height: 356px;
  padding: 24px !important;
  border: 1px solid #d2dfd8 !important;
  border-inline-start: 7px solid #df765e !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(23, 63, 55, 0.1) !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-question legend,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-question legend {
  color: #173f37 !important;
  font-size: 1.35rem !important;
  line-height: 1.5 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-question :is(.lm-multi-choice-hint, .lm-multi-choice-feedback),
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-question :is(.lm-multi-choice-hint, .lm-multi-choice-feedback) {
  color: #526e67 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-question legend > span,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-question legend > span {
  background: #14705f !important;
  color: #fff !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale--choices,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-scale--choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale-option,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-scale-option {
  min-height: 60px;
  margin: 0;
  border: 1px solid #cddbd4 !important;
  border-radius: 6px !important;
  background: #fbfcfa !important;
  color: #244a42 !important;
  box-shadow: none !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale-option:hover,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-scale-option:hover {
  border-color: #6ba597 !important;
  background: #eef7f2 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale-option:has(input:checked),
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-scale-option:has(input:checked) {
  border-color: #14705f !important;
  background: #e1f2ea !important;
  color: #123d35 !important;
  box-shadow: inset 0 0 0 1px #14705f !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale-option input {
  accent-color: #14705f;
}

body.lmh-opening-funnel .lm-teaser-form .lm-scale-option :is(.lm-scale-label, .lm-scale-number),
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-scale-option :is(.lm-scale-label, .lm-scale-number) {
  color: #244a42 !important;
}

body.lmh-opening-funnel .lm-teaser-form .lm-disclaimer,
html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-disclaimer {
  color: #657a74 !important;
}

body.lmh-opening-funnel:has(.lm-opening-result-journey) .lmh-main,
html[data-theme="dark"] body.lmh-opening-funnel:has(.lm-opening-result-journey) .lmh-main {
  background: #f5f7f2 !important;
}

.lm-opening-result-journey,
html[data-theme="dark"] .lm-opening-result-journey {
  --lm-or-navy: #173f37;
  --lm-or-navy-soft: #2e6b5e;
  --lm-or-teal: #14705f;
  --lm-or-teal-soft: #e9f5ef;
  --lm-or-gold: #e0a83a;
  --lm-or-gold-soft: #fff5db;
  --lm-or-blue-soft: #eaf4f7;
  --lm-or-text: #345a52;
  --lm-or-muted: #667b75;
  --lm-or-border: #d1dfd8;
  gap: 18px !important;
  color: #345a52 !important;
}

.lm-opening-result-journey .lm-opening-result-hero,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-result-hero {
  min-height: 310px;
  align-content: center;
  padding: 34px 40px 34px 43% !important;
  border: 1px solid #d1dfd8 !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  background-image: radial-gradient(circle at 13% 22%, rgba(224, 168, 58, 0.35) 0 5px, transparent 6px), radial-gradient(circle at 25% 68%, rgba(20, 112, 95, 0.3) 0 6px, transparent 7px), linear-gradient(135deg, #e7f3ed 0 37%, #fff 37% 100%) !important;
  box-shadow: 0 20px 48px rgba(23, 63, 55, 0.1) !important;
}

.lm-opening-result-journey .lm-opening-result-hero::before,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-result-hero::before {
  content: none;
  display: none;
}

.lm-opening-result-journey .lm-opening-result-hero :is(h1, h2),
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-result-hero :is(h1, h2) {
  color: #173f37 !important;
  font-size: 3rem !important;
}

.lm-opening-result-journey .lm-opening-result-hero :is(.lm-opening-result-eyebrow, .lm-opening-result-lead),
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-result-hero :is(.lm-opening-result-eyebrow, .lm-opening-result-lead) {
  color: #496a63 !important;
}

.lm-opening-result-journey .lm-opening-journey-bridge,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-journey-bridge {
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: stretch;
  gap: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
}

.lm-opening-journey-bridge__step,
html[data-theme="dark"] .lm-opening-journey-bridge__step {
  grid-template-columns: 1fr;
  padding: 18px 20px;
  border: 1px solid #d1dfd8 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.lm-opening-journey-bridge__step :is(span, strong, p),
html[data-theme="dark"] .lm-opening-journey-bridge__step :is(span, strong, p) {
  grid-column: 1;
  grid-row: auto;
  color: #345a52 !important;
}

.lm-opening-journey-bridge__step span,
html[data-theme="dark"] .lm-opening-journey-bridge__step span {
  color: #14705f !important;
}

.lm-opening-journey-bridge__arrow,
html[data-theme="dark"] .lm-opening-journey-bridge__arrow {
  align-self: center;
  width: 64px;
  height: 3px;
  background: #e0a83a;
}

.lm-opening-journey-bridge__arrow::after,
html[data-theme="dark"] .lm-opening-journey-bridge__arrow::after {
  right: auto;
  inset-inline-end: 0;
  bottom: -3px;
  border-color: #e0a83a;
  transform: rotate(135deg);
}

.lm-opening-result-journey .lm-opening-insight-cards .lm-result-core-answer__grid,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-cards .lm-result-core-answer__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: auto;
  gap: 12px !important;
}

.lm-opening-result-journey .lm-opening-insight-card,
.lm-opening-result-journey .lm-opening-insight-card--primary,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card--primary {
  grid-row: auto;
  min-height: 190px !important;
  padding: 22px !important;
  border: 1px solid #d1dfd8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(23, 63, 55, 0.07) !important;
}

.lm-opening-result-journey .lm-opening-insight-card--primary,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card--primary {
  border-block-start: 5px solid #14705f !important;
}

.lm-opening-result-journey .lm-opening-insight-card--strength,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card--strength {
  border-block-start: 5px solid #e0a83a !important;
  background: #fffaf0 !important;
}

.lm-opening-result-journey .lm-opening-insight-card--uncertainty,
.lm-opening-result-journey .lm-opening-insight-card--secondary,
html[data-theme="dark"] .lm-opening-result-journey :is(.lm-opening-insight-card--uncertainty, .lm-opening-insight-card--secondary) {
  border-block-start: 5px solid #5b9bb1 !important;
  background: #f3f9fb !important;
}

.lm-opening-result-journey .lm-opening-insight-card :is(h3, p),
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card :is(h3, p) {
  color: #244a42 !important;
}

.lm-opening-result-journey .lm-opening-insight-card--context .lm-opening-insight-card__role,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card--context .lm-opening-insight-card__role {
  color: #0a5145 !important;
}

.lm-opening-result-journey .lm-opening-continuation--journey,
.lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-continuation--journey,
html[data-theme="dark"] .lm-opening-result-journey .lm-paywall--result-journey .lm-paywall-result-card {
  border-radius: 8px;
  background: #e9f5ef !important;
  color: #244a42 !important;
}

.lm-opening-result-journey .lm-opening-next-topic,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-next-topic {
  border-radius: 6px;
  background: #fff !important;
}

.lm-opening-result-journey .lm-opening-continuation--journey .lm-button,
.lm-opening-result-journey .lm-paywall--result-journey .lm-button,
html[data-theme="dark"] .lm-opening-result-journey .lm-opening-continuation--journey .lm-button,
html[data-theme="dark"] .lm-opening-result-journey .lm-paywall--result-journey .lm-button {
  border-radius: 6px;
  background: #14705f !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  body.lmh-opening-funnel .lm-teaser > .lm-section-header,
  html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header {
    padding: 14px 10px 12px !important;
  }

  body.lmh-opening-funnel .lm-teaser > .lm-section-header h1,
  html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser > .lm-section-header h1 {
    max-width: 19ch !important;
    font-size: 1.8rem !important;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-scale--choices,
  html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-scale--choices {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.lmh-opening-funnel .lm-teaser-form .lm-question-step,
  html[data-theme="dark"] body.lmh-opening-funnel .lm-teaser-form .lm-question-step {
    min-height: 0;
    padding: 16px 13px !important;
    border-inline-start-width: 5px !important;
  }

  .lm-opening-result-journey .lm-opening-result-hero,
  html[data-theme="dark"] .lm-opening-result-journey .lm-opening-result-hero {
    min-height: 0;
    padding: 24px 20px 170px !important;
    background-image: radial-gradient(circle at 16% 75%, rgba(224, 168, 58, 0.35) 0 5px, transparent 6px), radial-gradient(circle at 72% 84%, rgba(20, 112, 95, 0.3) 0 6px, transparent 7px), linear-gradient(180deg, #fff 0 58%, #e7f3ed 58% 100%) !important;
  }

  .lm-opening-result-journey .lm-opening-result-hero :is(h1, h2),
  html[data-theme="dark"] .lm-opening-result-journey .lm-opening-result-hero :is(h1, h2) {
    font-size: 2rem !important;
  }

  .lm-opening-result-journey .lm-opening-journey-bridge,
  html[data-theme="dark"] .lm-opening-result-journey .lm-opening-journey-bridge {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lm-opening-journey-bridge__arrow,
  html[data-theme="dark"] .lm-opening-journey-bridge__arrow {
    justify-self: center;
    width: 3px;
    height: 34px;
  }

  .lm-opening-result-journey .lm-opening-insight-cards .lm-result-core-answer__grid,
  html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-cards .lm-result-core-answer__grid {
    grid-template-columns: 1fr !important;
  }

  .lm-opening-result-journey .lm-opening-insight-card,
  .lm-opening-result-journey .lm-opening-insight-card--primary,
  html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card,
  html[data-theme="dark"] .lm-opening-result-journey .lm-opening-insight-card--primary {
    min-height: 0 !important;
    padding: 16px !important;
  }
}
/* Seven-station beta journey. */
.lm-seven-stations {
	margin: 24px 0 28px;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid #c8ddd4;
	border-radius: 8px;
	background: #f6fbf8;
	box-shadow: 0 18px 42px rgba(25, 69, 55, 0.08);
}

.lm-seven-stations__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.lm-seven-stations__head h3 {
	margin: 6px 0 8px;
	font-size: clamp(1.35rem, 2.3vw, 1.9rem);
	color: #17362d;
}

.lm-seven-stations__head p {
	max-width: 690px;
	margin: 0;
	color: #52655f;
}

.lm-seven-stations__progress {
	flex: 0 0 170px;
	color: #17362d;
}

.lm-seven-stations__progress strong {
	display: block;
	margin-bottom: 8px;
}

.lm-seven-stations__progress > span {
	display: block;
	height: 8px;
	overflow: hidden;
	border-radius: 4px;
	background: #dce9e3;
}

.lm-seven-stations__progress i {
	display: block;
	height: 100%;
	background: #198766;
	transition: width 240ms ease;
}

.lm-seven-stations__route {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lm-seven-stations__route li {
	position: relative;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 10px;
	min-height: 176px;
	padding: 16px;
	border: 1px solid #d5e3dd;
	border-top: 4px solid #9cb3a9;
	border-radius: 8px;
	background: #fff;
}

.lm-seven-stations__route li.is-completed {
	border-color: #aad4c3;
	border-top-color: #198766;
	background: #f2fbf7;
}

.lm-seven-stations__route li.is-available,
.lm-seven-stations__route li.is-waiting {
	border-color: #e0bf71;
	border-top-color: #d18b19;
	background: #fffaf0;
	box-shadow: 0 10px 24px rgba(135, 91, 20, 0.1);
}

.lm-seven-stations__route li.is-locked,
.lm-seven-stations__route li.is-upcoming {
	background: #f3f5f4;
	color: #64716d;
}

.lm-seven-stations__number {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e4eee9;
	color: #244c3f;
	font-weight: 800;
}

.is-completed .lm-seven-stations__number {
	background: #198766;
	color: #fff;
}

.is-available .lm-seven-stations__number,
.is-waiting .lm-seven-stations__number {
	background: #d18b19;
	color: #fff;
}

.lm-seven-stations__copy small,
.lm-seven-stations__copy strong,
.lm-seven-stations__copy span {
	display: block;
}

.lm-seven-stations__copy small {
	margin-bottom: 4px;
	color: #198766;
	font-weight: 700;
}

.lm-seven-stations__copy strong {
	color: #17362d;
	font-size: 1.05rem;
}

.lm-seven-stations__copy span {
	margin-top: 5px;
	color: #7b5215;
	font-weight: 700;
}

.lm-seven-stations__copy p {
	margin: 8px 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
}

.lm-seven-stations__route li > a {
	grid-column: 2;
	align-self: end;
	width: fit-content;
	color: #176c55;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lm-seven-stations__summary {
	margin-top: 16px;
	padding: 18px;
	border-inline-start: 4px solid #198766;
	background: #fff;
}

html[data-theme="dark"] .lm-seven-stations__summary {
	border-inline-start-color: #f2bf50 !important;
	background: #19362c !important;
	color: #eef7f3 !important;
}

html[data-theme="dark"] .lm-seven-stations__summary span {
	color: #73d1ad !important;
}

html[data-theme="dark"] .lm-seven-stations__summary strong,
html[data-theme="dark"] .lm-seven-stations__summary p {
	color: #f5faf8 !important;
}

.lm-journey-complete-card {
	border-inline-start: 5px solid #50c398;
}

.lm-seven-stations__summary span,
.lm-seven-stations__summary strong {
	display: block;
}

.lm-seven-stations__summary span {
	color: #126a50;
	font-weight: 800;
}

.lm-seven-stations__summary strong {
	margin-top: 4px;
	color: #17362d;
	font-size: 1.15rem;
}

.lm-seven-stations__summary p {
	color: #435850;
}

.lm-seven-stations__head .lm-workspace-eyebrow {
	color: #9de3d3 !important;
}

html[data-theme="dark"] .lm-seven-stations__head .lm-workspace-eyebrow {
	color: #9de3d3 !important;
}

.lm-station-offer {
	border-inline-start: 5px solid #d18b19;
}

.lm-seven-stations-disclosure {
	margin: 24px 0 28px;
	border: 1px solid #c8ddd4;
	border-radius: 8px;
	background: #f6fbf8;
}

.lm-seven-stations-disclosure > summary {
	padding: 17px 20px;
	cursor: pointer;
	color: #17362d;
	font-weight: 800;
	list-style-position: inside;
}

.lm-seven-stations-disclosure[open] > summary {
	border-bottom: 1px solid #d5e3dd;
}

.lm-seven-stations-disclosure .lm-seven-stations {
	margin: 0;
	border: 0;
	box-shadow: none;
}

html[data-theme="dark"] .lm-seven-stations-disclosure {
	border-color: #365f51;
	background: #12281f;
}

html[data-theme="dark"] .lm-seven-stations-disclosure > summary {
	color: #eef7f3;
}

html[data-theme="dark"] .lm-seven-stations-disclosure[open] > summary {
	border-bottom-color: #315347;
}

.lm-registration-cta-trust {
	display: block;
	margin-top: 10px;
	color: #52655f;
	font-size: 0.82rem;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 980px) {
	.lm-seven-stations__route {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.lm-seven-stations {
		padding: 16px;
	}

	.lm-seven-stations__head {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.lm-seven-stations__progress {
		flex-basis: auto;
	}

	.lm-seven-stations__route {
		grid-template-columns: minmax(0, 1fr);
	}

	.lm-seven-stations__route li {
		min-height: 0;
	}
}

/* Local beta checkout: intentionally isolated from WooCommerce styles. */
.lm-beta-checkout {
	width: min(760px, calc(100% - 32px));
	margin: clamp(28px, 6vw, 72px) auto;
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid #c9ddd5;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(21, 55, 45, 0.12);
	color: #17362d;
}

html[data-theme="dark"] .lm-beta-checkout {
	border-color: #365f51 !important;
	background: #12281f !important;
	color: #eef7f3 !important;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .lm-beta-checkout__head {
	border-bottom-color: #315347 !important;
}

html[data-theme="dark"] .lm-beta-checkout__head h1,
html[data-theme="dark"] .lm-beta-checkout__offer strong,
html[data-theme="dark"] .lm-beta-gateway__summary strong,
html[data-theme="dark"] .lm-beta-checkout__already h2 {
	color: #f5faf8 !important;
}

html[data-theme="dark"] .lm-beta-checkout__head p,
html[data-theme="dark"] .lm-beta-checkout__offer small,
html[data-theme="dark"] .lm-beta-gateway__summary small,
html[data-theme="dark"] .lm-beta-checkout__privacy {
	color: #b7cbc3 !important;
}

html[data-theme="dark"] .lm-beta-checkout__offer,
html[data-theme="dark"] .lm-beta-gateway,
html[data-theme="dark"] .lm-beta-checkout__already {
	border-color: #426a5b !important;
	background: #19362c !important;
	color: #e9f3ef !important;
}

html[data-theme="dark"] .lm-beta-checkout__privacy,
html[data-theme="dark"] .lm-beta-gateway details {
	border-color: #315347 !important;
}

.lm-beta-checkout__head {
	padding-bottom: 22px;
	border-bottom: 1px solid #e0ebe6;
}

.lm-beta-checkout__head h1 {
	margin: 8px 0 10px;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	line-height: 1.12;
}

.lm-beta-checkout__head p {
	margin: 0;
	color: #52655f;
}

.lm-beta-checkout__eyebrow {
	display: inline-flex;
	padding: 5px 9px;
	border: 1px solid #d2a53e;
	border-radius: 4px;
	background: #fff8e6;
	color: #74510f;
	font-size: 0.82rem;
	font-weight: 800;
}

.lm-beta-checkout__offer,
.lm-beta-gateway {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 24px;
	margin: 24px 0;
	padding: 22px;
	border: 1px solid #b9d4c9;
	border-radius: 8px;
	background: #f3faf7;
}

.lm-beta-checkout__offer strong,
.lm-beta-gateway__summary strong {
	display: block;
	margin: 4px 0;
	font-size: 1.45rem;
}

.lm-beta-checkout__offer small,
.lm-beta-gateway__summary small {
	color: #60736d;
}

.lm-beta-checkout__offer ul {
	margin: 0;
	padding-inline-start: 20px;
}

.lm-beta-checkout__offer li + li {
	margin-top: 8px;
}

.lm-beta-checkout__form,
.lm-beta-gateway__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lm-beta-gateway {
	grid-template-columns: 1fr;
}

.lm-beta-gateway details {
	padding-top: 14px;
	border-top: 1px solid #d6e5df;
}

.lm-beta-gateway details a {
	color: #176c55;
}

.lm-beta-checkout__already {
	margin: 24px 0;
	padding: 24px;
	background: #eef8f4;
}

.lm-beta-checkout__privacy {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid #e0ebe6;
	color: #60736d;
	font-size: 0.9rem;
}

@media (max-width: 640px) {
	.lm-beta-checkout {
		width: calc(100% - 20px);
		margin: 16px auto 30px;
		padding: 20px 16px;
	}

	.lm-beta-checkout__offer {
		grid-template-columns: 1fr;
	}

	.lm-beta-checkout__form .lm-button,
	.lm-beta-gateway__actions .lm-button {
		width: 100%;
		justify-content: center;
	}
}

/* Account data ownership. */
.lm-account-data {
	max-width: 1040px;
	margin: 0 auto;
	padding-block: clamp(28px, 5vw, 64px);
}

.lm-account-data__intro {
	max-width: 720px;
	margin-bottom: 28px;
}

.lm-account-data__intro h1 {
	margin: 6px 0 10px;
}

.lm-account-data__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.lm-account-data__card {
	min-width: 0;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid #dce7e2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(24, 54, 45, 0.07);
}

.lm-account-data__card--danger {
	border-color: #ead7d3;
}

.lm-account-data__card h2 {
	margin: 4px 0 12px;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.lm-account-data__eyebrow {
	margin: 0;
	color: #26705a;
	font-size: 0.86rem;
	font-weight: 700;
}

.lm-account-data__delete-form {
	display: grid;
	gap: 16px;
	margin-top: 20px;
}

.lm-account-data .lm-button--danger {
	background: #8b3f35;
	border-color: #8b3f35;
	color: #fff;
}

.lm-account-data .lm-button--danger:hover,
.lm-account-data .lm-button--danger:focus-visible {
	background: #6f3029;
	border-color: #6f3029;
}

.lm-account-data__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid #dce7e2;
	color: #5c6f68;
}

@media (max-width: 720px) {
	.lm-account-data__grid {
		grid-template-columns: 1fr;
	}

	.lm-account-data__footer {
		flex-direction: column;
	}
}
