:root {
  --native-ink: #252a25;
  --native-muted: rgba(37, 42, 37, 0.64);
  --native-faint: rgba(37, 42, 37, 0.44);
  --native-line: rgba(37, 42, 37, 0.16);
  --native-paper: #f7f5ef;
  --native-surface: #fffefa;
  --native-accent: #936b32;
  --native-accent-soft: rgba(245, 196, 107, 0.16);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--native-paper); }

body.native-course-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--native-ink);
  background: var(--native-paper);
  font-family: "Manrope", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

.native-course {
  --native-map-width: clamp(300px, 25vw, 360px);
  position: relative;
  min-height: 100vh;
  background: var(--native-paper);
}

.native-course__topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(24px, 4vw, 64px);
  margin-right: var(--native-map-width);
  border-bottom: 1px solid var(--native-line);
  background: var(--native-surface);
}

.native-course__back,
.native-course__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0;
  color: var(--native-muted);
  font-size: 12px;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease;
}

.native-course__back:hover,
.native-course__back:focus-visible,
.native-course__action:hover,
.native-course__action:focus-visible { color: var(--native-ink); }

.native-course__back .material-symbols-rounded,
.native-course__action .material-symbols-rounded { font-size: 19px; font-weight: 300; }

.native-course__actions {
  display: flex;
  grid-column: 3;
  justify-self: end;
  justify-content: flex-end;
  gap: 20px;
}

.native-course__layout {
  display: block;
  min-height: calc(100vh - 72px);
}

.native-course__content {
  min-width: 0;
  margin-right: var(--native-map-width);
  background: var(--native-paper);
}

.native-course.course-map-hidden .native-course__topbar,
.native-course.course-map-hidden .native-course__content {
  margin-right: 0;
}

.native-course.course-map-hidden .native-course__content-inner {
  width: min(1100px, calc(100% - 128px));
}

.native-course__content-inner {
  display: flex;
  min-height: calc(100vh - 72px);
  flex-direction: column;
  width: min(820px, calc(100% - 96px));
  margin: 0 0 0 clamp(28px, 4vw, 64px);
  padding: clamp(18px, 2vw, 28px) 0 44px;
}

.native-kicker {
  margin: 0;
  color: var(--native-accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.native-course__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--native-muted);
  font-size: 11px;
}

.native-course__lesson {
  flex: 1;
  padding: clamp(16px, 3vw, 32px) 0 clamp(48px, 7vw, 84px);
}

.native-course__lesson-number {
  margin: 0 0 24px;
  color: var(--native-faint);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.native-course__lesson h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--native-ink);
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.native-course__lead {
  max-width: 650px;
  margin: 38px 0 0;
  color: var(--native-muted);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.native-course__prompt {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  max-width: 620px;
  margin-top: clamp(44px, 8vw, 96px);
  padding: 24px 0 0;
  border-top: 1px solid var(--native-line);
}

.native-course__prompt > .material-symbols-rounded {
  color: var(--native-accent);
  font-size: 24px;
  font-weight: 300;
}

.native-course__prompt-label { margin: 0; color: var(--native-ink); font-size: 14px; font-weight: 600; }
.native-course__prompt-copy { max-width: 52ch; margin: 8px 0 0; color: var(--native-muted); font-size: var(--portal-body-copy-size); line-height: 1.65; }

.native-course__stage-body {
  margin-top: clamp(42px, 6vw, 72px);
}

.native-course__stage-body--placeholder { max-width: 620px; }

.native-course__map-error {
  margin: 0;
  color: var(--native-muted);
  font-size: 14px;
}

.native-course__lesson-meta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  color: var(--native-faint);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.native-course__lesson-meta span:first-child { color: var(--native-accent); }

.native-course__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--native-line);
}

.native-course__footer p { margin: 0; color: var(--native-faint); font-size: 11px; text-align: center; }

.native-course__previous,
.native-course__next {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 0;
  color: var(--native-muted);
  font-size: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.native-course__next { justify-self: end; color: var(--native-ink); }
.native-course__previous:disabled { cursor: not-allowed; opacity: 0.35; }
.native-course__previous .material-symbols-rounded, .native-course__next .material-symbols-rounded { font-size: 18px; font-weight: 300; }

.native-course__map {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  width: var(--native-map-width);
  height: 100vh;
  min-height: 540px;
  flex-direction: column;
  overflow: hidden;
  background: var(--native-surface);
  border-left: 1px solid var(--native-line);
  transition: transform 240ms ease, opacity 240ms ease;
}

.native-course__map.is-collapsed {
  display: none;
}

.native-course__map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 26px 22px;
  border-bottom: 1px solid var(--native-line);
}

.native-course__map-count {
  margin: 9px 0 0;
  color: var(--native-muted);
  font-size: 13px;
  line-height: 1.3;
}

.native-course__map-close {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: var(--native-muted);
  border: 1px solid var(--native-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.native-course__map-close .material-symbols-rounded { font-size: 17px; font-weight: 300; }

.native-course__map-progress { height: 2px; margin: 0 30px; background: rgba(37, 42, 37, 0.1); }
.native-course__map-progress span { display: block; width: 20%; height: 100%; background: var(--native-accent); transition: width 220ms ease; }

.native-course__outline { overflow: auto; padding: 18px 20px 26px; }

.native-course__outline-item {
  display: grid;
  grid-template-columns: 28px 27px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 19px 10px;
  color: var(--native-muted);
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(37, 42, 37, 0.1);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.native-course__outline-item:hover,
.native-course__outline-item:focus-visible,
.native-course__outline-item[aria-current="step"] { color: var(--native-ink); background: var(--native-accent-soft); }

.native-course__outline-item[aria-current="step"] { box-shadow: inset 2px 0 0 var(--native-accent); }
.native-course__outline-number { color: var(--native-faint); font-size: 10px; letter-spacing: 0.1em; }
.native-course__outline-icon { color: var(--native-accent); font-size: 21px; font-weight: 300; }
.native-course__outline-copy { display: grid; gap: 4px; min-width: 0; }
.native-course__outline-label { color: inherit; font-size: 14px; font-weight: 500; }
.native-course__outline-detail { color: var(--native-faint); font-size: 10px; letter-spacing: 0.02em; }
.native-course__outline-marker { justify-self: end; color: var(--native-faint); font-size: 17px; font-weight: 300; }
.native-course__outline-item[aria-current="step"] .native-course__outline-marker { color: var(--native-accent); }

.native-course__map-note {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  margin: auto 30px 30px;
  padding-top: 18px;
  color: var(--native-faint);
  border-top: 1px solid var(--native-line);
}

.native-course__map-note .material-symbols-rounded { color: var(--native-accent); font-size: 17px; }
.native-course__map-note p { margin: 0; font-size: 11px; line-height: 1.6; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button:focus-visible,
a:focus-visible { outline: 2px solid rgba(147, 107, 50, 0.55); outline-offset: 3px; }

@media (max-width: 980px) {
  .native-course__topbar { grid-template-columns: auto 1fr auto; }
  .native-course { --native-map-width: 300px; }
  .native-course__content-inner { width: min(760px, calc(100% - 64px)); margin-left: 32px; }
}

@media (max-width: 760px) {
  .native-course__topbar { display: flex; justify-content: space-between; gap: 16px; padding: 0 20px; }
  .native-course__actions { gap: 12px; }
  .native-course__action span:not(.material-symbols-rounded) { display: none; }
  .native-course__layout { display: block; min-height: 0; }
  .native-course__topbar { margin-right: 0; }
  .native-course__content { margin-right: 0; }
  .native-course.course-map-hidden .native-course__content-inner { width: min(100% - 40px, 680px); }
  .native-course__content-inner { width: min(100% - 40px, 680px); min-height: calc(100vh - 72px); margin-right: auto; margin-left: auto; padding-top: 40px; }
  .native-course__map { position: fixed; inset: 72px 0 0; z-index: 4; width: 100%; height: auto; min-height: 0; border-left: 0; box-shadow: 0 20px 60px rgba(37, 42, 37, 0.12); }
  .native-course__map.is-collapsed { display: none; }
  .native-course__map-head { padding: 26px 20px 22px; }
  .native-course__map-progress { margin: 0 20px; }
  .native-course__outline { padding: 10px 14px 20px; }
  .native-course__map-note { margin: auto 20px 20px; }
}

@media (max-width: 520px) {
  .native-course__lesson { padding-top: 48px; }
  .native-course__lesson h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .native-course__lead { margin-top: 28px; font-size: 17px; }
  .native-course__footer { grid-template-columns: 1fr 1fr; }
  .native-course__footer p { display: none; }
  .native-course__next { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Canonical Heart tool integration
   Keep the imported map/reflection behavior intact while letting it inhabit
   the native course surface and typography. */
.canonical-heart-tool {
  width: 100%;
  margin-top: clamp(42px, 6vw, 68px);
  color: var(--native-ink);
}

.canonical-heart-tool .llm {
  color: var(--native-ink);
  font-family: inherit;
  line-height: 1.5;
}

.canonical-heart-tool .llm-card {
  max-width: none;
}

.canonical-heart-tool #ll-heart-lectio {
  margin-top: clamp(42px, 7vw, 76px);
  padding-top: clamp(34px, 5vw, 52px);
  border-top: 1px solid var(--native-line);
}

.canonical-heart-tool #ll-heart-lectio .llm-card,
.canonical-heart-tool #ll-heart-lectio .llm-lectioInner {
  padding-left: 0;
  padding-right: 0;
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioInner {
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioBox h2,
.canonical-heart-tool #ll-heart-lectio .llm-reflectionIntro h2,
.canonical-heart-tool #ll-heart-lectio .llm-markerHeader,
.canonical-heart-tool #ll-heart-lectio .llm-lectioHowTo h2 {
  color: var(--native-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioBox p,
.canonical-heart-tool #ll-heart-lectio .llm-reflectionIntro p,
.canonical-heart-tool #ll-heart-lectio .llm-markerSection > [data-role="markerIntro"],
.canonical-heart-tool #ll-heart-lectio .llm-lectioHowTo p {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-heart-tool #ll-heart-lectio .llm-streamsShell,
.canonical-heart-tool #ll-heart-lectio .llm-markerSection {
  border-color: var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioQ {
  border-color: var(--native-line);
  border-radius: 12px;
  background: transparent;
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioCategory {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--native-ink);
  font-weight: 600;
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioCategory .llm-node-icon {
  color: var(--native-accent);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-heart-tool #ll-heart-lectio .llm-miniPrompt,
.canonical-heart-tool #ll-heart-lectio .llm-alternateQuestions {
  color: var(--native-muted);
}

.canonical-heart-tool #ll-heart-lectio textarea.llm-lectioTA,
.canonical-heart-tool #ll-heart-lectio .llm-blank {
  color: var(--native-ink);
  border-color: var(--native-line);
  background: var(--native-paper);
}

.canonical-heart-tool #ll-heart-lectio textarea.llm-lectioTA:focus,
.canonical-heart-tool #ll-heart-lectio .llm-blank:focus {
  border-color: var(--native-accent);
  outline: 0;
}

.canonical-heart-tool #ll-heart-lectio .llm-alternateControls button,
.canonical-heart-tool #ll-heart-lectio .llm-actionIcon,
.canonical-heart-tool #ll-heart-lectio .llm-resetIcon {
  color: var(--native-accent);
}

.canonical-heart-tool #ll-heart-lectio .llm-actionMenu {
  border-top-color: var(--native-line);
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioBtn,
.canonical-heart-tool #ll-heart-lectio .llm-markerTab,
.canonical-heart-tool #ll-heart-lectio .llm-markerBuild {
  color: var(--native-ink);
  border-color: var(--native-line);
  background: transparent;
}

.canonical-heart-tool #ll-heart-lectio .llm-lectioBtn:hover,
.canonical-heart-tool #ll-heart-lectio .llm-markerTab:hover,
.canonical-heart-tool #ll-heart-lectio .llm-markerBuild:hover {
  background: var(--native-accent-soft);
}

.canonical-heart-tool #ll-heart-lectio .llm-markerTab.llm-active {
  color: var(--native-ink);
  border-color: var(--native-accent);
  background: var(--native-accent-soft);
}

.canonical-heart-tool #ll-heart-lectio .llm-marker,
.canonical-heart-tool #ll-heart-lectio .llm-markerScript,
.canonical-heart-tool #ll-heart-lectio .llm-markerOut,
.canonical-heart-tool #ll-heart-lectio .llm-markerOutText {
  color: var(--native-ink);
}

.canonical-heart-tool #ll-heart-lectio .llm-blank {
  color: var(--native-ink);
  border-bottom-color: var(--native-line);
}

.canonical-heart-tool #ll-heart-lectio .llm-blank::placeholder {
  color: var(--native-faint);
}

@media (max-width: 760px) {
  .canonical-heart-tool {
    margin-top: 38px;
  }


  .canonical-heart-tool #ll-heart-lectio .llm-streamsShell,
  .canonical-heart-tool #ll-heart-lectio .llm-markerSection {
    padding: 16px;
  }
}

/* Canonical Soul tool integration */
.canonical-soul-tool {
  width: 100%;
  margin-top: clamp(42px, 6vw, 68px);
  color: var(--native-ink);
}

.canonical-soul-tool .llm {
  color: var(--native-ink);
  font-family: inherit;
  line-height: 1.5;
}

.canonical-soul-tool .llm-card {
  max-width: none;
}

.canonical-soul-tool #ll-soul-start-map {
  --llm-edgeInset: 0px;
  --llm-stroke: rgba(37, 42, 37, 0.34);
  --llm-stroke-w: 1.25;
  --llm-radius: 14px;
  --llm-gutter: minmax(28px, 10vw);
}

.canonical-soul-tool #ll-soul-start-map .llm-mapToolbar {
  justify-content: flex-start;
  margin: 0 0 2px;
}

.canonical-soul-tool #ll-soul-start-map .llm-stageWrap {
  min-height: 360px;
  padding: 14px 18px 48px;
}

.canonical-soul-tool #ll-soul-start-map #llmMapLeft.llm-pane {
  align-items: center;
  justify-content: center;
  padding-left: var(--llm-edgeInset);
  padding-right: 0;
}

.canonical-soul-tool #ll-soul-start-map #llmMapRight.llm-pane {
  align-items: center;
  justify-content: center;
  padding-left: 0;
  padding-right: var(--llm-edgeInset);
}

.canonical-soul-tool #ll-soul-start-map .llm-stackWrap,
.canonical-soul-tool #ll-soul-start-map #llmMapLeft .llm-stackWrap,
.canonical-soul-tool #ll-soul-start-map #llmMapRight .llm-stackWrap {
  width: 100%;
  max-width: 280px;
}

.canonical-soul-tool #ll-soul-start-map .llm-node {
  border-width: 1.25px;
  border-color: rgba(37, 42, 37, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--native-ink);
  box-shadow: none;
  transition:
    height 240ms cubic-bezier(.2,.8,.2,1),
    transform 200ms cubic-bezier(.2,.8,.2,1),
    border-color 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.canonical-soul-tool #ll-soul-start-map .llm-node:hover,
.canonical-soul-tool #ll-soul-start-map .llm-node.llm-pinned {
  transform: translateY(-2px);
  border-color: var(--native-accent);
  box-shadow: 0 10px 22px rgba(37, 42, 37, 0.08);
}

.canonical-soul-tool #ll-soul-start-map .llm-node[data-id^="S"]:hover {
  background: rgba(255, 255, 255, 0.22);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-pinned[data-id^="S"] {
  background: var(--native-accent-soft);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone {
  border-color: var(--native-ink);
  background: var(--native-ink);
  color: var(--native-surface);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode {
  width: 100%;
  height: 62px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 14px;
  transition:
    height 240ms cubic-bezier(.2,.8,.2,1),
    transform 200ms cubic-bezier(.2,.8,.2,1),
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode.llm-pinned {
  height: 96px;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode .llm-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.2,.8,.2,1);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode .llm-faceRest,
.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-faceRest {
  justify-content: flex-start;
  text-align: left;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode .llm-faceRest {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 13px;
  opacity: 1;
}

.canonical-soul-tool #ll-soul-start-map .llm-restTitle {
  margin: 0;
  color: var(--native-ink);
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-restTitle {
  color: var(--native-paper);
}

.canonical-soul-tool #ll-soul-start-map .llm-node-icon {
  flex: 0 0 auto;
  color: rgba(37, 42, 37, 0.62);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-soul-tool #ll-soul-start-map .llm-node:hover .llm-node-icon,
.canonical-soul-tool #ll-soul-start-map .llm-node.llm-pinned .llm-node-icon {
  color: var(--native-accent);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-restTitle {
  text-align: left;
}

.canonical-soul-tool #ll-soul-start-map .llm-node .llm-faceOpen {
  opacity: 0;
  justify-content: flex-start;
  padding: 48px 16px 12px;
  transform: translateY(8px);
  text-align: left;
}

.canonical-soul-tool #ll-soul-start-map .llm-openLine {
  margin: 0;
  color: var(--native-muted);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.55;
  text-align: left;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode .llm-openLine strong {
  display: none;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode.llm-pinned .llm-faceRest {
  transform: translateY(-5px);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-aNode.llm-pinned .llm-faceOpen {
  opacity: 1;
  transform: none;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone {
  height: 62px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: block;
  transition:
    height 240ms cubic-bezier(.2,.8,.2,1),
    transform 200ms cubic-bezier(.2,.8,.2,1),
    box-shadow 200ms ease;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone.llm-pinned {
  height: 110px;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px 13px;
  box-sizing: border-box;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.2,.8,.2,1);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-faceRest {
  height: 62px;
  bottom: auto;
  opacity: 1;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-faceOpen {
  opacity: 0;
  justify-content: flex-start;
  padding: 48px 16px 18px;
  transform: translateY(8px);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone.llm-pinned .llm-faceRest,
.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone.llm-expanded .llm-faceRest {
  transform: translateY(-12px);
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone.llm-pinned .llm-faceOpen,
.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone.llm-expanded .llm-faceOpen {
  opacity: 1;
  transform: none;
}

.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-openLine,
.canonical-soul-tool #ll-soul-start-map .llm-node.llm-milestone .llm-moreText {
  color: rgba(246, 243, 236, 0.86);
}

.canonical-soul-tool #ll-soul-start-map .llm-svg path {
  stroke: var(--llm-stroke);
  stroke-width: var(--llm-stroke-w);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.canonical-soul-tool__reflection {
  margin-top: clamp(42px, 7vw, 76px);
  padding-top: clamp(34px, 5vw, 52px);
  border-top: 1px solid var(--native-line);
}

.canonical-soul-tool__reflection .llm-practiceStep h2,
.canonical-soul-tool__reflection .llm-lectioHowTo h2 {
  color: var(--native-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.canonical-soul-tool__reflection .llm-practiceStep > p,
.canonical-soul-tool__reflection .llm-noticeIntro,
.canonical-soul-tool__reflection .llm-miniPrompt,
.canonical-soul-tool__reflection .llm-practiceAffirmation,
.canonical-soul-tool__reflection .llm-lectioHowTo p {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-soul-tool__reflection .llm-surfaceCard,
.canonical-soul-tool__reflection .llm-noticeCard,
.canonical-soul-tool__reflection .llm-revealedMap,
.canonical-soul-tool__reflection .llm-lectioHowTo {
  border-color: var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
}

.canonical-soul-tool__reflection .llm-noticeTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--native-ink);
  font-weight: 600;
}

.canonical-soul-tool__reflection .llm-noticeTitle .llm-node-icon {
  color: var(--native-accent);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-soul-tool__reflection textarea.llm-lectioTA {
  color: var(--native-ink);
  border-color: var(--native-line);
  border-radius: 12px;
  background: var(--native-paper);
}

.canonical-soul-tool__reflection textarea.llm-lectioTA:focus {
  border-color: var(--native-accent);
  outline: 0;
}

.canonical-soul-tool__reflection .llm-alternateControls button,
.canonical-soul-tool__reflection .llm-actionIcon,
.canonical-soul-tool__reflection .llm-resetIcon {
  color: var(--native-accent);
}

.canonical-soul-tool__reflection .llm-alternateOutput,
.canonical-soul-tool__reflection .llm-marker,
.canonical-soul-tool__reflection .llm-markerScript,
.canonical-soul-tool__reflection .llm-markerOut,
.canonical-soul-tool__reflection .llm-markerOutText {
  color: var(--native-ink);
}

/* Apply the Heart reflection treatment at the canonical Soul selector level. */
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectio {
  margin: 0;
  color: var(--native-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-practiceStep--respond,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-practiceStep--notice {
  padding: 20px;
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
  color: var(--native-ink);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-practiceStep h2 {
  margin: 0 0 12px;
  color: var(--native-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-practiceStep > p,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-noticeIntro,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-miniPrompt,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-practiceAffirmation {
  color: var(--native-muted);
  font-size: var(--portal-body-copy-size);
  font-weight: 300;
  line-height: 1.5;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-surfaceCard,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-noticeCard {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-surfaceCard {
  margin-top: 18px;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-noticeGrid {
  display: grid;
  gap: 24px;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-noticeTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--native-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-noticeTitle .llm-node-icon {
  color: var(--native-accent);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-fieldLabel,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-stepEyebrow {
  color: var(--native-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio textarea.llm-lectioTA {
  min-height: 78px;
  margin: 0;
  padding: 10px;
  color: var(--native-ink);
  border: 1px solid var(--native-line);
  border-radius: 12px;
  background: var(--native-paper);
  font: inherit;
  resize: vertical;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio textarea.llm-lectioTA--surface {
  min-height: 110px;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio textarea.llm-lectioTA:focus {
  border-color: var(--native-accent);
  outline: 0;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-alternateQuestions,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-alternateQuestions button,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-processStep {
  color: var(--native-muted);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-alternateQuestions button,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-alternateControls button {
  color: var(--native-accent);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-processBar::before {
  background: var(--native-line);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-revealActions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-revealMap,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectioBtn {
  color: var(--native-ink);
  border-color: var(--native-line);
  background: transparent;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-revealMap:hover,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectioBtn:hover {
  color: var(--native-ink);
  background: var(--native-accent-soft);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectioActions {
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--native-line);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-actionIcon,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-resetIcon {
  color: var(--native-accent);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-revealedMap,
.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectioHowTo {
  border-color: var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectioHowTo h2 {
  color: var(--native-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.canonical-soul-tool__reflection #ll-soul-start-lectio .llm-lectioHowTo p {
  color: var(--native-muted);
  font-weight: 300;
}

@media (max-width: 760px) {
  .canonical-soul-tool {
    margin-top: 38px;
  }

  .canonical-soul-tool #ll-soul-start-map .llm-stageWrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Canonical Mind tool integration
   Preserve the imported Mind map/reflection behavior while applying the
   established Heart/Soul native course treatment. */
.canonical-mind-tool {
  width: 100%;
  margin-top: clamp(42px, 6vw, 68px);
  color: var(--native-ink);
}

.canonical-mind-tool .llm {
  color: var(--native-ink);
  font-family: inherit;
  line-height: 1.5;
}

.canonical-mind-tool .llm-card {
  max-width: none;
}

.canonical-mind-tool #ll-mind-map {
  --llm-stroke: rgba(37, 42, 37, 0.34);
  --llm-stroke-w: 1.25;
  --llm-radius: 14px;
}

.canonical-mind-tool #ll-mind-map .llm-mapToolbar {
  justify-content: flex-start;
  margin: 0 0 2px;
}

.canonical-mind-tool #ll-mind-map .llm-stageWrap {
  min-height: 360px;
  padding: 14px 18px 48px;
}

.canonical-mind-tool #ll-mind-map #llmLeft.llm-pane,
.canonical-mind-tool #ll-mind-map #llmRight.llm-pane {
  align-items: center;
}

.canonical-mind-tool #ll-mind-map #llmLeft.llm-pane {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}

.canonical-mind-tool #ll-mind-map #llmRight.llm-pane {
  justify-content: flex-end;
  padding-left: 0;
  padding-right: 0;
}

.canonical-mind-tool #ll-mind-map .llm-stackWrap,
.canonical-mind-tool #ll-mind-map #llmLeft .llm-stackWrap,
.canonical-mind-tool #ll-mind-map #llmRight .llm-stackWrap {
  width: 100%;
  max-width: 280px;
}

.canonical-mind-tool #ll-mind-map .llm-node {
  border-color: rgba(37, 42, 37, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.canonical-mind-tool #ll-mind-map .llm-node:hover,
.canonical-mind-tool #ll-mind-map .llm-node.llm-pinned,
.canonical-mind-tool #ll-mind-map .llm-node.llm-expanded {
  border-color: var(--native-accent);
  box-shadow: 0 12px 28px rgba(37, 42, 37, 0.08);
}

.canonical-mind-tool #ll-mind-map .llm-node.llm-milestone {
  border-color: var(--native-ink);
  background: var(--native-ink);
  color: var(--native-paper);
}

.canonical-mind-tool #ll-mind-map .llm-aNode .llm-faceRest,
.canonical-mind-tool #ll-mind-map .llm-milestone .llm-faceRest {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 13px;
}

.canonical-mind-tool #ll-mind-map .llm-restTitle {
  margin: 0;
  color: var(--native-ink);
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.canonical-mind-tool #ll-mind-map .llm-node.llm-milestone .llm-restTitle {
  color: var(--native-paper);
}

.canonical-mind-tool #ll-mind-map .llm-node-icon {
  flex: 0 0 auto;
  color: rgba(37, 42, 37, 0.62);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-mind-tool #ll-mind-map .llm-node:hover .llm-node-icon,
.canonical-mind-tool #ll-mind-map .llm-node.llm-pinned .llm-node-icon {
  color: var(--native-accent);
}

.canonical-mind-tool #ll-mind-map .llm-node.llm-milestone .llm-node-icon {
  color: var(--native-paper);
}

.canonical-mind-tool #ll-mind-map .llm-node .llm-openLine,
.canonical-mind-tool #ll-mind-map .llm-node .llm-moreHint,
.canonical-mind-tool #ll-mind-map .llm-node .llm-moreText {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-mind-tool #ll-mind-map .llm-node.llm-milestone .llm-openLine,
.canonical-mind-tool #ll-mind-map .llm-node.llm-milestone .llm-moreHint,
.canonical-mind-tool #ll-mind-map .llm-node.llm-milestone .llm-moreText {
  color: var(--native-paper);
}

.canonical-mind-tool #ll-mind-map .llm-svg path {
  stroke: rgba(37, 42, 37, 0.28);
  stroke-width: 1.25;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio {
  margin: 0;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm {
  color: var(--native-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-card,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-shapingShell,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-rankingShell,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-responseShell {
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
  color: var(--native-ink);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-lectioBox {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio h2,
.canonical-mind-tool__reflection #ll-soul-hold-lectio h3 {
  color: var(--native-ink);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio p,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-miniPrompt,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortProgress,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortStatement p {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-lectioGrid {
  gap: 24px;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sorter {
  max-width: none;
  margin: 24px 0 0;
  gap: 16px;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortStatement {
  height: 140px;
  padding: 24px;
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-paper);
  color: var(--native-ink);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortStatement p {
  color: var(--native-ink);
  font-size: var(--portal-body-copy-size);
  font-weight: 400;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortChoice {
  height: 60px;
  border: 1px solid var(--native-line);
  border-radius: 12px;
  background: transparent;
  color: var(--native-ink);
  font-size: 15px;
  font-weight: 500;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortChoice:hover,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortChoice:focus-visible,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortChoice[aria-pressed="true"] {
  border-color: var(--native-accent);
  background: var(--native-accent-soft);
  color: var(--native-ink);
  transform: none;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-miniBox,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-sortChoice,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-rankSlot,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-rankZone {
  border-color: var(--native-line);
  border-radius: 12px;
  background: var(--native-paper);
  color: var(--native-ink);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-miniBox h3,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-zoneResponseTitle,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llr-zoneBracketText {
  color: var(--native-ink);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio textarea,
.canonical-mind-tool__reflection #ll-soul-hold-lectio input {
  color: var(--native-ink);
  border: 1px solid var(--native-line);
  border-radius: 12px;
  background: var(--native-paper);
  font: inherit;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio textarea:focus,
.canonical-mind-tool__reflection #ll-soul-hold-lectio input:focus {
  border-color: var(--native-accent);
  outline: 0;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio button {
  color: var(--native-ink);
  border-color: var(--native-line);
  background: transparent;
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio button:hover,
.canonical-mind-tool__reflection #ll-soul-hold-lectio button[aria-pressed="true"] {
  color: var(--native-ink);
  border-color: var(--native-accent);
  background: var(--native-accent-soft);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-actionIcon,
.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-resetIcon {
  color: var(--native-accent);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-actionMenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--native-line);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-actionIcon {
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 1px solid var(--native-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--native-accent);
}

.canonical-mind-tool__reflection #ll-soul-hold-lectio .llm-actionIcon:hover {
  background: var(--native-accent-soft);
  color: var(--native-ink);
}

@media (max-width: 760px) {
  .canonical-mind-tool {
    margin-top: 38px;
  }

  .canonical-mind-tool #ll-mind-map .llm-stageWrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Canonical Strength tool integration
   Keep the imported Strength map and reflection behavior intact while
   applying the same native course treatment used by the earlier stages. */
.canonical-strength-tool {
  width: 100%;
  margin-top: clamp(42px, 6vw, 68px);
  color: var(--native-ink);
}

.canonical-strength-tool .llm {
  color: var(--native-ink);
  font-family: inherit;
  line-height: 1.5;
}

.canonical-strength-tool__map .llm-card,
.canonical-strength-tool__reflection .llm-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.canonical-strength-tool__map .llm-mapToolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 8px;
}

.canonical-strength-tool__map .llm-expandAll {
  color: var(--native-accent);
}

.canonical-strength-tool__map .llm-stageWrap {
  padding: 0;
  min-height: 250px;
}

.canonical-strength-tool__map .llm-twoPaneGutter {
  min-height: 250px;
}

.canonical-strength-tool__map #llmLeft.llm-pane {
  align-items: center;
  justify-content: flex-start;
  padding-left: 0;
}

.canonical-strength-tool__map #llmRight.llm-pane {
  align-items: center;
  justify-content: flex-end;
  padding-right: 0;
}

.canonical-strength-tool__map .llm-stackWrap,
.canonical-strength-tool__map #llmLeft .llm-stackWrap,
.canonical-strength-tool__map #llmRight .llm-stackWrap {
  width: 100%;
  max-width: 340px;
  gap: 14px;
}

.canonical-strength-tool__map .llm-node {
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
  color: var(--native-ink);
  box-shadow: none;
}

.canonical-strength-tool__map .llm-node:hover,
.canonical-strength-tool__map .llm-node.llm-pinned,
.canonical-strength-tool__map .llm-node.llm-expanded {
  border-color: var(--native-accent);
  box-shadow: 0 12px 28px rgba(37, 42, 37, 0.1);
}

.canonical-strength-tool__map .llm-node.llm-milestone {
  border-color: var(--native-ink);
  background: var(--native-ink);
  color: var(--native-paper);
}

.canonical-strength-tool__map .llm-node.llm-aNode.llm-pinned,
.canonical-strength-tool__map .llm-node.llm-aNode.llm-expanded {
  border-color: var(--native-accent);
  background: var(--native-accent-soft) !important;
  color: var(--native-ink);
}

.canonical-strength-tool__map .llm-node.llm-aNode .llm-restTitle,
.canonical-strength-tool__map .llm-node.llm-milestone .llm-restTitle {
  font-size: 16px;
  font-weight: 500;
}

.canonical-strength-tool__map .llm-node-icon {
  flex: 0 0 auto;
  color: var(--native-accent);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-strength-tool__map .llm-node.llm-milestone .llm-node-icon {
  color: var(--native-paper);
}

.canonical-strength-tool__map .llm-node .llm-openLine,
.canonical-strength-tool__map .llm-node .llm-moreHint,
.canonical-strength-tool__map .llm-node .llm-moreText {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-strength-tool__map .llm-node.llm-milestone .llm-openLine,
.canonical-strength-tool__map .llm-node.llm-milestone .llm-moreHint,
.canonical-strength-tool__map .llm-node.llm-milestone .llm-moreText {
  color: var(--native-paper);
}

.canonical-strength-tool__map .llm-svg path {
  stroke: rgba(37, 42, 37, 0.28);
  stroke-width: 1.25;
}

.canonical-strength-tool__reflection {
  margin-top: clamp(52px, 7vw, 84px);
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectio {
  margin: 0;
  padding: 0;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioGrid {
  display: grid;
  gap: 24px;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflectionShell,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthSorting {
  padding: 26px;
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioLeft h2,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioPrintNote h2 {
  color: var(--native-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioLeft p,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioPrintNote p,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-miniPrompt,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-alternateOutput {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflections {
  gap: 14px;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflection {
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-paper);
  color: var(--native-ink);
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflectionTitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--native-ink);
  font-size: 15px;
  font-weight: 500;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflectionTitle .llm-node-icon {
  color: var(--native-accent);
  font-size: 18px;
  font-weight: 300;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflection textarea,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-assessCommitTA {
  min-height: 96px;
  color: var(--native-ink);
  border: 1px solid var(--native-line);
  border-radius: 12px;
  background: var(--native-paper);
  font: inherit;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflection textarea:focus,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-assessCommitTA:focus {
  border-color: var(--native-accent);
  outline: 0;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-alternateControls button,
.canonical-strength-tool__reflection #ll-strength-lectio [data-strength-sort],
.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioBtn,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-assessBtn,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-assessFresh {
  color: var(--native-accent);
  border-color: var(--native-line);
  background: transparent;
}

.canonical-strength-tool__reflection #ll-strength-lectio [data-strength-sort][aria-pressed="true"],
.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioBtn:hover,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-assessBtn:hover,
.canonical-strength-tool__reflection #ll-strength-lectio .llm-assessFresh:hover {
  color: var(--native-ink);
  border-color: var(--native-accent);
  background: var(--native-accent-soft);
  transform: none;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioPrintNote {
  padding: 0 2px;
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-lectioActions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--native-line);
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-actionIcon {
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 1px solid var(--native-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--native-accent);
}

.canonical-strength-tool__reflection #ll-strength-lectio .llm-actionIcon:hover {
  background: var(--native-accent-soft);
  color: var(--native-ink);
}

@media (max-width: 760px) {
  .canonical-strength-tool {
    margin-top: 38px;
  }

  .canonical-strength-tool__map .llm-stageWrap {
    min-height: 0;
  }

  .canonical-strength-tool__map .llm-twoPaneGutter {
    min-height: 0;
  }

  .canonical-strength-tool__map #llmLeft.llm-pane,
  .canonical-strength-tool__map #llmRight.llm-pane {
    padding-left: 0;
    padding-right: 0;
  }

  .canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthReflectionShell,
  .canonical-strength-tool__reflection #ll-strength-lectio .llm-strengthSorting {
    padding: 20px;
  }
}

/* Canonical Offering tool integration */
.canonical-offering-tool {
  width: 100%;
  margin-top: clamp(42px, 6vw, 68px);
  color: var(--native-ink);
}

.canonical-offering-tool .llm {
  color: var(--native-ink);
  font-family: inherit;
  line-height: 1.5;
}

.canonical-offering-tool__map .llm-card,
.canonical-offering-tool__reflection .llm-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.canonical-offering-tool__map .llm-mapToolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 8px;
}

.canonical-offering-tool__map .llm-expandAll { color: var(--native-accent); }

.canonical-offering-tool__map .llm-stageWrap {
  min-height: 250px;
  padding: 0;
}

.canonical-offering-tool__map .llm-twoPaneGutter { min-height: 250px; }

.canonical-offering-tool__map #llmLeft.llm-pane {
  align-items: center;
  justify-content: flex-start;
  padding-left: 0;
}

.canonical-offering-tool__map #llmRight.llm-pane {
  align-items: center;
  justify-content: flex-end;
  padding-right: 0;
}

.canonical-offering-tool__map .llm-stackWrap,
.canonical-offering-tool__map #llmLeft .llm-stackWrap,
.canonical-offering-tool__map #llmRight .llm-stackWrap {
  width: 100%;
  max-width: 340px;
  gap: 14px;
}

.canonical-offering-tool__map .llm-node {
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
  color: var(--native-ink);
  box-shadow: none;
}

.canonical-offering-tool__map .llm-node:hover,
.canonical-offering-tool__map .llm-node.llm-pinned,
.canonical-offering-tool__map .llm-node.llm-expanded {
  border-color: var(--native-accent);
  box-shadow: 0 12px 28px rgba(37, 42, 37, 0.1);
}

.canonical-offering-tool__map .llm-node.llm-milestone {
  border-color: var(--native-ink);
  background: var(--native-ink);
  color: var(--native-paper);
}

.canonical-offering-tool__map .llm-node.llm-aNode.llm-pinned,
.canonical-offering-tool__map .llm-node.llm-aNode.llm-expanded {
  border-color: var(--native-accent);
  background: var(--native-accent-soft) !important;
  color: var(--native-ink);
}

.canonical-offering-tool__map .llm-node.llm-aNode .llm-restTitle,
.canonical-offering-tool__map .llm-node.llm-milestone .llm-restTitle {
  font-size: 16px;
  font-weight: 500;
}

.canonical-offering-tool__map .llm-node-icon {
  flex: 0 0 auto;
  color: var(--native-accent);
  font-size: 18px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.canonical-offering-tool__map .llm-node.llm-milestone .llm-node-icon {
  color: var(--native-paper);
}

.canonical-offering-tool__map .llm-node .llm-openLine,
.canonical-offering-tool__map .llm-node .llm-moreHint,
.canonical-offering-tool__map .llm-node .llm-moreText {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-offering-tool__map .llm-node.llm-milestone .llm-openLine,
.canonical-offering-tool__map .llm-node.llm-milestone .llm-moreHint,
.canonical-offering-tool__map .llm-node.llm-milestone .llm-moreText {
  color: var(--native-paper);
}

.canonical-offering-tool__map .llm-svg path {
  stroke: rgba(37, 42, 37, 0.28);
  stroke-width: 1.25;
}

.canonical-offering-tool__reflection {
  margin-top: clamp(52px, 7vw, 84px);
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectio {
  margin: 0;
  padding: 0;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioGrid {
  display: grid;
  gap: 24px;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioLeft,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-respondFrame {
  padding: 26px;
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioRightTitle,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioLeft h2,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioPrintNote h2 {
  color: var(--native-ink);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioLeft p,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioRightDesc,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioPrintNote p,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-miniPrompt {
  color: var(--native-muted);
  font-weight: 300;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-respondFrame {
  gap: 20px;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioQRow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioQRow + .llm-lectioQRow {
  border-top: 1px solid var(--native-line) !important;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioQLabel {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--native-ink);
  font-size: 15px;
  font-weight: 500;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioQLabel .llm-node-icon {
  color: var(--native-accent);
  font-size: 18px;
  font-weight: 300;
}

.canonical-offering-tool__reflection #ll-offering-lectio textarea.llm-lectioTA,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioInlineBlank {
  color: var(--native-ink);
  border-color: var(--native-line);
  background: var(--native-paper);
}

.canonical-offering-tool__reflection #ll-offering-lectio textarea.llm-lectioTA {
  min-height: 112px;
  border-radius: 12px;
  font: inherit;
}

.canonical-offering-tool__reflection #ll-offering-lectio textarea.llm-lectioTA:focus,
.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioInlineBlank:focus {
  border-color: var(--native-accent);
  outline: 0;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-revealActions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioBtn {
  color: var(--native-accent);
  border: 1px solid var(--native-line);
  border-radius: 999px;
  background: transparent;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioBtn:hover {
  color: var(--native-ink);
  border-color: var(--native-accent);
  background: var(--native-accent-soft);
  box-shadow: none;
  transform: none;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-revealedMap {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--native-line);
  border-radius: 14px;
  background: var(--native-surface);
  color: var(--native-ink);
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioPrintNote {
  padding: 0 2px;
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-actionMenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--native-line);
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-actionIcon {
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 1px solid var(--native-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--native-accent);
}

.canonical-offering-tool__reflection #ll-offering-lectio .llm-actionIcon:hover {
  background: var(--native-accent-soft);
  color: var(--native-ink);
}

@media (max-width: 760px) {
  .canonical-offering-tool { margin-top: 38px; }

  .canonical-offering-tool__map .llm-stageWrap,
  .canonical-offering-tool__map .llm-twoPaneGutter { min-height: 0; }

  .canonical-offering-tool__map #llmLeft.llm-pane,
  .canonical-offering-tool__map #llmRight.llm-pane { padding-left: 0; padding-right: 0; }

  .canonical-offering-tool__reflection #ll-offering-lectio .llm-lectioLeft,
  .canonical-offering-tool__reflection #ll-offering-lectio .llm-respondFrame { padding: 20px; }
}

