.lh-form {
  display: grid;
  gap: 16px;
}

.lh-form label {
  display: grid;
  gap: 7px;
  color: var(--lh-muted);
  font-size: 0.95rem;
}

.lh-form input,
.lh-form select,
.lh-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--lh-text);
  background: var(--lh-bg);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  font: inherit;
}

.lh-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.lh-form input:focus,
.lh-form select:focus,
.lh-form textarea:focus,
.lh-btn:focus,
.lh-link-button:focus,
.lh-sidebar a:focus,
.lh-field-button:focus,
.lh-action-card:focus {
  outline: 2px solid var(--lh-gold);
  outline-offset: 3px;
}

.lh-check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}

.lh-check input {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  height: 20px;
  accent-color: var(--lh-gold);
}

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

.lh-remember {
  width: fit-content;
  display: inline-grid !important;
  grid-template-columns: 38px auto !important;
  align-items: center;
  gap: 10px !important;
  min-height: 36px;
  color: var(--lh-muted);
  cursor: pointer;
}

.lh-remember input,
.lh-form .lh-remember input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.lh-remember-control {
  position: relative;
  width: 38px;
  height: 22px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: 999px;
  transition: background var(--lh-fast), border-color var(--lh-fast), box-shadow var(--lh-fast);
}

.lh-remember-control::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--lh-muted);
  border-radius: 50%;
  content: "";
  transition: background var(--lh-fast), transform var(--lh-fast);
}

.lh-remember input:checked + .lh-remember-control {
  background: var(--lh-gold-soft);
  border-color: var(--lh-gold);
  box-shadow: 0 0 16px color-mix(in srgb, var(--lh-gold) 18%, transparent);
}

.lh-remember input:checked + .lh-remember-control::after {
  background: var(--lh-gold);
  transform: translateX(16px);
}

.lh-remember input:focus-visible + .lh-remember-control {
  outline: 2px solid var(--lh-gold);
  outline-offset: 3px;
}

.lh-action-row,
.lh-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--lh-radius);
  border: 1px solid var(--lh-border);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background var(--lh-fast), color var(--lh-fast), border-color var(--lh-fast);
}

.lh-btn-primary {
  color: var(--color-text-inverse);
  background: var(--lh-gold);
  border-color: var(--lh-gold);
}

.lh-btn-secondary {
  color: var(--lh-text);
  background: transparent;
}

.lh-btn-secondary:hover {
  background: var(--lh-gold-soft);
}

.lh-form-error {
  min-height: 1.2em;
  color: var(--color-danger);
}

.lh-form-error.is-success {
  color: #62c995;
  font-weight: 600;
}

html[data-theme="light"] .lh-form-error.is-success {
  color: #177245;
}

.lh-progress {
  height: 6px;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--color-overlay-soft);
  border-radius: 999px;
}

.lh-progress span {
  display: block;
  height: 100%;
  background: var(--lh-gold);
}

.lh-progress-step-1 span {
  width: 16.66%;
}

.lh-progress-step-2 span {
  width: 33.33%;
}

.lh-progress-step-3 span {
  width: 50%;
}

.lh-progress-step-4 span {
  width: 66.66%;
}

.lh-progress-step-5 span {
  width: 83.33%;
}

.lh-progress-step-6 span {
  width: 100%;
}

.lh-choice-grid,
.lh-plan-grid,
.lh-stat-grid {
  display: grid;
  gap: 12px;
}

.lh-choice-grid,
.lh-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lh-choice-card,
.lh-stat-grid article {
  padding: 14px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-choice-card {
  position: relative;
  min-height: 94px;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 14px !important;
  padding: 18px !important;
  color: var(--lh-text) !important;
  cursor: pointer;
  transition:
    background var(--lh-fast),
    border-color var(--lh-fast),
    box-shadow var(--lh-fast),
    transform var(--lh-fast);
}

.lh-choice-card:hover {
  border-color: color-mix(in srgb, var(--lh-gold) 48%, var(--lh-border));
  transform: translateY(-2px);
}

.lh-choice-card:has(input:checked) {
  background: color-mix(in srgb, var(--lh-gold) 8%, var(--lh-surface-2));
  border-color: color-mix(in srgb, var(--lh-gold) 68%, var(--lh-border));
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-choice-card input {
  position: absolute;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px !important;
  margin: 0;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.lh-choice-marker {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  background: var(--lh-bg);
  border: 1px solid color-mix(in srgb, var(--lh-muted) 70%, var(--lh-border));
  border-radius: 5px;
  transition: background var(--lh-fast), border-color var(--lh-fast), box-shadow var(--lh-fast);
}

.lh-choice-marker::after {
  width: 6px;
  height: 11px;
  border: solid var(--color-text-inverse);
  border-width: 0 2px 2px 0;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(45deg) scale(0.6);
  transition: opacity var(--lh-fast), transform var(--lh-fast);
}

.lh-choice-card input:checked + .lh-choice-marker {
  background: var(--lh-gold);
  border-color: var(--lh-gold);
  box-shadow: 0 0 18px color-mix(in srgb, var(--lh-gold) 24%, transparent);
}

.lh-choice-card input:checked + .lh-choice-marker::after {
  opacity: 1;
  transform: translateY(-1px) rotate(45deg) scale(1);
}

.lh-choice-card input:focus-visible + .lh-choice-marker {
  outline: 2px solid var(--lh-gold);
  outline-offset: 3px;
}

.lh-choice-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.lh-choice-copy strong {
  color: var(--lh-text);
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lh-choice-copy small {
  color: var(--lh-muted);
  font-size: 0.84rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.lh-intention-priority {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(240px, 1fr);
  align-items: center;
  gap: 8px 18px;
  padding: 18px;
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface-2));
  border: 1px solid color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  border-radius: var(--lh-radius);
}

.lh-intention-priority > span {
  color: var(--lh-text);
  font-weight: 700;
}

.lh-intention-priority select {
  width: 100%;
  min-width: 0;
}

.lh-intention-priority small {
  grid-column: 2;
  color: var(--lh-muted);
  line-height: 1.45;
}

.lh-intention-secondary {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lh-intention-secondary legend {
  padding: 0;
  color: var(--lh-text);
  font-weight: 700;
}

.lh-intention-secondary > p {
  margin: -4px 0 0;
  color: var(--lh-muted);
}

.lh-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.lh-stat-grid span {
  display: block;
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--lh-gold);
  font-size: 2rem;
}

.lh-birth-location-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
  gap: 16px;
}

.lh-location-status {
  position: relative;
  margin: -2px 0 0;
  padding-left: 22px;
  color: var(--lh-gold);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lh-location-status::before {
  position: absolute;
  left: 0;
  top: 0.08em;
  content: "⌖";
}

.lh-profile-reveal {
  position: relative;
  min-width: 0;
  min-height: min(760px, calc(100svh - 96px));
  display: grid;
  align-content: start;
  overflow: hidden;
}

.lh-profile-reveal-visual {
  --lh-reveal-visual-size: min(62vh, 44vw, 560px);
  --lh-reveal-visual-margin-top: clamp(24px, 5vh, 64px);
  --lh-reveal-visual-margin-bottom: clamp(76px, 14vh, 140px);
  width: var(--lh-reveal-visual-size);
  max-height: var(--lh-reveal-visual-size);
  min-width: 340px;
  margin: var(--lh-reveal-visual-margin-top) auto var(--lh-reveal-visual-margin-bottom);
  overflow: hidden;
  color: var(--lh-seal-color);
  opacity: 0;
  filter: drop-shadow(0 0 36px color-mix(in srgb, var(--lh-gold) 22%, transparent));
  animation: lh-profile-visual-arrive 4.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lh-profile-reveal-visual svg {
  width: 100%;
  display: block;
  transform: scale(0.94);
}

.lh-hermetic-seal-svg[data-variant="reveal"] .lh-hermetic-seal-outer {
  animation: lh-profile-geometry-draw 3.25s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.lh-hermetic-seal-svg[data-variant="reveal"] .lh-hermetic-seal-triangle {
  animation: lh-profile-geometry-draw 2.65s cubic-bezier(0.65, 0, 0.35, 1) 0.72s both !important;
}

.lh-hermetic-seal-svg[data-variant="reveal"] .lh-hermetic-seal-square {
  animation: lh-profile-geometry-draw 2.2s cubic-bezier(0.65, 0, 0.35, 1) 1.25s both !important;
}

.lh-hermetic-seal-svg[data-variant="reveal"] .lh-hermetic-seal-core {
  animation: lh-profile-geometry-draw 1.7s cubic-bezier(0.65, 0, 0.35, 1) 1.82s both !important;
}

.lh-profile-reveal-header {
  position: relative;
  z-index: 2;
  text-align: center;
}

.lh-profile-reveal-header .lh-kicker {
  opacity: 0;
  animation: lh-profile-soft-reveal 500ms ease 3.82s both;
}

.lh-profile-reveal .lh-written-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.22em;
  width: min(100%, 1280px);
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.lh-written-word {
  display: inline-flex;
  white-space: nowrap;
}

.lh-written-letter {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.18em) rotateX(58deg);
  transform-origin: center bottom;
  animation: lh-profile-letter-write 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(4.02s + var(--letter-index) * 36ms);
}

.lh-reveal-stat-grid {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 16px;
  margin: 32px auto 24px;
}

.lh-reveal-card {
  position: relative;
  min-width: 0;
  min-height: 176px;
  padding: 0;
  overflow: hidden;
  color: var(--lh-text);
  background: transparent;
  border: 0;
  border-radius: var(--lh-radius);
  cursor: pointer;
  opacity: 0;
  filter: blur(14px);
  transform: perspective(800px) translateY(42px) rotateX(18deg) scale(0.94);
  transform-origin: center bottom;
  appearance: none;
  animation: lh-profile-card-arrive 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(5.55s + var(--reveal-index) * 260ms);
}

.lh-reveal-card-inner {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lh-reveal-card.is-flipped .lh-reveal-card-inner {
  transform: rotateY(180deg);
}

.lh-reveal-card-face {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  text-align: center;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  box-shadow: 0 18px 50px color-mix(in srgb, #000 24%, transparent);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.lh-reveal-card:hover .lh-reveal-card-face,
.lh-reveal-card:focus-visible .lh-reveal-card-face {
  border-color: color-mix(in srgb, var(--lh-gold) 62%, var(--lh-border));
}

.lh-reveal-card:focus-visible {
  outline: 2px solid var(--lh-gold);
  outline-offset: 4px;
}

.lh-reveal-card-content {
  position: absolute;
  inset: 22px 28px;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.lh-reveal-card-label {
  display: block;
  color: var(--lh-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.lh-reveal-card-front .lh-reveal-card-content > strong {
  width: 100%;
  display: block;
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 3.65rem;
  font-weight: 600;
  line-height: 0.9;
}

.lh-reveal-card-back {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lh-gold) 9%, transparent), transparent 58%),
    var(--lh-surface-2);
  transform: rotateY(180deg);
}

.lh-reveal-card-back .lh-reveal-card-content > strong {
  width: 100%;
  display: block;
  max-width: 24ch;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.32;
}

.lh-reveal-card-hint {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--lh-gold);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.7;
}

.lh-reveal-card::after {
  position: absolute;
  z-index: 3;
  inset: -35% auto -35% -45%;
  width: 36%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--lh-gold) 34%, transparent), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-16deg);
  animation: lh-profile-card-gleam 900ms ease both;
  animation-delay: calc(6.05s + var(--reveal-index) * 260ms);
}

.lh-reveal-card.is-master-number .lh-reveal-card-face {
  border-color: color-mix(in srgb, var(--lh-gold) 72%, var(--lh-border));
  box-shadow:
    inset 0 0 28px color-mix(in srgb, var(--lh-gold) 9%, transparent),
    0 0 30px color-mix(in srgb, var(--lh-gold) 12%, transparent);
}

.lh-reveal-card.is-master-number .lh-reveal-card-front .lh-reveal-card-content > strong {
  color: color-mix(in srgb, var(--lh-gold) 84%, var(--lh-text));
  text-shadow:
    0 0 8px color-mix(in srgb, var(--lh-gold) 34%, transparent),
    0 0 18px color-mix(in srgb, var(--lh-gold) 20%, transparent);
  /* Keep the calculated value on the same compositing layer as the flip face.
     Animating filter/transform here clipped master numbers in some browsers. */
  animation: none;
  filter: none;
  transform: none;
}

.lh-reveal-card.is-master-number::before {
  position: absolute;
  top: 9px;
  right: 12px;
  z-index: 4;
  color: var(--lh-gold);
  content: "✦";
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  animation: lh-master-star 1.8s ease-in-out 6.5s infinite;
}

.lh-profile-reveal-copy,
.lh-consent-invitation,
.lh-profile-reveal-actions {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  animation: lh-profile-soft-reveal 620ms ease 6.78s both;
}

.lh-profile-reveal-copy {
  width: min(100%, 920px);
  margin: 0 auto 24px;
  padding-inline: 12px;
  text-align: center;
  line-height: 1.55;
}

.lh-consent-invitation {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 4px auto 24px;
  padding: 22px 24px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-left: 3px solid var(--lh-gold);
  border-radius: var(--lh-radius);
}

.lh-consent-invitation.lh-ai-consent-required {
  opacity: 1;
  transform: none;
  animation: none;
}

.lh-name-revelation-copy.is-consent-required {
  opacity: 1;
  transform: none;
  animation: none;
}

.lh-consent-invitation h2,
.lh-consent-invitation p {
  margin: 0 0 8px;
}

.lh-consent-invitation h2 {
  font-size: 1.35rem;
}

.lh-consent-invitation small,
.lh-consent-row small,
.lh-consent-footer small {
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-consent-toggle {
  width: 100%;
  min-width: 0;
  max-width: 320px;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  justify-self: end;
}

.lh-consent-toggle > span:last-child {
  min-width: 0;
  line-height: 1.35;
}

.lh-profile-reveal-actions {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.lh-profile-reveal-actions .lh-btn-primary {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.lh-consent-list {
  display: grid;
  border-top: 1px solid var(--lh-border);
}

.lh-consent-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 20px !important;
  align-items: center;
  min-height: 84px;
  padding: 16px 0;
  border-bottom: 1px solid var(--lh-border);
  cursor: pointer;
}

.lh-consent-row > span:first-child {
  display: grid;
  gap: 5px;
}

.lh-consent-row strong {
  color: var(--lh-text);
}

.lh-consent-row .lh-remember {
  grid-template-columns: 38px 1px !important;
  min-height: 44px;
}

.lh-consent-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

@keyframes lh-profile-visual-arrive {
  0% {
    max-height: var(--lh-reveal-visual-size);
    margin-top: var(--lh-reveal-visual-margin-top);
    margin-bottom: var(--lh-reveal-visual-margin-bottom);
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
    visibility: visible;
  }
  18%, 70% {
    max-height: var(--lh-reveal-visual-size);
    margin-top: var(--lh-reveal-visual-margin-top);
    margin-bottom: var(--lh-reveal-visual-margin-bottom);
    opacity: 0.92;
    transform: scale(1) rotate(0deg);
  }
  84% {
    max-height: var(--lh-reveal-visual-size);
    margin-top: var(--lh-reveal-visual-margin-top);
    margin-bottom: var(--lh-reveal-visual-margin-bottom);
    opacity: 0.5;
    transform: scale(1.04) rotate(1deg);
  }
  100% {
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: scale(1.06) rotate(1deg);
    visibility: hidden;
  }
}

@keyframes lh-profile-geometry-draw {
  0% { opacity: 0; stroke-dashoffset: 1; }
  35% { opacity: 0.82; }
  100% { opacity: 0.9; stroke-dashoffset: 0; }
}

@keyframes lh-profile-letter-write {
  to { opacity: 1; filter: blur(0); transform: translateY(0) rotateX(0); }
}

@keyframes lh-profile-card-arrive {
  to { opacity: 1; filter: blur(0); transform: perspective(800px) translateY(0) rotateX(0) scale(1); }
}

@keyframes lh-profile-card-gleam {
  0% { left: -45%; opacity: 0; }
  28% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

@keyframes lh-profile-soft-reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lh-master-star {
  0%, 100% { opacity: 0.2; transform: rotate(0deg) scale(0.7); }
  50% { opacity: 1; transform: rotate(90deg) scale(1.18); }
}

.lh-plan-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 18px;
  min-height: 520px;
  padding: 28px;
  overflow: visible;
}

.lh-plan-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.lh-plan-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.lh-plan-heading h1 {
  margin-bottom: 12px;
}

.lh-plan-card.is-recommended {
  border-color: color-mix(in srgb, var(--lh-gold) 76%, var(--lh-border));
  box-shadow:
    var(--lh-shadow),
    0 28px 80px color-mix(in srgb, var(--lh-gold) 10%, transparent);
}

.lh-plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  min-height: 26px;
  padding: 5px 13px;
  color: var(--color-text-inverse);
  background: var(--lh-gold);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-plan-card-head {
  display: grid;
  gap: 8px;
}

.lh-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 70px;
}

.lh-plan-price strong {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.95;
}

.lh-plan-price span {
  color: var(--lh-muted);
}

.lh-plan-note {
  color: var(--lh-muted);
  font-size: var(--lh-font-size-sm);
}

.lh-plan-features {
  display: grid;
  align-content: start;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lh-plan-features li {
  position: relative;
  padding-left: 28px;
  color: var(--lh-muted);
  line-height: 1.42;
}

.lh-plan-features li::before {
  position: absolute;
  left: 0;
  top: 0.12em;
  color: var(--lh-gold);
  content: "✓";
  font-weight: 700;
}

.lh-plan-card .lh-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  font-weight: 700;
}

.lh-payment-summary {
  margin: 18px 0;
  padding: 18px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-payment-summary h2 {
  margin: 0 0 8px;
}

.lh-premium-gate {
  position: relative;
  overflow: hidden;
}

.lh-premium-gate::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 14%, transparent), transparent 42%),
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--lh-gold) 20%, transparent), transparent 34%);
}

.lh-premium-gate > * {
  position: relative;
}

.lh-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.lh-premium-grid span {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--lh-muted);
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-premium-grid strong {
  color: var(--lh-text);
  font-size: var(--lh-font-size-sm);
}

.lh-premium-preview {
  margin: 18px 0;
  padding: 14px;
  background: var(--color-overlay-soft);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-ai-context-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.lh-ai-context-bar span {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--lh-muted);
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-ai-context-bar strong {
  color: var(--lh-text);
  font-size: var(--lh-font-size-sm);
}

.lh-timeline {
  display: grid;
  gap: 12px;
}

.lh-timeline-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-left: 3px solid var(--lh-gold);
  border-radius: var(--lh-radius);
}

.lh-timeline-item.is-filtered-out {
  display: none;
}

.lh-timeline-item > a {
  justify-self: start;
  color: var(--lh-gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.lh-history-panel {
  display: grid;
  gap: 22px;
}

.lh-history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lh-history-filters button,
.lh-journal-filters button {
  min-height: 40px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  color: var(--lh-muted);
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

.lh-history-filters button.is-active,
.lh-history-filters button:hover,
.lh-history-filters button:focus-visible {
  border-color: color-mix(in srgb, var(--lh-gold) 62%, var(--lh-border));
  color: var(--lh-text);
}

.lh-history-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--lh-border);
}

.lh-history-controls p {
  max-width: 66ch;
  margin: 0;
  color: var(--lh-muted);
}

.lh-timeline-item span {
  color: var(--lh-gold);
  font-size: var(--lh-font-size-sm);
  text-transform: uppercase;
}

.lh-timeline-item strong {
  color: var(--lh-text);
}

.lh-timeline-item small,
.lh-timeline-item p {
  margin: 0;
  color: var(--lh-muted);
}

.lh-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.lh-foundation-reading {
  display: grid;
  gap: 28px;
  margin: 34px 0;
  padding: 36px 0;
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
}

.lh-readings-page {
  display: grid;
  gap: 42px;
}

.lh-readings-intro {
  max-width: 760px;
}

.lh-readings-intro h2 {
  margin: 4px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.lh-readings-intro > p:last-child {
  max-width: 62ch;
  margin: 0;
  color: var(--lh-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.lh-readings-resume {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--lh-gold) 7%, transparent), transparent 72%);
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 40%, var(--lh-border));
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 24%, var(--lh-border));
}

.lh-readings-resume > div:first-child {
  padding-left: 24px;
}

.lh-readings-resume h3 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.lh-readings-resume > div:first-child > p:last-child {
  max-width: 40ch;
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.55;
}

.lh-readings-group {
  display: grid;
  gap: 18px;
}

.lh-readings-group > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lh-border);
}

.lh-readings-group > header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}

.lh-readings-group > header p {
  max-width: 48ch;
  margin: 0;
  color: var(--lh-muted);
  text-align: right;
}

.lh-reading-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lh-reading-card {
  position: relative;
  min-width: 0;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  color: var(--lh-text);
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-left: 3px solid color-mix(in srgb, var(--lh-gold) 42%, var(--lh-border));
  border-radius: var(--lh-radius);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.lh-reading-card:hover,
.lh-reading-card:focus-visible {
  background: color-mix(in srgb, var(--lh-gold) 5%, var(--lh-surface-2));
  border-color: color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  transform: translateY(-2px);
}

.lh-reading-card:focus-visible {
  outline: 2px solid var(--lh-gold);
  outline-offset: 3px;
}

.lh-reading-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--lh-muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.lh-reading-card > header > span {
  text-transform: uppercase;
}

.lh-reading-card > header > strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lh-text);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: right;
}

.lh-reading-card > header > strong::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--lh-gold);
  border-radius: 50%;
  content: '';
}

.lh-reading-card > div:not(.lh-reading-progress) {
  margin: 28px 0 22px;
}

.lh-reading-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.05;
}

.lh-reading-card p {
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.52;
}

.lh-reading-last-visit {
  display: block;
  margin-top: 14px;
  color: color-mix(in srgb, var(--lh-gold) 78%, var(--lh-muted));
  font-size: 0.76rem;
  font-weight: 700;
}

.lh-reading-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--lh-gold);
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 18%, var(--lh-border));
  font-size: 0.86rem;
  font-weight: 600;
}

.lh-reading-card footer b {
  font-size: 1.2rem;
  font-weight: 400;
}

.lh-reading-card-featured {
  min-height: 210px;
  margin-right: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lh-gold) 12%, transparent), transparent 58%),
    var(--lh-surface-2);
  border-color: color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
}

.lh-reading-card[data-reading-state="available"] > header > strong::before,
.lh-reading-card[data-reading-state="active"] > header > strong::before {
  background: #68b88d;
  box-shadow: 0 0 10px rgb(104 184 141 / 34%);
}

.lh-reading-card[data-reading-state="progress"] > header > strong::before {
  box-shadow: 0 0 12px color-mix(in srgb, var(--lh-gold) 58%, transparent);
  animation: lh-reading-status-pulse 1.8s ease-in-out infinite;
}

.lh-reading-card[data-reading-state="locked"] {
  background: color-mix(in srgb, var(--lh-surface-2) 74%, var(--lh-bg));
  border-left-color: var(--lh-border);
}

.lh-reading-card[data-reading-state="locked"] > header > strong::before {
  background: var(--lh-muted);
  box-shadow: none;
}

.lh-reading-card[data-reading-state="locked"] footer {
  color: var(--lh-muted);
}

.lh-reading-progress {
  height: 4px;
  margin: 0 0 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--lh-gold) 10%, var(--lh-bg));
  border-radius: 999px;
}

.lh-reading-progress span {
  width: var(--reading-progress);
  height: 100%;
  display: block;
  background: var(--lh-gold);
  box-shadow: 0 0 12px color-mix(in srgb, var(--lh-gold) 38%, transparent);
}

@keyframes lh-reading-status-pulse {
  50% { opacity: 0.42; }
}

.lh-journey-history {
  display: grid;
  gap: 20px;
  padding: 28px 0 4px;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 26%, var(--lh-border));
}

.lh-journey-history > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.lh-journey-history > header h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 500;
}

.lh-journey-history > header > p {
  max-width: 48ch;
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.55;
}

.lh-journey-history > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lh-journey-history article {
  min-width: 0;
  padding: 18px;
  background: color-mix(in srgb, var(--lh-surface-2) 90%, transparent);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
}

.lh-journey-history article span {
  color: var(--lh-gold);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-journey-history article h4 {
  margin: 9px 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.15;
}

.lh-journey-history article p {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}






.lh-foundation-reading > header {
  max-width: 920px;
}

.lh-foundation-reading > header h2,
.lh-foundation-loading h2,
.lh-foundation-pending h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
}

.lh-foundation-reading > header > p:not(.lh-kicker) {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.5;
}

.lh-foundation-reading > header small {
  color: var(--lh-muted);
}

.lh-ai-reading-status,
.lh-ai-reading-note {
  color: var(--lh-gold);
  font-size: var(--lh-font-size-sm);
}

.lh-ai-reading-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}

.lh-ai-reading-status::before {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: currentColor;
  border-radius: 50%;
  content: '';
  box-shadow: 0 0 12px currentColor;
}

.lh-ai-reading-note {
  margin-top: 10px;
}

.lh-foundation-forces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.lh-foundation-forces article {
  min-width: 0;
  min-height: 250px;
  height: auto;
  padding: 24px;
  overflow: visible;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-foundation-forces article > span {
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 2rem;
}

.lh-foundation-forces h3 {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.55vw, 1.7rem);
  line-height: 1.15;
}

.lh-foundation-forces p,
.lh-foundation-polarities p {
  color: var(--lh-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.lh-foundation-polarities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.lh-foundation-polarities article {
  min-width: 0;
  padding: 8px 0;
  overflow: visible;
}

.lh-foundation-reading blockquote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.25;
  text-align: center;
}

.lh-foundation-loading,
.lh-foundation-pending {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 28px 0;
  padding: 24px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-left: 3px solid var(--lh-gold);
  border-radius: var(--lh-radius);
}

.lh-foundation-loading > div {
  width: 88px;
  height: 88px;
  color: var(--lh-gold);
}

.lh-foundation-loading svg {
  width: 100%;
}

.lh-foundation-loading p,
.lh-foundation-pending p {
  margin-bottom: 0;
  color: var(--lh-muted);
}

.lh-foundation-pending {
  grid-template-columns: minmax(0, 1fr) auto;
}

.lh-mini-stats,
.lh-section-nav {
  display: grid;
  gap: 10px;
}

.lh-mini-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lh-mini-stats span,
.lh-action-card {
  padding: 12px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-expand-card {
  padding: 0;
  overflow: hidden;
}

.lh-expand-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.lh-expand-card summary::-webkit-details-marker {
  display: none;
}

.lh-expand-card summary span {
  display: grid;
  gap: 6px;
}

.lh-expand-card summary strong {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
}

.lh-expand-body {
  display: grid;
  gap: 18px;
  padding: 0 24px 24px;
}

.lh-expand-body > p {
  margin: 0;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1.2;
}

.lh-profile-summary-panel .lh-expand-body {
  gap: clamp(22px, 2.4vw, 34px);
}

.lh-profile-summary-panel .lh-expand-body > p {
  max-width: 78ch;
  color: var(--lh-muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  line-height: 1.65;
}

.lh-expand-copy {
  color: var(--lh-muted);
  line-height: 1.6;
}

.lh-name-page {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
}

.lh-name-page h2,
.lh-name-page h3,
.lh-name-page p,
.lh-name-page blockquote {
  margin: 0;
}

.lh-name-page h2,
.lh-name-page h3 {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
}

.lh-name-page h2 {
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.lh-name-page h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.5rem);
}

.lh-name-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  background:
    radial-gradient(circle at 77% 47%, color-mix(in srgb, var(--lh-gold) 12%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 7%, transparent), transparent 44%),
    var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  box-shadow: var(--lh-shadow);
}

.lh-name-hero::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(color-mix(in srgb, var(--lh-gold) 4%, transparent) 1px, transparent 1px);
  background-size: 100% 34px;
  opacity: 0.18;
  pointer-events: none;
  content: "";
}

.lh-name-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
}

.lh-name-hero-copy h2 {
  max-width: 720px;
  font-size: clamp(3rem, 5vw, 5.7rem);
  font-weight: 500;
}

.lh-name-opening {
  max-width: 760px;
  color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-muted));
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1.35;
}

.lh-name-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 18%, transparent);
}

.lh-name-signature span {
  min-width: 140px;
  display: grid;
  gap: 4px;
  padding: 14px 22px 14px 0;
}

.lh-name-signature span + span {
  padding-left: 22px;
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 18%, transparent);
}

.lh-name-signature small,
.lh-name-signature strong {
  display: block;
}

.lh-name-signature small {
  color: var(--lh-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.lh-name-signature strong {
  color: var(--lh-gold);
  font-weight: 600;
}

.lh-name-ai-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.lh-name-ai-row > span,
.lh-name-ai-status {
  color: var(--lh-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.lh-name-ai-status:empty {
  display: none;
}

.lh-name-ai-status.is-error {
  color: var(--lh-danger, #b4534b);
}

.lh-name-revelation-entry {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 18px;
  min-height: calc(100svh - 82px);
  padding: clamp(18px, 4vh, 42px) clamp(18px, 4vw, 52px);
  overflow: hidden;
}

.lh-name-revelation-seal {
  width: min(46svh, 500px, 86vw);
  aspect-ratio: 1;
}

.lh-name-revelation-shell {
  min-height: 100svh;
  background: var(--lh-bg);
}

.lh-name-revelation-shell > header {
  position: relative;
  z-index: 5;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid var(--lh-border);
}

.lh-name-revelation-shell-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lh-name-revelation-back {
  color: var(--lh-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.lh-name-revelation-back:hover {
  color: var(--lh-text);
}

.lh-name-revelation-shell > main {
  min-width: 0;
}

.lh-name-revelation-seal .lh-name-seal-svg {
  display: block;
}

.lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits {
  animation: lh-name-reveal-dance 7s ease-in-out infinite;
}

.lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits > circle,
.lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits > path {
  opacity: 0.92;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--lh-gold) 40%, transparent));
  animation-name: lh-name-seal-await-cycle;
  animation-duration: 6.4s;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.lh-name-revelation-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 760px);
  text-align: center;
  animation: lh-name-reveal-copy 0.9s ease 3.15s both;
}

.lh-name-revelation-copy h1,
.lh-name-revelation-copy h2,
.lh-name-revelation-copy p {
  margin: 0;
}

.lh-name-revelation-copy h1,
.lh-name-revelation-copy h2 {
  max-width: 22ch;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.05;
}

.lh-name-revelation-copy > p:not(.lh-kicker, .lh-name-ai-status) {
  max-width: 64ch;
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-name-revelation-cta {
  min-width: min(100%, 330px);
  margin-top: 6px;
}

.lh-name-revelation-entry.is-generating .lh-name-seal-svg {
  filter: drop-shadow(0 0 34px color-mix(in srgb, var(--lh-gold) 38%, transparent));
}

.lh-name-revelation-entry.is-generating .lh-name-seal-orbits > circle,
.lh-name-revelation-entry.is-generating .lh-name-seal-orbits > path {
  animation-duration: 4.8s;
}

.lh-name-revelation-entry.is-completing .lh-name-revelation-seal {
  animation: lh-name-revelation-complete 1.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lh-name-revelation-entry.is-completing .lh-name-seal-number,
.lh-name-revelation-entry.is-completing .lh-name-seal-core {
  animation: lh-name-revelation-number 1.2s ease both;
}

.lh-name-revelation-entry.is-completing .lh-name-revelation-copy {
  animation: lh-name-reveal-copy 480ms ease both;
}

@keyframes lh-name-revelation-complete {
  0% { opacity: 0.72; transform: scale(0.94); }
  55% { opacity: 1; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes lh-name-revelation-number {
  from { opacity: 0; transform: scale(0.62); transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-origin: center; }
}

.lh-name-composition-progress,
.lh-ai-composition-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: var(--lh-muted);
  font-size: 0.78rem;
}

.lh-name-generation-progress {
  width: min(100%, 720px);
  margin-top: 10px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--lh-surface-2) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 28%, var(--lh-border));
  border-radius: var(--lh-radius);
  text-align: left;
}

.lh-name-generation-progress[hidden] {
  display: none;
}

.lh-name-generation-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--lh-text);
  font-size: 0.88rem;
}

.lh-name-generation-progress-heading span {
  color: var(--lh-gold);
  font-variant-numeric: tabular-nums;
}

.lh-name-generation-progress progress {
  width: 100%;
  height: 6px;
  display: block;
  overflow: hidden;
  appearance: none;
  background: color-mix(in srgb, var(--lh-gold) 10%, var(--lh-surface));
  border: 0;
  border-radius: 999px;
}

.lh-name-generation-progress progress::-webkit-progress-bar {
  background: color-mix(in srgb, var(--lh-gold) 10%, var(--lh-surface));
}

.lh-name-generation-progress progress::-webkit-progress-value {
  background: var(--lh-gold);
  border-radius: 999px;
  box-shadow: 0 0 14px color-mix(in srgb, var(--lh-gold) 42%, transparent);
  transition: width 700ms ease;
}

.lh-name-generation-progress progress::-moz-progress-bar {
  background: var(--lh-gold);
  border-radius: 999px;
}

.lh-name-generation-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lh-name-generation-progress li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  color: var(--lh-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0.55;
  transition: color 300ms ease, opacity 300ms ease;
}

.lh-name-generation-progress li > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--lh-muted);
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  font-size: 0.68rem;
}

.lh-name-generation-progress li.is-current,
.lh-name-generation-progress li.is-complete {
  color: var(--lh-text);
  opacity: 1;
}

.lh-name-generation-progress li.is-current > span {
  color: var(--lh-bg);
  background: var(--lh-gold);
  border-color: var(--lh-gold);
  box-shadow: 0 0 12px color-mix(in srgb, var(--lh-gold) 40%, transparent);
}

.lh-name-generation-progress li.is-complete > span {
  color: var(--lh-gold);
  border-color: var(--lh-gold);
}

.lh-name-generation-progress small {
  display: block;
  margin-top: 14px;
  color: var(--lh-muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.lh-name-composition-progress span,
.lh-ai-composition-progress span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: lh-composition-step 4.8s ease-in-out infinite;
}

.lh-name-composition-progress span::before,
.lh-ai-composition-progress span::before {
  width: 6px;
  height: 6px;
  background: var(--lh-gold);
  border-radius: 50%;
  content: '';
  box-shadow: 0 0 10px color-mix(in srgb, var(--lh-gold) 60%, transparent);
}

.lh-name-composition-progress span:nth-child(2),
.lh-ai-composition-progress span:nth-child(2) { animation-delay: 1.6s; }

.lh-name-composition-progress span:nth-child(3),
.lh-ai-composition-progress span:nth-child(3) { animation-delay: 3.2s; }

@keyframes lh-composition-step {
  0%, 28%, 100% { color: var(--lh-muted); opacity: 0.52; }
  8%, 20% { color: var(--lh-text); opacity: 1; }
}

@keyframes lh-name-reveal-copy {
  from {
    opacity: 0;
    transform: translateY(12px);
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes lh-name-reveal-dance {
  0%, 100% { transform: rotate(-1.5deg) scale(0.985); }
  50% { transform: rotate(1.5deg) scale(1.015); }
}

@keyframes lh-name-seal-await-cycle {
  0% {
    opacity: 0.34;
    stroke-dasharray: 0.08 0.92;
    stroke-dashoffset: 0;
  }
  38%, 64% {
    opacity: 1;
    stroke-dasharray: 1 0;
    stroke-dashoffset: 0;
  }
  86%, 100% {
    opacity: 0.34;
    stroke-dasharray: 0.08 0.92;
    stroke-dashoffset: -1;
  }
}

.lh-name-seal {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  justify-self: center;
  aspect-ratio: 1;
}

.lh-name-seal-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--lh-gold) 20%, transparent));
}

.lh-name-seal-svg line,
.lh-name-seal-svg circle,
.lh-name-seal-svg path {
  fill: none;
  stroke: var(--lh-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lh-name-seal-radiance {
  opacity: 0.58;
  transform-origin: center;
  animation: lh-name-seal-turn 48s linear infinite;
}

.lh-name-seal-radiance line {
  stroke-width: 1.2;
}

.lh-name-seal-orbits {
  transform-origin: center;
  animation: lh-name-seal-breathe 9s ease-in-out infinite;
}

.lh-name-seal-orbits > circle:not(.lh-name-seal-node),
.lh-name-seal-orbits path {
  opacity: 0.72;
  stroke-width: 1.45;
  stroke-dasharray: 0 1;
  stroke-dashoffset: 0;
  animation: lh-name-seal-draw 3.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.lh-name-seal-orbits .lh-name-seal-hexagram {
  opacity: 0.84;
  stroke-width: 2.2;
  animation-duration: 3.2s;
}

.lh-name-seal-orbits .lh-name-seal-node-orbit {
  opacity: 0.68;
  stroke-width: 1.35;
}

.lh-name-seal-orbits > :nth-child(2) { animation-delay: 0.22s; }
.lh-name-seal-orbits > :nth-child(3) { animation-delay: 0.44s; }
.lh-name-seal-orbits > :nth-child(4) { animation-delay: 0.5s; }
.lh-name-seal-orbits > :nth-child(5) { animation-delay: 0.66s; }

@keyframes lh-name-seal-draw {
  to { stroke-dasharray: 1 0; }
}

.lh-name-seal-node {
  fill: var(--lh-seal-node-fill) !important;
  opacity: 0.9;
  stroke-width: 1.5;
  filter: url("#nameSealGlow");
}

.lh-name-seal-core {
  fill: color-mix(in srgb, var(--lh-gold) 5%, var(--lh-bg)) !important;
  stroke-width: 1.5;
  filter: url("#nameSealGlow");
}

.lh-name-seal-number {
  fill: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  paint-order: stroke fill;
  stroke: color-mix(in srgb, var(--lh-bg) 42%, transparent);
  stroke-width: 0.75px;
  text-shadow: 0 0 18px color-mix(in srgb, var(--lh-gold) 34%, transparent);
}

@keyframes lh-name-seal-turn {
  to { transform: rotate(360deg); }
}

@keyframes lh-name-seal-breathe {
  0%, 100% { opacity: 0.72; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1.015); }
}

.lh-firstname-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  border-left: 2px solid var(--lh-gold);
}

.lh-firstname-locked span {
  display: grid;
  gap: 8px;
}

.lh-firstname-locked h2,
.lh-firstname-locked p {
  margin: 0;
}

.lh-firstname-locked h2 {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.lh-firstname-locked span > p:last-child {
  max-width: 68ch;
  color: var(--lh-muted);
  line-height: 1.6;
}

.lh-foundation-locked {
  border-left-color: var(--lh-gold);
}

@media (prefers-reduced-motion: reduce) {
  .lh-name-revelation-copy,
  .lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits,
  .lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits > circle,
  .lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits > path {
    animation: none;
  }

  .lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits > circle,
  .lh-name-seal-svg.is-awaiting-revelation .lh-name-seal-orbits > path {
    stroke-dasharray: 1 0;
    opacity: 1;
  }

  .lh-name-revelation-entry.is-completing .lh-name-revelation-seal,
  .lh-name-revelation-entry.is-completing .lh-name-seal-number,
  .lh-name-revelation-entry.is-completing .lh-name-seal-core {
    animation: none;
  }

  .lh-name-constellation-total > strong > span {
    animation: none;
  }
}

.lh-name-primary-reading,
.lh-name-tension {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
}

.lh-name-primary-reading article,
.lh-name-tension article {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(26px, 4vw, 52px);
}

.lh-name-primary-reading article + article,
.lh-name-tension article + article {
  border-left: 1px solid var(--lh-border);
}

.lh-name-primary-reading article:first-child {
  background: linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 7%, transparent), transparent 64%);
}

.lh-name-primary-reading article > p:last-child,
.lh-name-tension article > p:last-child,
.lh-name-correspondences header > p:last-child,
.lh-name-correspondences article > p:last-of-type,
.lh-name-disclosure > div p,
.lh-name-layer p {
  color: color-mix(in srgb, var(--lh-text) 82%, var(--lh-muted));
  font-size: 1.02rem;
  line-height: 1.72;
}

.lh-name-primary-reading article > p:last-child,
.lh-name-tension article > p:last-child {
  max-width: 68ch;
}

.lh-numerology-reference {
  color: var(--lh-gold);
  font-weight: 650;
}

.lh-name-oracle-line {
  max-width: 1100px;
  padding: 8px 0 8px clamp(22px, 4vw, 52px);
  border-left: 1px solid var(--lh-gold);
}

.lh-name-oracle-line p {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 1.14;
}

.lh-name-tension article {
  background: color-mix(in srgb, var(--lh-surface) 84%, transparent);
}

.lh-name-correspondences {
  display: grid;
  gap: 28px;
}

.lh-name-correspondences > header {
  max-width: 920px;
  display: grid;
  gap: 12px;
}

.lh-name-correspondences > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--lh-border);
  border-left: 1px solid var(--lh-border);
}

.lh-name-correspondences article {
  position: relative;
  min-height: 290px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
  transition: background var(--lh-fast), box-shadow var(--lh-fast);
}

.lh-name-correspondences article:hover {
  background: color-mix(in srgb, var(--lh-gold) 5%, transparent);
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--lh-gold) 5%, transparent);
}

.lh-name-correspondences article > span {
  position: absolute;
  top: 18px;
  right: 22px;
  color: color-mix(in srgb, var(--lh-gold) 38%, transparent);
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.lh-name-correspondences article a {
  width: fit-content;
  margin-top: auto;
  color: var(--lh-gold);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 36%, transparent);
}

.lh-name-correspondence-tarot {
  min-height: 620px;
  padding: 0 !important;
  overflow: hidden;
}

.lh-name-arcane-flip-card {
  display: block;
  width: 100%;
  min-height: 620px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--lh-text);
  background: transparent;
  font: inherit;
  text-align: left;
  perspective: 1200px;
  cursor: pointer;
}

.lh-name-arcane-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  min-height: 620px;
  height: 100%;
  transition: transform 560ms cubic-bezier(.2,.75,.25,1);
  transform-style: preserve-3d;
}

.lh-name-arcane-flip-card.is-flipped .lh-name-arcane-flip-inner {
  transform: rotateY(180deg);
}

.lh-name-arcane-flip-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--lh-surface-2) 94%, #000);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.lh-name-arcane-flip-face.is-front {
  position: absolute;
  justify-items: center;
  align-content: center;
  place-content: center;
  gap: 18px;
  text-align: center;
  background: #080705;
  padding: clamp(28px, 3vw, 46px);
}

html[data-theme="light"] .lh-name-arcane-flip-face.is-front {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(23, 21, 17, 0.06), 0 18px 42px rgba(35, 30, 21, 0.10);
}

.lh-name-arcane-flip-face.is-front img,
.lh-name-arcane-flip-face .lh-kabbalah-arcane-symbol {
  width: auto;
  max-width: min(100%, 520px);
  height: auto;
  max-height: min(520px, calc(100% - 48px));
}

.lh-name-arcane-flip-face.is-front img {
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lh-name-arcane-flip-face.is-front small {
  position: static;
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  color: color-mix(in srgb, var(--lh-text) 78%, var(--lh-muted));
  background: color-mix(in srgb, #080705 82%, transparent);
  font-size: 0.78rem;
}

html[data-theme="light"] .lh-name-arcane-flip-face.is-front small {
  color: color-mix(in srgb, var(--lh-text) 74%, var(--lh-muted));
  background: color-mix(in srgb, #fff 82%, transparent);
}

.lh-name-arcane-flip-face.is-back {
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
  transform: rotateY(180deg);
  overflow-y: auto;
  line-height: 1.62;
}

.lh-name-arcane-flip-face.is-back h3,
.lh-name-arcane-flip-face.is-back p {
  margin: 0;
}

.lh-name-arcane-flip-face.is-back p:not(.lh-kicker) {
  color: color-mix(in srgb, var(--lh-text) 90%, #fff 6%);
}

.lh-name-arcane-flip-face.is-back blockquote {
  margin: 4px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  line-height: 1.45;
}

.lh-name-arcane-context {
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 28%, transparent);
  font-size: 0.9rem;
}

.lh-name-foundations {
  display: grid;
  border-top: 1px solid var(--lh-border);
}

.lh-name-foundations > header {
  display: grid;
  gap: 8px;
  padding: 30px 0;
}

.lh-name-disclosure {
  border-top: 1px solid var(--lh-border);
}

.lh-name-disclosure:last-child {
  border-bottom: 1px solid var(--lh-border);
}

.lh-name-disclosure > summary {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 24px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
}

.lh-name-disclosure > summary::-webkit-details-marker {
  display: none;
}

.lh-name-disclosure > summary span {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.lh-name-disclosure > summary small {
  color: var(--lh-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.lh-name-disclosure > summary::after {
  position: absolute;
  right: 2px;
  color: var(--lh-gold);
  font-size: 1.3rem;
  content: "+";
}

.lh-name-disclosure[open] > summary::after {
  content: "−";
}

.lh-name-disclosure > summary {
  position: relative;
  padding-right: 34px;
}

.lh-name-disclosure > div:not(.lh-name-layer-tabs) {
  max-width: 1280px;
  display: grid;
  gap: 18px;
  padding: 4px 34px 34px 0;
  overflow: visible;
}

.lh-name-source-note {
  max-width: 92ch;
  margin: 4px 0 0;
  padding-left: 16px;
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 44%, transparent);
  color: var(--lh-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.lh-name-dossier {
  display: grid;
  gap: 22px;
}

.lh-name-dossier-summary {
  max-width: 86ch;
  color: var(--lh-text) !important;
  font-size: clamp(1.05rem, 1.18vw, 1.25rem) !important;
  line-height: 1.65 !important;
}

.lh-name-dossier > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
  align-items: start;
}

.lh-name-etymology-key {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 10%, var(--lh-surface)), var(--lh-surface) 58%);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 42%, var(--lh-border));
  border-radius: var(--lh-radius);
  box-shadow: inset 0 0 42px color-mix(in srgb, var(--lh-gold) 5%, transparent);
}

.lh-name-etymology-key > header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lh-name-source-script {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.lh-name-etymology-key > header > span:last-child {
  display: grid;
  gap: 3px;
}

.lh-name-etymology-key small {
  color: var(--lh-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-name-etymology-key strong {
  color: var(--lh-gold);
}

.lh-name-root-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.lh-name-root-list > span {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 14px;
  text-align: center;
  background: color-mix(in srgb, var(--lh-bg) 66%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 50%, transparent);
}

.lh-name-root-list b {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.lh-name-etymology-key > p {
  max-width: 82ch;
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.lh-name-variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  margin-top: 8px;
  overflow: visible;
}

.lh-name-variant-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: var(--lh-text);
  background: color-mix(in srgb, var(--lh-gold) 9%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 48%, transparent);
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.lh-name-dossier article {
  min-height: 160px;
  height: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  background: color-mix(in srgb, var(--lh-surface-2) 72%, transparent);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  overflow: visible;
}

.lh-name-dossier h4 {
  margin: 0;
  color: var(--lh-gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-name-dossier article p {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.lh-name-explorer,
.lh-name-slides {
  display: grid;
  gap: 24px;
}

.lh-name-switcher {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: stretch;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
}

.lh-name-switcher > div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lh-name-switcher > div::-webkit-scrollbar {
  display: none;
}

.lh-name-switcher button {
  min-height: 48px;
  padding: 8px 16px;
  color: var(--lh-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.lh-name-switcher > div button {
  min-width: 150px;
  display: grid;
  gap: 2px;
  text-align: left;
  border-bottom: 1px solid transparent;
}

.lh-name-switcher button span {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.lh-name-switcher button small {
  font-size: 0.68rem;
  text-transform: uppercase;
}

.lh-name-switcher button:hover,
.lh-name-switcher button:focus-visible,
.lh-name-switcher button.is-active {
  color: var(--lh-text);
  border-bottom-color: var(--lh-gold);
}

.lh-name-switcher-step {
  color: var(--lh-gold) !important;
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
}

.lh-name-slide {
  display: none;
  gap: clamp(34px, 5vw, 72px);
}

.lh-name-slide.is-active {
  display: grid;
  animation: lh-name-slide-in 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lh-name-slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.lh-name-constellation-reading {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(540px, 1.28fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--lh-gold) 10%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 9%, var(--lh-surface)), var(--lh-surface) 58%);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 36%, var(--lh-border));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--lh-gold) 18%, transparent), var(--lh-shadow);
}

.lh-name-constellation-reading > header {
  display: grid;
  align-content: center;
  gap: 14px;
}

.lh-name-constellation-reading > header h2 {
  max-width: 15ch;
}

.lh-name-constellation-reading > header .lh-kicker,
.lh-name-constellation-grid .lh-kicker {
  color: var(--lh-gold);
}

.lh-constellation-term {
  color: var(--lh-gold);
  font-weight: 700;
}

.lh-name-constellation-reading > header > p:last-child,
.lh-name-constellation-grid p {
  color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-muted));
  font-size: 1.02rem;
  line-height: 1.72;
}

.lh-name-constellation-score {
  min-width: 0;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(146px, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  background: color-mix(in srgb, var(--lh-surface-2) 72%, var(--lh-surface));
  border: 1px solid color-mix(in srgb, var(--lh-gold) 34%, var(--lh-border));
  border-radius: 24px;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--lh-text) 10%, transparent);
}

.lh-name-constellation-total {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 14px;
  overflow: hidden;
  color: #fffaf0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--lh-gold) 42%, transparent), transparent 32%),
    linear-gradient(155deg, #26323b, #0b1015);
}

.lh-name-constellation-total > span,
.lh-name-constellation-total > small {
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lh-name-constellation-total > span {
  color: #e7be63;
  font-size: 0.68rem;
  line-height: 1.55;
  letter-spacing: 0.14em;
  text-shadow: 0 0 14px color-mix(in srgb, var(--lh-gold) 26%, transparent);
}

.lh-name-constellation-total > small {
  color: rgba(255, 250, 240, 0.66);
}

.lh-name-constellation-total > strong {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  font-family: var(--font-body);
  font-size: clamp(4rem, 6vw, 5rem);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 58%, transparent);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--lh-gold) 38%, transparent));
}

.lh-name-constellation-total > strong::before {
  position: absolute;
  z-index: -1;
  width: 162px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 34px color-mix(in srgb, var(--lh-gold) 8%, transparent);
  content: "";
}

.lh-name-constellation-total > strong > span {
  color: #e8bd5b;
  line-height: 1;
  transform: translateY(-0.04em);
  animation: lh-constellation-gold-shine 4.2s ease-in-out infinite;
}

@keyframes lh-constellation-gold-shine {
  0%, 18%, 100% { color: #d8a846; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--lh-gold) 24%, transparent)); }
  48%, 62% { color: #fff0a8; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--lh-gold) 62%, transparent)); }
}

.lh-name-constellation-list {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: 14px clamp(14px, 2vw, 24px);
}

.lh-name-constellation-list > button {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  padding: 13px 4px;
  color: var(--lh-text);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 26%, var(--lh-border));
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.lh-name-constellation-list > button:last-child {
  border-bottom: 0;
}

.lh-name-constellation-list > button:hover {
  color: var(--lh-gold);
  transform: translateX(4px);
}

.lh-name-constellation-list > button:focus-visible {
  outline: 2px solid var(--lh-gold);
  outline-offset: 3px;
  border-radius: 12px;
}

.lh-name-constellation-index {
  color: var(--lh-muted);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.lh-name-constellation-identity {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.lh-name-constellation-identity > strong {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.lh-name-constellation-identity > small {
  overflow: hidden;
  color: var(--lh-muted);
  font-size: 0.63rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lh-name-constellation-vibration {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 58%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-name-constellation-vibration > strong {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding-bottom: 0.09em;
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.lh-name-constellation-arrow {
  color: var(--lh-gold);
  font-size: 0.95rem;
  transition: transform 180ms ease;
}

.lh-name-constellation-list > button:hover .lh-name-constellation-arrow {
  transform: translate(2px, -2px);
}

.lh-name-constellation-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--lh-border);
}

.lh-name-repeated-vibrations {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 32px);
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface));
  border: 1px solid color-mix(in srgb, var(--lh-gold) 38%, var(--lh-border));
}

.lh-name-repeated-vibrations article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.lh-name-repeated-vibrations h3,
.lh-name-repeated-vibrations p {
  margin: 0;
}

.lh-name-repeated-vibrations article > div {
  display: grid;
  gap: 7px;
}

.lh-name-repeated-vibrations article > div > p:last-child {
  color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted));
  line-height: 1.65;
}

.lh-name-repeated-number {
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  border: 1px solid var(--lh-gold);
  border-radius: 50%;
  box-shadow: 0 0 24px color-mix(in srgb, var(--lh-gold) 16%, transparent);
}

.lh-name-repeated-number strong {
  display: block;
  font: inherit;
  font-weight: 400;
  line-height: 0.9;
  transform: translateY(-0.03em);
}

.lh-name-repeated-number small {
  position: absolute;
  right: -8px;
  top: -7px;
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--lh-bg);
  background: var(--lh-gold);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 800;
}

.lh-name-repeated-note {
  padding-top: 12px;
  color: var(--lh-muted);
  border-top: 1px solid var(--lh-border);
  font-size: 0.78rem;
}

.lh-name-constellation-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  background: color-mix(in srgb, var(--lh-bg) 28%, transparent);
}

.lh-name-constellation-grid article::before {
  position: absolute;
  top: 0;
  left: 26px;
  width: 48px;
  height: 2px;
  background: var(--lh-gold);
  content: "";
}

.lh-name-constellation-grid article.is-tension::before {
  background: color-mix(in srgb, var(--lh-bordeaux) 70%, var(--lh-gold));
}

.lh-name-constellation-grid article.is-integration::before {
  width: 76px;
}

.lh-name-constellation-grid article + article {
  border-left: 1px solid var(--lh-border);
}

.lh-name-constellation-reading > blockquote {
  grid-column: 1 / -1;
  padding-left: 24px;
  border-left: 1px solid var(--lh-gold);
}

.lh-name-constellation-reading > blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  line-height: 1.22;
}

@keyframes lh-constellation-map-arrive {
  from { opacity: 0; transform: scale(0.9) rotate(-2deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes lh-constellation-name-arrive {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(360deg / var(--name-count) * var(--name-index))) translateY(-82px) rotate(calc(-360deg / var(--name-count) * var(--name-index))) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(calc(360deg / var(--name-count) * var(--name-index))) translateY(-125px) rotate(calc(-360deg / var(--name-count) * var(--name-index))) scale(1);
  }
}

@keyframes lh-constellation-core-arrive {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes lh-constellation-orbit-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1.015); }
}

.lh-cycle-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.lh-cycle-detail {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 16px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-cycle-detail span,
.lh-cycle-detail small {
  color: var(--lh-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lh-cycle-detail strong {
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.95;
}

.lh-cycle-detail h4,
.lh-cycle-detail p {
  margin: 0;
}

.lh-cycle-detail h4 {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.lh-cycle-detail p {
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-energy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.lh-energy-card {
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 6%, transparent), transparent 42%),
    var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  transition:
    border-color var(--lh-fast),
    box-shadow var(--lh-fast),
    transform var(--lh-fast),
    background var(--lh-fast);
}

.lh-energy-card:hover,
.lh-energy-card:focus-within,
.lh-energy-card[open] {
  border-color: color-mix(in srgb, var(--lh-gold) 56%, var(--lh-border));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--lh-gold) 18%, transparent),
    0 18px 44px color-mix(in srgb, var(--lh-gold) 16%, transparent);
}

.lh-energy-card:hover {
  transform: translateY(-2px);
}

.lh-energy-card[open] {
  grid-column: 1 / -1;
}

.lh-energy-card summary {
  display: grid;
  grid-template-columns: minmax(92px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 18px;
  cursor: pointer;
  list-style: none;
}

.lh-energy-card summary::-webkit-details-marker {
  display: none;
}

.lh-energy-card .lh-energy-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45em;
  min-height: 1.18em;
  align-self: center;
  justify-self: center;
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 7vw, 7.8rem);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 0 24px color-mix(in srgb, var(--lh-gold) 22%, transparent);
  transform: none;
}

.lh-energy-card[open] summary {
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
}

.lh-energy-copy {
  display: grid;
  gap: 9px;
}

.lh-energy-copy small {
  color: color-mix(in srgb, var(--lh-text) 70%, var(--lh-gold));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-energy-copy h3,
.lh-energy-copy p,
.lh-energy-expanded p {
  margin: 0;
}

.lh-energy-copy h3 {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.lh-energy-copy p {
  color: color-mix(in srgb, var(--lh-text) 78%, var(--lh-muted));
  line-height: 1.58;
}

.lh-energy-expanded {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 2px 24px 24px;
  color: color-mix(in srgb, var(--lh-text) 72%, var(--lh-muted));
  line-height: 1.6;
  cursor: pointer;
}

.lh-energy-expanded p,
.lh-energy-expanded dl,
.lh-energy-expanded dd {
  margin: 0;
}

.lh-energy-expanded .lh-energy-scope {
  color: var(--lh-text);
  font-weight: 700;
}

.lh-energy-reading-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 28%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 22%, transparent);
}

.lh-energy-reading-map article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 176px;
  padding: 20px clamp(16px, 2vw, 28px);
}

.lh-energy-reading-map article + article {
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 24%, transparent);
}

.lh-energy-reading-map small,
.lh-profile-reading-map small {
  color: var(--lh-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-energy-reading-map h4,
.lh-profile-reading-map h4 {
  margin: 0;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  font-weight: 500;
  line-height: 1.12;
}

.lh-energy-reading-map p,
.lh-profile-reading-map p {
  margin: 0;
  color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-muted));
}

.lh-energy-reading-map .is-practice {
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-energy-horizon {
  max-width: 80ch;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.lh-energy-rhythm {
  max-width: 86ch;
}

.lh-energy-question {
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding: 16px 20px;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.35;
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
  border-left: 2px solid var(--lh-gold);
}

.lh-energy-question small {
  color: var(--lh-gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-firstname-energy-bridge {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, 0.16fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 8%, transparent), transparent 46%),
    var(--lh-surface);
}

.lh-firstname-energy-bridge::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lh-gold), transparent);
  opacity: 0.46;
}

.lh-firstname-energy-mark {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 180px;
  border-right: 1px solid color-mix(in srgb, var(--lh-gold) 34%, transparent);
}

.lh-firstname-energy-mark small {
  color: var(--lh-gold);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-firstname-energy-mark strong {
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: clamp(5rem, 8vw, 8.5rem);
  font-weight: 500;
  line-height: 0.95;
  text-shadow: 0 0 26px color-mix(in srgb, var(--lh-gold) 24%, transparent);
}

.lh-firstname-energy-content {
  display: grid;
  gap: 24px;
}

.lh-firstname-energy-content header {
  display: grid;
  gap: 8px;
}

.lh-firstname-energy-content h2,
.lh-firstname-energy-content h3,
.lh-firstname-energy-content p {
  margin: 0;
}

.lh-firstname-energy-content h2 {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.lh-firstname-energy-content h2 span {
  color: var(--lh-gold);
}

.lh-firstname-energy-readings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
}

.lh-firstname-energy-readings section {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 24px 4px 0;
}

.lh-firstname-energy-readings section + section {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
}

.lh-firstname-energy-readings h3 {
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-firstname-energy-readings p {
  color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted));
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.48;
}

.lh-firstname-energy-content > a {
  width: fit-content;
  color: var(--lh-gold);
  font-size: 0.86rem;
  text-decoration-color: color-mix(in srgb, var(--lh-gold) 50%, transparent);
  text-underline-offset: 4px;
}

.lh-daily-oracle {
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: var(--lh-surface);
}

.lh-daily-oracle-card {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 20px;
  justify-items: center;
  margin: 0;
  padding: 30px 26px 24px;
  background: color-mix(in srgb, var(--lh-bg) 78%, var(--lh-surface-2));
  border-right: 1px solid var(--lh-border);
}

.lh-daily-oracle-card img {
  width: min(100%, 205px);
  max-height: 420px;
  object-fit: contain;
  align-self: center;
  filter: drop-shadow(0 18px 28px color-mix(in srgb, var(--lh-bg) 72%, transparent));
}

.lh-daily-oracle-card figcaption {
  display: grid;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.lh-daily-oracle-card figcaption span {
  color: var(--lh-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-daily-oracle-card figcaption strong {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.lh-daily-oracle-content {
  display: grid;
  gap: 24px;
  align-content: center;
  padding: 38px 42px;
}

.lh-daily-oracle-content header {
  display: grid;
  gap: 7px;
}

.lh-daily-oracle-content h2,
.lh-daily-oracle-content h3,
.lh-daily-oracle-content p,
.lh-daily-oracle-content blockquote {
  margin: 0;
}

.lh-daily-oracle-content h2 {
  max-width: 22ch;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.06;
}

.lh-daily-oracle-content h2 span {
  color: var(--lh-gold);
}

.lh-monthly-oracle-seal {
  width: 100%;
  max-width: none;
  margin: 2px 0 0 !important;
  padding: 14px 16px;
  color: var(--lh-text);
  background: color-mix(in srgb, var(--lh-gold) 11%, var(--lh-surface));
  border-left: 2px solid var(--lh-gold);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.5;
  text-align: left;
}

.lh-daily-oracle-readings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
}

.lh-daily-oracle-readings section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 26px 4px 0;
}

.lh-daily-oracle-readings section + section {
  padding-right: 0;
  padding-left: 26px;
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
}

.lh-daily-oracle-readings h3 {
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-daily-oracle-readings p {
  color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted));
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.52;
}

.lh-monthly-oracle-opening {
  max-width: 72ch;
  color: color-mix(in srgb, var(--lh-text) 94%, var(--lh-gold));
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.55;
}

.lh-monthly-oracle-challenges {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.lh-monthly-oracle-challenges > header h3 {
  margin: 0;
  color: var(--lh-gold);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lh-monthly-oracle-challenges > header p {
  max-width: 70ch;
  margin: 5px 0 0;
  color: color-mix(in srgb, var(--lh-text) 72%, var(--lh-muted));
  font-size: 0.82rem;
}

.lh-monthly-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 20%, transparent);
}

.lh-monthly-oracle-challenges article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px 20px 0;
}

.lh-monthly-oracle-challenges article + article {
  padding-left: 20px;
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 22%, transparent);
}

.lh-monthly-oracle-challenges article > span {
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.lh-monthly-oracle-challenges article > small {
  color: color-mix(in srgb, var(--lh-text) 62%, var(--lh-gold));
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-monthly-oracle-challenges h4 {
  margin: 0;
  color: var(--lh-text);
  font-size: 1rem;
}

.lh-monthly-oracle-challenges p {
  color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-muted));
  font-size: 0.9rem;
  line-height: 1.55;
}

.lh-daily-oracle-dimensions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.lh-daily-oracle-dimensions span {
  padding: 5px 8px;
  color: color-mix(in srgb, var(--lh-text) 76%, var(--lh-gold));
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 24%, var(--lh-border));
  font-size: 0.7rem;
}

.lh-daily-oracle-content > a {
  width: fit-content;
  color: var(--lh-gold);
  font-size: 0.86rem;
  text-underline-offset: 4px;
}

.lh-daily-oracle-pending {
  display: grid;
  gap: 18px;
  max-width: 680px;
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-daily-oracle-pending .lh-btn {
  justify-self: start;
}

.lh-almanac-essential {
  display: grid;
  gap: 8px;
  max-width: 720px;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--lh-gold) 8%, transparent);
  border-left: 2px solid var(--lh-gold);
}

.lh-almanac-essential small,
.lh-almanac-depth summary small,
.lh-almanac-depth-body section > small {
  color: var(--lh-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lh-almanac-essential blockquote,
.lh-almanac-depth blockquote {
  margin: 0;
  color: var(--lh-text);
  font-family: var(--font-display);
  line-height: 1.5;
}

.lh-almanac-depth {
  max-width: 820px;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 34%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 20%, transparent);
}

.lh-almanac-depth > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 2px;
  color: var(--lh-text);
  cursor: pointer;
  list-style: none;
}

.lh-almanac-depth > summary::-webkit-details-marker {
  display: none;
}

.lh-almanac-depth > summary span::after {
  content: ' +';
  color: var(--lh-gold);
}

.lh-almanac-depth[open] > summary span::after {
  content: ' −';
}

.lh-almanac-depth-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 8px 0 20px;
}

.lh-almanac-depth-body section {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 22px 16px 0;
}

.lh-almanac-depth-body section:nth-of-type(even) {
  padding-right: 0;
  padding-left: 22px;
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 24%, transparent);
}

.lh-almanac-depth-body section.is-wide,
.lh-almanac-depth-body section.is-practice,
.lh-almanac-depth-body .lh-almanac-seal {
  grid-column: 1 / -1;
}

.lh-almanac-depth-body section.is-wide,
.lh-almanac-depth-body section.is-practice {
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 24%, transparent);
  border-left: 0;
}

.lh-almanac-depth-body section h3 {
  margin: 0;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.lh-almanac-depth-body section p {
  margin: 0;
  color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted));
  line-height: 1.65;
}

.lh-almanac-depth-body section.is-practice blockquote {
  padding: 14px 16px;
  background: color-mix(in srgb, var(--lh-gold) 8%, transparent);
  border-left: 2px solid var(--lh-gold);
}

.lh-almanac-seal {
  padding: 16px 18px;
  background: color-mix(in srgb, var(--lh-gold) 10%, transparent);
  border-left: 2px solid var(--lh-gold);
}

.lh-profile-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.lh-profile-number-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.lh-profile-number-card {
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 5%, transparent), transparent 44%),
    var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  transition:
    border-color var(--lh-fast),
    box-shadow var(--lh-fast),
    transform var(--lh-fast);
}

.lh-profile-number-card:hover,
.lh-profile-number-card:focus-within,
.lh-profile-number-card[open] {
  border-color: color-mix(in srgb, var(--lh-gold) 56%, var(--lh-border));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--lh-gold) 18%, transparent),
    0 18px 44px color-mix(in srgb, var(--lh-gold) 16%, transparent);
}

.lh-profile-number-card:hover {
  transform: translateY(-2px);
}

.lh-profile-number-card[open] {
  grid-column: 1 / -1;
}

.lh-profile-number-card summary {
  display: grid;
  grid-template-columns: minmax(86px, 0.22fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.lh-profile-number-card summary::-webkit-details-marker {
  display: none;
}

.lh-profile-number-card summary > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45em;
  min-height: 1.18em;
  justify-self: center;
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 6.2vw, 7rem);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 0 24px color-mix(in srgb, var(--lh-gold) 20%, transparent);
  transform: none;
}

.lh-profile-number-card summary span {
  display: grid;
  gap: 9px;
}

.lh-profile-number-card small {
  color: color-mix(in srgb, var(--lh-text) 70%, var(--lh-gold));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-profile-number-card h3,
.lh-profile-number-card p,
.lh-profile-number-expanded dl,
.lh-profile-number-expanded dd {
  margin: 0;
}

.lh-profile-number-card h3 {
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.lh-profile-number-card summary p {
  color: color-mix(in srgb, var(--lh-text) 78%, var(--lh-muted));
  line-height: 1.58;
}

.lh-profile-number-expanded {
  display: grid;
  gap: 16px;
  padding: 0 24px 24px;
  color: color-mix(in srgb, var(--lh-text) 88%, #fff 4%);
  line-height: 1.5;
  cursor: pointer;
}

.lh-profile-number-essence {
  margin: 0;
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.8vw, 38px);
  color: color-mix(in srgb, var(--lh-text) 96%, #fff 6%);
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.58vw, 1.62rem);
  line-height: 1.58;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--lh-gold) 14%, transparent), color-mix(in srgb, var(--lh-surface) 64%, transparent) 72%);
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 34%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--lh-gold) 76%, transparent);
}

.lh-profile-reading-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 26%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--lh-gold) 26%, transparent);
}

.lh-profile-reading-map article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 190px;
  padding: clamp(18px, 2.2vw, 30px);
  border-right: 1px solid color-mix(in srgb, var(--lh-gold) 26%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 26%, transparent);
}

.lh-profile-reading-map article:nth-child(1) {
  background: color-mix(in srgb, var(--lh-gold) 3%, transparent);
}

.lh-profile-reading-map article:nth-child(2) {
  background: color-mix(in srgb, var(--lh-gold) 5%, transparent);
}

.lh-profile-reading-map article:nth-child(3) {
  background: color-mix(in srgb, var(--lh-gold) 2%, transparent);
}

.lh-profile-reading-map .is-integration {
  background: color-mix(in srgb, var(--lh-gold) 10%, transparent);
}

.lh-profile-reading-map h4,
.lh-energy-reading-map h4 {
  color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-gold));
}

.lh-profile-keyword {
  color: color-mix(in srgb, var(--lh-gold) 88%, var(--lh-text));
  font-weight: 700;
  text-shadow: 0 0 16px color-mix(in srgb, var(--lh-gold) 13%, transparent);
}

.lh-profile-reading-map blockquote {
  margin: 4px 0 0;
  padding-left: 14px;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.4;
  border-left: 2px solid var(--lh-gold);
}

.lh-ai-composition-progress {
  justify-content: flex-start;
  max-width: 620px;
  margin-top: -4px;
}

.lh-section-nav {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lh-action-card {
  color: var(--lh-text);
  text-decoration: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lh-action-card.is-active,
.lh-action-card:hover,
.lh-entry-button.is-active {
  border-color: var(--lh-gold);
  background: var(--lh-gold-soft);
}

.lh-action-card span,
.lh-action-card small {
  display: block;
}

.lh-action-card small {
  margin-top: 4px;
  color: var(--lh-muted);
}

.lh-chart-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.lh-chart-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 1.4fr) minmax(130px, 1fr);
  gap: 12px;
  align-items: center;
}

.lh-chart-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lh-chart-meta span {
  color: var(--lh-text);
}

.lh-chart-meta strong {
  color: var(--lh-gold);
  font-size: 1.35rem;
}

.lh-chart-track {
  height: 10px;
  overflow: hidden;
  background: var(--color-overlay-soft);
  border: 1px solid var(--lh-border);
  border-radius: 999px;
}

.lh-chart-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-gold) 42%, transparent), var(--lh-gold));
  border-radius: inherit;
  box-shadow: 0 0 18px var(--color-glow-gold);
}

.lh-chart-row small {
  color: var(--lh-muted);
  line-height: 1.35;
}

.lh-chart-fill-0 {
  width: 0%;
}

.lh-chart-fill-5 {
  width: 5%;
}

.lh-chart-fill-10 {
  width: 10%;
}

.lh-chart-fill-15 {
  width: 15%;
}

.lh-chart-fill-20 {
  width: 20%;
}

.lh-chart-fill-25 {
  width: 25%;
}

.lh-chart-fill-30 {
  width: 30%;
}

.lh-chart-fill-35 {
  width: 35%;
}

.lh-chart-fill-40 {
  width: 40%;
}

.lh-chart-fill-45 {
  width: 45%;
}

.lh-chart-fill-50 {
  width: 50%;
}

.lh-chart-fill-55 {
  width: 55%;
}

.lh-chart-fill-60 {
  width: 60%;
}

.lh-chart-fill-65 {
  width: 65%;
}

.lh-chart-fill-70 {
  width: 70%;
}

.lh-chart-fill-75 {
  width: 75%;
}

.lh-chart-fill-80 {
  width: 80%;
}

.lh-chart-fill-85 {
  width: 85%;
}

.lh-chart-fill-90 {
  width: 90%;
}

.lh-chart-fill-95 {
  width: 95%;
}

.lh-chart-fill-100 {
  width: 100%;
}

.lh-cycle-map {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.lh-cycle-map-master {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.lh-cycle-node {
  min-height: 52px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: var(--lh-muted);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 42%),
    var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  font: inherit;
  cursor: pointer;
  transition: border-color var(--lh-fast), background var(--lh-fast), transform var(--lh-fast);
}

.lh-cycle-node:hover,
.lh-cycle-node:focus-visible,
.lh-cycle-node.is-selected {
  border-color: var(--lh-gold);
  transform: translateY(-2px);
}

.lh-cycle-node strong {
  color: inherit;
  font-size: 1.05rem;
}

.lh-cycle-node small {
  color: inherit;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lh-cycle-node.is-complete {
  color: var(--lh-text);
  border-color: var(--color-border-gold);
}

.lh-cycle-node.is-active {
  color: var(--color-text-inverse);
  background: var(--lh-gold);
  border-color: var(--lh-gold);
  box-shadow: var(--shadow-gold);
}

.lh-cycle-sequence-readings {
  min-height: 180px;
}

.lh-cycle-sequence-reading {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: color-mix(in srgb, var(--lh-gold) 6%, var(--lh-surface-2));
  border: 1px solid var(--lh-border);
  border-left: 3px solid var(--lh-gold);
}

.lh-cycle-sequence-reading[hidden] {
  display: none;
}

.lh-cycle-sequence-reading span {
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-cycle-sequence-reading h4,
.lh-cycle-sequence-reading p {
  margin: 0;
}

.lh-cycle-sequence-reading h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 400;
}

.lh-cycle-sequence-reading p {
  max-width: 78ch;
  color: var(--lh-text);
  line-height: 1.65;
}

.lh-cycle-sequence-reading small {
  color: var(--lh-muted);
  line-height: 1.55;
}

.lh-cycle-focus {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
}

.lh-cycle-focus > strong {
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lh-gold);
  color: var(--color-text-inverse);
  font-size: 2rem;
}

.lh-cycle-focus span {
  display: block;
  color: var(--lh-text);
  font-weight: 700;
}

.lh-cycle-focus p {
  margin: 8px 0;
}

.lh-cycle-focus small {
  color: var(--lh-muted);
}

.lh-cycle-row {
  grid-template-columns: minmax(120px, 0.8fr) auto minmax(180px, 1fr);
}

.lh-cycle-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-cycle-row h5 {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.lh-cycle-row.is-active {
  border-color: var(--lh-gold);
  background: var(--lh-gold-soft);
}

.lh-cycle-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lh-cycle-year {
  display: grid;
  gap: 5px;
  align-content: start;
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
}

.lh-cycle-year > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.lh-cycle-year span,
.lh-cycle-year small {
  color: var(--lh-muted);
}

.lh-cycle-year strong {
  color: var(--lh-gold);
  font-size: 1.2rem;
}

.lh-cycle-year h5 {
  margin: 12px 0 2px;
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
}

.lh-cycle-year p {
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.6;
}

.lh-cycle-year.is-current {
  border-color: var(--lh-gold);
  background: var(--lh-gold-soft);
}

.lh-cycle-decade-synthesis {
  display: grid;
  gap: 10px;
  padding: 26px;
  border-left: 3px solid var(--lh-gold);
  background: var(--lh-surface-2);
}

.lh-cycle-decade-synthesis > span,
.lh-ai-composing {
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lh-cycle-decade-synthesis h4,
.lh-cycle-decade-synthesis p,
.lh-cycle-decade-synthesis blockquote {
  margin: 0;
}

.lh-cycle-decade-synthesis blockquote {
  margin-top: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.lh-cycles-page {
  display: grid;
  gap: 54px;
  max-width: 1480px;
  margin: 0 auto;
}

.lh-cycles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 34px 0 46px;
  border-bottom: 1px solid var(--color-border-gold);
}

.lh-cycles-hero h2 {
  max-width: 880px;
  margin: 8px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.98;
}

.lh-cycles-hero > div:first-child > p:not(.lh-kicker) {
  max-width: 790px;
  margin: 0 0 12px;
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.55;
}

.lh-cycles-hero small {
  color: var(--lh-muted);
}

.lh-cycle-emblem {
  width: clamp(180px, 19vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--lh-gold);
  border-radius: 50%;
  color: var(--lh-gold);
  box-shadow: inset 0 0 0 12px var(--lh-gold-soft), var(--shadow-gold);
}

.lh-cycle-emblem span {
  color: var(--lh-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-cycle-emblem strong {
  font-family: var(--font-heading);
  font-size: clamp(4.6rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
}

.lh-cycle-now,
.lh-cycles-depth {
  display: grid;
  gap: 22px;
}

.lh-cycle-now > header,
.lh-cycles-depth > header {
  max-width: 920px;
}

.lh-cycle-now h3,
.lh-cycle-compass h3,
.lh-cycles-depth h3 {
  margin: 5px 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.lh-cycles-depth > header {
  display: grid;
  gap: 10px;
  padding: 30px 34px 32px;
  background: color-mix(in srgb, var(--lh-gold) 4%, var(--lh-surface));
  border-left: 2px solid var(--lh-gold);
}

.lh-cycles-depth > header .lh-kicker {
  margin: 0;
}

.lh-cycles-depth > header h3 {
  max-width: 21ch;
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.08;
}

.lh-cycles-depth > header > p:not(.lh-kicker) {
  max-width: 70ch;
  margin: 4px 0 0;
  color: color-mix(in srgb, var(--lh-text) 82%, var(--lh-muted));
  font-size: 1.08rem;
  line-height: 1.75;
}

.lh-cycle-now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
}

.lh-cycle-now-card {
  min-height: 320px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  padding: 30px;
  border-right: 1px solid var(--lh-border);
  background: var(--lh-surface);
}

.lh-cycle-now-card:last-child {
  border-right: 0;
}

.lh-cycle-now-card.is-monthly {
  background: var(--lh-surface-2);
}

.lh-cycle-now-card.is-daily {
  border-top: 2px solid var(--lh-gold);
  background: var(--lh-gold-soft);
}

.lh-cycle-level {
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-cycle-now-card > strong {
  margin: 20px 0 4px;
  color: var(--lh-gold);
  font-family: var(--font-heading);
  font-size: 4.6rem;
  font-weight: 400;
  line-height: 0.9;
}

.lh-cycle-now-card h4 {
  margin: 10px 0;
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
}

.lh-cycle-now-card p {
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-cycle-compass {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  border: 1px solid var(--color-border-gold);
  background: var(--lh-surface);
}

.lh-cycle-compass-intro,
.lh-cycle-compass-actions {
  padding: clamp(28px, 4vw, 56px);
}

.lh-cycle-compass-intro {
  border-right: 1px solid var(--lh-border);
}

.lh-cycle-compass-intro > p:not(.lh-kicker) {
  max-width: 720px;
  color: var(--lh-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.lh-cycle-intentions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
}

.lh-cycle-intentions span {
  width: 100%;
  color: var(--lh-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lh-cycle-intentions strong {
  padding: 7px 10px;
  border: 1px solid var(--color-border-gold);
  color: var(--lh-gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.lh-cycle-compass-actions {
  display: grid;
  gap: 20px;
  align-content: center;
  background: var(--lh-surface-2);
}

.lh-cycle-compass-actions > div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lh-border);
}

.lh-cycle-compass-actions span {
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-cycle-compass-actions p {
  margin: 7px 0 0;
  color: var(--lh-text);
  line-height: 1.6;
}

.lh-cycle-compass-actions blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.45;
}

.lh-cycle-compass-actions .lh-btn {
  justify-self: start;
}

.lh-cycles-depth {
  padding-top: 8px;
}

.lh-cycles-depth > details {
  border-top: 1px solid var(--lh-border);
}

.lh-cycles-depth > details:last-child {
  border-bottom: 1px solid var(--lh-border);
}

.lh-cycles-depth summary {
  padding: 22px 4px;
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  cursor: pointer;
}

.lh-cycles-depth summary::marker {
  color: var(--lh-gold);
}

.lh-cycle-detail-content {
  display: grid;
  gap: 22px;
  padding: 4px 0 30px;
}

.lh-cycle-detail-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lh-cycle-detail-columns h4 {
  margin: 0 0 12px;
  color: var(--lh-gold);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lh-journal-draft-note {
  padding: 12px 14px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-muted);
  background: var(--lh-gold-soft);
}

.lh-password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.lh-field-button {
  min-height: 44px;
  padding: 0 12px;
  color: var(--lh-text);
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  font: inherit;
  cursor: pointer;
}

.lh-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.lh-onboarding-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lh-border);
}

.lh-field-note {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lh-advanced-fields {
  padding: 12px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-advanced-fields summary {
  cursor: pointer;
  color: var(--lh-gold);
}

.lh-advanced-fields label {
  margin-top: 12px;
}

.lh-data-list {
  display: grid;
  gap: 10px;
}

.lh-data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(160px, 1.2fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
}

.lh-data-row span {
  color: var(--lh-text);
}

.lh-data-row strong {
  color: var(--lh-gold);
  font-size: 1.4rem;
}

.lh-data-row small {
  color: var(--lh-muted);
}

.lh-settings-summary .lh-data-row {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label meta"
    "value value";
  gap: 6px 16px;
  align-items: baseline;
}

.lh-settings-summary .lh-data-row > span {
  grid-area: label;
  min-width: 0;
}

.lh-settings-summary .lh-data-row > strong {
  grid-area: value;
  min-width: 0;
  max-width: 100%;
  font-size: 1.2rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lh-settings-summary .lh-data-row > small {
  grid-area: meta;
  min-width: 0;
  max-width: 100%;
  text-align: right;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.lh-data-row-link {
  color: var(--lh-text);
  text-decoration: none;
}

.lh-data-row-link:focus {
  outline: 2px solid var(--lh-gold);
  outline-offset: 3px;
}

.lh-data-row-link:hover {
  border-color: var(--lh-gold);
}

.lh-data-row-stack {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.lh-data-row-stack small {
  line-height: 1.5;
}

.lh-button-row,
.lh-oracle-question-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.lh-input {
  width: min(100%, 520px);
  min-height: 44px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  color: var(--lh-text);
  padding: 10px 12px;
  font: inherit;
}

.lh-oracle-intention {
  margin-top: 24px;
}

.lh-oracle-intention > label {
  display: block;
  color: var(--lh-text);
  font-weight: 700;
}

.lh-oracle-intention > p {
  max-width: 760px;
  margin: 8px 0 0;
}

.lh-oracle-introduction {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  margin: 28px 0 32px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
}

.lh-oracle-introduction-copy {
  align-self: center;
}

.lh-oracle-introduction-copy .lh-kicker,
.lh-oracle-introduction-copy h3,
.lh-oracle-introduction-copy p {
  margin-top: 0;
}

.lh-oracle-introduction-copy h3 {
  margin-bottom: 16px;
  font-family: var(--lh-font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 500;
}

.lh-oracle-introduction-copy p:not(.lh-kicker) {
  max-width: 52ch;
  margin-bottom: 12px;
  color: var(--lh-muted);
  line-height: 1.7;
}

.lh-oracle-veil-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lh-oracle-veil-path li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--lh-border) 75%, transparent);
}

.lh-oracle-veil-path li > span {
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 1rem;
}

.lh-oracle-veil-path li div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lh-oracle-veil-path strong {
  color: var(--lh-text);
  font-size: 0.94rem;
}

.lh-oracle-veil-path small {
  color: var(--lh-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.lh-oracle-introduction-resume {
  width: fit-content;
  margin-top: 18px;
  color: var(--lh-muted);
}

.lh-oracle-introduction-resume summary {
  color: var(--lh-gold);
  font-weight: 700;
  cursor: pointer;
}

.lh-oracle-introduction-resume p {
  max-width: 68ch;
  margin: 10px 0 0;
  line-height: 1.6;
}

.lh-oracle-deal-note {
  max-width: 760px;
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-muted);
}

.lh-oracle-deal-panel {
  overflow: hidden;
}

.lh-oracle-deal-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.lh-oracle-deal-header h3,
.lh-oracle-deal-header p {
  margin-top: 0;
}

.lh-oracle-deal-header > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  border-radius: 999px;
  color: var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface-2));
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-oracle-deal-question {
  display: grid;
  gap: 6px;
  max-width: 900px;
  margin: 18px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 5%, var(--lh-surface-2));
}

.lh-oracle-deal-question small {
  color: var(--lh-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-oracle-question-text {
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  line-height: 1.45;
}

.lh-oracle-question-refined-note {
  color: var(--lh-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.lh-oracle-card-grid {
  display: grid;
  grid-template-columns: repeat(21, minmax(0, 1fr));
  grid-template-rows: repeat(2, 220px);
  grid-auto-flow: row;
  column-gap: 0;
  row-gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 34px 66px 38px;
  overflow: visible;
  box-sizing: border-box;
}

.lh-oracle-card-stage {
  position: relative;
  min-width: 0;
  margin-top: 22px;
  overflow: visible;
}

.lh-dashboard-grid > .lh-panel:has(.lh-oracle-card-grid),
.lh-dashboard-grid > .lh-panel:has(.lh-oracle-card-strip) {
  min-width: 0;
}

.lh-oracle-card-choice {
  display: grid;
  gap: 7px;
  justify-items: center;
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: clamp(82px, 8vw, 118px);
  min-width: 0;
  padding: 5px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  color: var(--lh-text);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transform: translateY(var(--oracle-ribbon-y, 0)) rotate(var(--oracle-ribbon-rotate, 0deg));
  transform-origin: 50% 88%;
  transition: transform 220ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lh-oracle-card-choice:not(:disabled):hover,
.lh-oracle-card-choice:not(:disabled):focus-visible {
  z-index: 3;
  transform: translateY(calc(var(--oracle-ribbon-y, 0px) - 10px)) rotate(var(--oracle-ribbon-rotate, 0deg)) scale(1.07);
  border-color: var(--lh-gold);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.lh-oracle-card-choice.is-selected {
  z-index: 2;
  width: clamp(104px, 9.5vw, 150px);
  transform: translateY(calc(var(--oracle-ribbon-y, 0px) - 8px)) rotate(var(--oracle-ribbon-rotate, 0deg)) scale(1.04);
  border-color: var(--lh-gold);
  box-shadow: 0 0 0 1px var(--lh-gold-soft), 0 18px 40px rgba(0,0,0,0.32);
}

.lh-oracle-card-choice:disabled {
  cursor: default;
  opacity: 0.68;
}

.lh-oracle-card-choice.is-selected:disabled {
  opacity: 1;
}

.lh-oracle-card-choice img,
.lh-oracle-card-choice span {
  width: 100%;
  max-width: 118px;
  aspect-ratio: 2 / 3;
  border-radius: calc(var(--lh-radius) - 2px);
}

.lh-oracle-card-choice.is-selected img,
.lh-oracle-card-choice.is-selected span {
  max-width: 150px;
}

.lh-oracle-card-choice .lh-oracle-card-back-image {
  border-color: color-mix(in srgb, var(--lh-gold) 64%, var(--lh-border));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.lh-oracle-card-choice img {
  object-fit: cover;
  display: block;
  border: 1px solid var(--lh-border);
}

.lh-oracle-card-choice span {
  display: grid;
  place-items: center;
  color: var(--lh-gold);
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--lh-border);
  font-size: 2rem;
}

.lh-oracle-card-choice strong {
  color: var(--lh-text);
  font-size: 0.78rem;
  line-height: 1.2;
}

.lh-oracle-card-choice small {
  color: var(--lh-muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.lh-oracle-card-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 12px;
}

.lh-oracle-card-history {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--lh-border);
  background: var(--lh-border);
}

.lh-oracle-history-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: var(--lh-surface-2);
}

.lh-oracle-card-thumb {
  display: grid;
  gap: 8px;
  justify-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--lh-muted);
  font: inherit;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.lh-oracle-card-thumb img,
.lh-relationship-arcane-img {
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
  background: var(--lh-surface-2);
}

.lh-oracle-card-thumb img {
  width: min(100%, 116px);
}

.lh-oracle-card-thumb span {
  width: min(100%, 116px);
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  color: var(--lh-gold);
  background: var(--lh-surface-2);
  font-size: 2rem;
}

.lh-oracle-reading-panel {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: rgba(0,0,0,0.14);
}

.lh-oracle-reading-card {
  display: grid;
  place-items: center;
}

.lh-oracle-reading-card img,
.lh-oracle-reading-card span {
  width: min(100%, 220px);
  aspect-ratio: 2 / 3;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  background: var(--lh-surface-2);
  box-shadow: 0 20px 44px rgba(0,0,0,0.34);
}

.lh-oracle-reading-card img {
  display: block;
  object-fit: cover;
}

.lh-oracle-reading-card span {
  display: grid;
  place-items: center;
  color: var(--lh-gold);
  font-size: 2rem;
}

.lh-oracle-reading-copy {
  min-width: 0;
}

.lh-oracle-reading-copy h3 {
  margin: 0;
}

.lh-oracle-card-keywords {
  margin: 8px 0 18px;
  color: var(--lh-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.lh-oracle-depth {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  background: var(--lh-surface-2);
}

.lh-oracle-depth strong {
  color: var(--lh-gold);
}

.lh-oracle-ai-state,
.lh-oracle-synthesis-loading {
  display: flex;
  gap: 14px;
  align-items: center;
}

.lh-oracle-symbol-loading .lh-alchemy-stone-seal,
.lh-oracle-synthesis-loading .lh-alchemy-stone-seal {
  flex: 0 0 auto;
  width: 86px;
}

.lh-oracle-symbol-loading h4,
.lh-oracle-symbol-loading p,
.lh-oracle-synthesis-loading h3,
.lh-oracle-synthesis-loading p {
  margin: 0;
}

.lh-oracle-symbol-loading p,
.lh-oracle-synthesis-loading p {
  margin-top: 6px;
  color: var(--lh-muted);
}

.lh-oracle-ai-reading {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.lh-oracle-ai-reading .lh-oracle-card-seal,
.lh-oracle-history-card .lh-oracle-card-seal {
  margin: 0;
  padding: 16px 20px;
  border-left: 3px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 8%, transparent);
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

.lh-oracle-card-details {
  margin-top: 8px;
  border-top: 1px solid var(--lh-border);
}

.lh-oracle-card-details summary {
  width: fit-content;
  padding: 14px 0 4px;
  color: var(--lh-gold);
  font-weight: 700;
  cursor: pointer;
}

.lh-oracle-card-details > div {
  display: grid;
  gap: 14px;
  padding: 14px 0 4px;
}

.lh-oracle-card-details h4,
.lh-oracle-card-details p {
  margin: 0;
}

.lh-oracle-reaction {
  margin-top: 12px;
  border-top: 1px solid var(--lh-border);
}

.lh-oracle-reaction summary {
  width: fit-content;
  padding: 14px 0 4px;
  color: var(--lh-gold);
  font-weight: 700;
  cursor: pointer;
}

.lh-oracle-reaction-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
  border-left: 2px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 6%, transparent);
}

.lh-oracle-reaction-form > label:first-child {
  color: var(--lh-text);
  font-weight: 700;
}

.lh-oracle-reaction textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius-sm);
  background: var(--lh-surface-2);
  color: var(--lh-text);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.55;
}

.lh-oracle-reaction textarea:focus-visible {
  outline: 2px solid var(--lh-gold);
  outline-offset: 2px;
}

.lh-oracle-reaction-memory {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--lh-muted);
  cursor: pointer;
}

.lh-oracle-reaction-memory input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--lh-gold);
}

.lh-oracle-reaction-memory span {
  display: grid;
  gap: 3px;
}

.lh-oracle-reaction-memory strong {
  color: var(--lh-text);
  font-size: 0.92rem;
}

.lh-oracle-reaction-memory small {
  font-size: 0.82rem;
  line-height: 1.45;
}

.lh-oracle-reaction-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.lh-oracle-reaction-actions p {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-oracle-reaction-saved {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--lh-border);
}

.lh-oracle-reaction-saved div {
  display: grid;
  gap: 2px;
}

.lh-oracle-reaction-saved strong {
  color: var(--lh-gold);
}

.lh-oracle-reaction-saved span {
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-oracle-reaction-saved a {
  color: var(--lh-text);
  font-weight: 700;
}

.lh-oracle-reaction-saved button {
  padding: 0;
  color: var(--lh-text);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.lh-oracle-response-suite {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.lh-oracle-question-card {
  display: grid;
  width: 100%;
  min-height: 280px;
  color: var(--lh-text);
  perspective: 900px;
}

.lh-oracle-question-face {
  grid-area: 1 / 1;
  display: grid;
  min-height: 280px;
  padding: 22px 24px;
  border: 1px solid var(--lh-border);
  border-left: 3px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface));
  color: var(--lh-text);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.72, 0.18, 1), border-color 180ms ease, background 180ms ease;
}

.lh-oracle-question-face-front {
  align-content: center;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: inherit;
  cursor: pointer;
}

.lh-oracle-question-face-front > span {
  display: grid;
  align-content: center;
  min-height: 280px;
  padding: 22px 24px;
  border: 1px solid var(--lh-border);
  border-left: 3px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface));
  backface-visibility: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}

.lh-oracle-question-face-front:hover > span,
.lh-oracle-question-face-front:focus-visible > span {
  border-color: var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 11%, var(--lh-surface));
}

.lh-oracle-question-card.is-flipped .lh-oracle-question-face-front {
  pointer-events: none;
  transform: rotateY(-180deg);
}

.lh-oracle-question-card.is-flipped .lh-oracle-question-face-back {
  transform: rotateY(0deg);
  pointer-events: auto;
}

.lh-oracle-question-face-front small {
  color: var(--lh-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.lh-oracle-question-face-front strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 2.25vw, 1.55rem);
  font-weight: 500;
  line-height: 1.24;
}

.lh-oracle-question-card .lh-oracle-card-invitation {
  margin-top: 10px;
  padding: 0;
  border-left: 0;
  background: transparent;
  font-family: var(--font-heading);
}

.lh-oracle-question-face-back {
  align-content: start;
  gap: 12px;
  transform: rotateY(180deg);
  pointer-events: none;
}

.lh-oracle-question-return {
  justify-self: start;
  padding: 0;
  color: var(--lh-gold);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.lh-oracle-question-face-back label:first-child {
  color: var(--lh-text);
  font-weight: 700;
}

.lh-oracle-question-face-back textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 15px 16px;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 36%, var(--lh-border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--lh-surface) 90%, #fff 10%);
  color: var(--lh-text);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 7%, transparent), 0 12px 28px rgba(0,0,0,0.16);
  caret-color: var(--lh-gold);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.5;
}

html[data-theme="light"] .lh-oracle-question-face-back textarea {
  background: #fffaf0;
  color: #17130d;
  border-color: rgba(143, 103, 38, 0.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 22px rgba(87, 64, 28, 0.08);
}

.lh-oracle-question-face-back textarea:focus-visible {
  outline: 2px solid var(--lh-gold);
  outline-offset: 2px;
  border-color: var(--lh-gold);
}

.lh-oracle-history-card .lh-oracle-response-suite {
  margin-top: 12px;
}

.lh-oracle-history-card .lh-oracle-question-card,
.lh-oracle-history-card .lh-oracle-question-face,
.lh-oracle-history-card .lh-oracle-question-face-front > span {
  min-height: 210px;
}

.lh-oracle-history-card .lh-oracle-question-face,
.lh-oracle-history-card .lh-oracle-question-face-front > span {
  padding: 18px 20px;
}

.lh-oracle-history-card .lh-oracle-question-card:not(.is-flipped) .lh-oracle-question-face-back {
  display: none;
}

.lh-oracle-ai-reading h4,
.lh-oracle-global-reading h4 {
  margin: 0;
  color: var(--lh-gold-strong, var(--lh-gold));
}

.lh-oracle-ai-reading p,
.lh-oracle-global-reading p {
  margin: 0;
  color: var(--lh-text);
  font-size: 1.04rem;
  line-height: 1.82;
}

.lh-oracle-card-invitation,
.lh-oracle-synthesis-seal {
  margin: 6px 0 0;
  padding: 15px 18px;
  border-left: 3px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.lh-oracle-synthesis-seal {
  margin-top: 12px;
  font-size: clamp(1.18rem, 1.7vw, 1.46rem);
}

.lh-oracle-global-reading {
  display: grid;
  gap: 22px;
  max-width: 860px;
  margin: 24px auto 0;
}

.lh-oracle-synthesis-panel > .lh-kicker,
.lh-oracle-synthesis-panel > h3,
.lh-oracle-synthesis-panel > .lh-button-row {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.lh-oracle-opening {
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

@media (min-width: 641px) and (max-width: 900px) {
  .lh-oracle-card-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 164px;
    gap: 0;
    padding: 20px 14px 28px;
  }

  .lh-oracle-card-choice {
    width: min(112%, 104px);
    transform: translateY(var(--oracle-tablet-ribbon-y, 0)) rotate(var(--oracle-tablet-ribbon-rotate, 0deg));
  }

  .lh-oracle-card-choice.is-selected {
    width: min(118%, 116px);
  }

  .lh-oracle-card-choice:not(:disabled):hover,
  .lh-oracle-card-choice:not(:disabled):focus-visible {
    transform: translateY(calc(var(--oracle-tablet-ribbon-y, 0px) - 8px)) rotate(var(--oracle-tablet-ribbon-rotate, 0deg)) scale(1.05);
  }

  .lh-oracle-card-choice.is-selected {
    transform: translateY(calc(var(--oracle-tablet-ribbon-y, 0px) - 7px)) rotate(var(--oracle-tablet-ribbon-rotate, 0deg)) scale(1.04);
  }
}

@media (max-width: 640px) {
  .lh-oracle-introduction {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 22px 0 26px;
    padding: 22px 0;
  }

  .lh-oracle-veil-path {
    grid-template-columns: 1fr;
  }

  .lh-oracle-veil-path li {
    padding: 10px 0;
  }

  .lh-oracle-reaction-form {
    padding: 14px;
  }

  .lh-oracle-reaction-actions {
    align-items: stretch;
  }

  .lh-oracle-reaction-actions .lh-btn {
    width: 100%;
  }

  .lh-oracle-card-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 116px;
    gap: 0;
    padding: 18px 18px 30px;
  }

  .lh-oracle-card-choice {
    width: min(150%, 66px);
    padding: 3px;
    transform: translateY(var(--oracle-mobile-ribbon-y, 0)) rotate(var(--oracle-mobile-ribbon-rotate, 0deg));
    transform-origin: 50% 90%;
  }

  .lh-oracle-card-choice.is-selected {
    z-index: 4;
    width: min(160%, 72px);
    max-width: none;
  }

  .lh-oracle-card-choice:not(:disabled):hover,
  .lh-oracle-card-choice:not(:disabled):focus-visible {
    transform: translateY(calc(var(--oracle-mobile-ribbon-y, 0px) - 7px)) rotate(var(--oracle-mobile-ribbon-rotate, 0deg)) scale(1.05);
  }

  .lh-oracle-card-choice.is-selected {
    transform: translateY(calc(var(--oracle-mobile-ribbon-y, 0px) - 6px)) rotate(var(--oracle-mobile-ribbon-rotate, 0deg)) scale(1.04);
  }

  .lh-oracle-deal-header {
    display: grid;
  }

  .lh-oracle-deal-header > span {
    grid-row: 1;
    justify-self: end;
  }

  .lh-oracle-card-history {
    gap: 10px;
    border-color: color-mix(in srgb, var(--lh-border) 78%, transparent);
    background: transparent;
  }

  .lh-oracle-history-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
  }

  .lh-oracle-history-card .lh-oracle-card-thumb {
    gap: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .lh-oracle-history-card .lh-oracle-card-thumb img,
  .lh-oracle-history-card .lh-oracle-card-thumb span {
    width: 68px;
    border-radius: 5px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  }

  .lh-oracle-history-card .lh-oracle-card-seal {
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.48;
  }

  .lh-oracle-history-card .lh-oracle-card-details summary {
    padding-top: 10px;
  }

  .lh-oracle-history-card .lh-oracle-response-suite {
    grid-column: 1 / -1;
    gap: 10px;
    margin-top: 8px;
  }

  .lh-oracle-history-card .lh-oracle-question-card,
  .lh-oracle-history-card .lh-oracle-question-face,
  .lh-oracle-history-card .lh-oracle-question-face-front > span {
    min-height: auto;
  }

  .lh-oracle-history-card .lh-oracle-question-face,
  .lh-oracle-history-card .lh-oracle-question-face-front > span {
    padding: 15px 16px;
  }

  .lh-oracle-history-card .lh-oracle-question-face-front strong {
    font-size: 1.04rem;
    line-height: 1.24;
  }

  .lh-oracle-history-card .lh-oracle-question-face-back textarea {
    min-height: 132px;
  }

  .lh-oracle-global-reading p {
    font-size: 1rem;
    line-height: 1.72;
  }
}

.lh-oracle-depth p {
  margin-bottom: 0;
}

.lh-daily-recompose-note {
  max-width: 720px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
  line-height: 1.55;
}

.lh-astrology-page {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

/* Phase 6C - lecture astrologique exploratoire */
.lh-astro-hero {
  min-height: 680px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 14px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--lh-gold) 10%, transparent), transparent 42%),
    var(--lh-surface);
}

.lh-astro-hero > .lh-kicker {
  margin: 0;
}

.lh-astro-hero-stage {
  position: relative;
  width: min(76vw, 610px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.lh-astro-hero-ring,
.lh-astro-hero-stage::before,
.lh-astro-hero-stage::after {
  position: absolute;
  content: '';
  border: 1px solid color-mix(in srgb, var(--lh-gold) 45%, transparent);
  border-radius: 50%;
}

.lh-astro-hero-ring {
  inset: 5%;
  box-shadow: 0 0 60px color-mix(in srgb, var(--lh-gold) 8%, transparent);
}

.lh-astro-hero-stage::before { inset: 15%; opacity: 0.48; }
.lh-astro-hero-stage::after { inset: 27%; opacity: 0.22; }

.lh-astro-hero-copy {
  position: relative;
  z-index: 2;
  width: min(68%, 430px);
}

.lh-astro-hero h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.4vw, 5.2rem);
}

.lh-astro-hero-lead {
  font-size: clamp(0.94rem, 1.25vw, 1.12rem);
  line-height: 1.6;
}

.lh-astro-hero-movement {
  --astro-distance: 270px;
  position: absolute;
  z-index: 3;
  top: calc(50% - 34px);
  left: calc(50% - 34px);
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 62%, var(--lh-border));
  border-radius: 50%;
  color: var(--lh-gold);
  background: var(--lh-surface);
  box-shadow: 0 0 26px color-mix(in srgb, var(--lh-gold) 16%, transparent);
  offset-path: circle(44% at 50% 50%);
  offset-distance: calc(var(--astro-index) * 33.333%);
  offset-rotate: 0deg;
  animation: lh-astro-orbit-motion 28s linear infinite;
}

.lh-astro-hero-movement b,
.lh-astro-hero-movement small {
  display: block;
  line-height: 1;
}

.lh-astro-hero-movement b {
  font-family: var(--lh-font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.lh-astro-hero-movement small {
  max-width: 58px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--lh-text);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lh-astro-hero-movement:nth-of-type(3) { animation-delay: -9.33s; }
.lh-astro-hero-movement:nth-of-type(4) { animation-delay: -18.66s; }

@keyframes lh-astro-orbit-motion {
  to { offset-distance: calc((var(--astro-index) * 33.333%) + 100%); }
}

.lh-astro-hero-signs {
  width: min(100%, 720px);
  margin-top: 0;
  text-align: left;
}

.lh-astro-placement {
  min-height: 680px;
}

.lh-astro-polarities {
  grid-template-columns: 1fr;
}

.lh-astro-polarities > div {
  min-height: 110px;
  padding: 16px;
}

.lh-astro-polarities dd {
  color: var(--lh-text);
}

.lh-foundation-loading .lh-hermetic-seal-main {
  stroke-width: 2;
}

.lh-natal-explorer {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-wheel-wrap {
  min-width: 0;
}

.lh-natal-wheel-wrap > p {
  max-width: 580px;
  margin: 12px auto 0;
  color: var(--lh-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}

.lh-natal-wheel-svg {
  width: 100%;
  max-height: 680px;
  overflow: visible;
  color: var(--lh-gold);
  filter: drop-shadow(0 20px 55px color-mix(in srgb, var(--lh-gold) 8%, transparent));
}

.lh-natal-wheel-svg circle,
.lh-natal-wheel-svg line {
  vector-effect: non-scaling-stroke;
}

.lh-natal-wheel-halo {
  fill: color-mix(in srgb, var(--lh-gold) 3%, transparent);
  stroke: color-mix(in srgb, var(--lh-gold) 26%, transparent);
}

.lh-natal-wheel-zodiac,
.lh-natal-wheel-house {
  fill: none;
  stroke: color-mix(in srgb, var(--lh-gold) 50%, transparent);
  stroke-width: 1.2;
}

.lh-natal-zodiac line,
.lh-natal-house-lines line,
.lh-natal-axis {
  stroke: color-mix(in srgb, var(--lh-gold) 34%, transparent);
  stroke-width: 1;
}

.lh-natal-zodiac text,
.lh-natal-house-lines text,
.lh-natal-axis-label {
  fill: var(--lh-gold);
  font-family: var(--lh-font-display);
  text-anchor: middle;
  dominant-baseline: central;
}

.lh-natal-zodiac-glyph { font-size: 22px; }
.lh-natal-house-lines text { fill: var(--lh-muted); font-size: 11px; }
.lh-natal-axis-label { font-size: 11px; font-weight: 700; }

.lh-natal-aspect-lines line {
  stroke-width: 1.15;
  opacity: 0.58;
}

.lh-natal-aspect-lines .is-conjunction,
.lh-natal-aspect-lines .is-trine,
.lh-natal-aspect-lines .is-sextile { stroke: color-mix(in srgb, var(--lh-gold) 76%, #dce9dc); }
.lh-natal-aspect-lines .is-square,
.lh-natal-aspect-lines .is-opposition { stroke: color-mix(in srgb, var(--lh-gold) 50%, #b45e67); }

.lh-natal-body-point {
  cursor: pointer;
  outline: none;
}

.lh-natal-body-point circle {
  fill: var(--lh-surface);
  stroke: color-mix(in srgb, var(--lh-gold) 72%, var(--lh-border));
  stroke-width: 1.2;
  transition: fill 180ms ease, stroke-width 180ms ease;
}

.lh-natal-body-point text {
  fill: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 20px;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.lh-natal-body-point:hover circle,
.lh-natal-body-point:focus circle,
.lh-natal-body-point.is-selected circle {
  fill: color-mix(in srgb, var(--lh-gold) 16%, var(--lh-surface));
  stroke-width: 2.4;
}

.lh-natal-focus {
  min-height: 580px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 48%, var(--lh-border));
  background: color-mix(in srgb, var(--lh-gold) 4%, var(--lh-surface-2));
}

.lh-natal-focus-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.lh-natal-focus-heading > span {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--lh-gold);
  border-radius: 50%;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 2rem;
}

.lh-natal-focus h3 {
  margin: 5px 0 0;
  font-family: var(--lh-font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 500;
}

.lh-natal-focus-role {
  margin: 24px 0;
  color: var(--lh-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.lh-natal-focus-role strong { color: var(--lh-text); }

.lh-natal-focus-layers,
.lh-natal-focus-polarities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--lh-border);
}

.lh-natal-focus-layers > div,
.lh-natal-focus-polarities > div {
  padding: 16px;
  background: var(--lh-surface);
}

.lh-natal-focus-layers small,
.lh-natal-focus-polarities dt,
.lh-natal-focus-aspects > small {
  color: var(--lh-gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-natal-focus-layers strong,
.lh-natal-focus-layers p,
.lh-natal-focus-polarities dd { display: block; margin: 6px 0 0; }
.lh-natal-focus-layers p,
.lh-natal-focus-polarities dd { color: var(--lh-muted); line-height: 1.52; }

.lh-natal-focus-aspects {
  margin-top: 18px;
}

.lh-natal-focus-aspects p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-focus-aspects p span { flex: 0 0 auto; color: var(--lh-gold); font-size: 0.76rem; }

.lh-natal-focus blockquote {
  margin: 22px 0 0;
  padding: 14px 0 14px 18px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: 1.08rem;
  line-height: 1.5;
}

.lh-natal-point-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-point-nav button {
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 3px 9px;
  padding: 14px;
  border: 0;
  border-right: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
  color: var(--lh-text);
  background: var(--lh-surface);
  text-align: left;
  cursor: pointer;
}

.lh-natal-point-nav button:hover,
.lh-natal-point-nav button.is-selected {
  background: color-mix(in srgb, var(--lh-gold) 10%, var(--lh-surface));
}

.lh-natal-point-nav span { grid-row: span 2; align-self: center; color: var(--lh-gold); font-family: var(--lh-font-display); font-size: 1.45rem; }
.lh-natal-point-nav b,
.lh-natal-point-nav small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lh-natal-point-nav small { color: var(--lh-muted); font-size: 0.7rem; }

.lh-natal-house-reading {
  display: grid;
  gap: 22px;
  padding: clamp(30px, 5vw, 68px) clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--lh-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lh-gold) 7%, transparent), transparent 58%),
    color-mix(in srgb, var(--lh-surface) 90%, var(--lh-gold) 4%);
}

.lh-natal-house-reading header {
  max-width: 980px;
}

.lh-natal-house-reading h3 {
  margin: 8px 0 14px;
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  font-weight: 500;
  line-height: 1.04;
}

.lh-natal-house-reading header > p:last-child {
  max-width: 860px;
  color: color-mix(in srgb, var(--lh-text) 91%, var(--lh-muted));
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.72;
}

.lh-natal-house-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--lh-border);
  background: var(--lh-border);
}

.lh-natal-house-stats article {
  min-width: 0;
  padding: clamp(18px, 2.8vw, 30px);
  background: color-mix(in srgb, var(--lh-surface) 84%, transparent);
}

.lh-natal-house-stats span {
  color: var(--lh-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-natal-house-stats strong {
  display: block;
  margin: 10px 0;
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.lh-natal-house-stats p {
  margin: 0;
  color: color-mix(in srgb, var(--lh-text) 85%, var(--lh-muted));
  line-height: 1.6;
}

.lh-natal-house-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.lh-natal-house-map div {
  min-width: 0;
  min-height: 88px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--lh-border);
  background: color-mix(in srgb, var(--lh-surface) 82%, transparent);
}

.lh-natal-house-map div.is-empty {
  background: color-mix(in srgb, var(--lh-surface) 92%, transparent);
}

.lh-natal-house-map div.is-concentrated {
  border-color: color-mix(in srgb, var(--lh-gold) 70%, var(--lh-border));
  background: color-mix(in srgb, var(--lh-gold) 13%, var(--lh-surface));
}

.lh-natal-house-map span,
.lh-natal-house-map small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lh-natal-house-map span {
  color: var(--lh-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-natal-house-map strong {
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.lh-natal-house-map small {
  color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted));
}

.lh-natal-house-reading blockquote {
  max-width: 980px;
  margin: 0;
  padding: 16px 0 16px 20px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  line-height: 1.48;
}

.lh-natal-empty-house-readings {
  display: grid;
  border-top: 1px solid var(--lh-border);
}

.lh-natal-house-section-heading {
  padding: 28px 0 20px;
}

.lh-natal-house-section-heading h4,
.lh-natal-concentration-reading h4 {
  margin: 7px 0 0;
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
}

.lh-natal-empty-house-readings > article {
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 0.78fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(22px, 3.2vw, 38px) 0;
  border-top: 1px solid var(--lh-border);
}

.lh-natal-empty-house-number {
  align-self: start;
  display: grid;
  gap: 4px;
}

.lh-natal-empty-house-number span,
.lh-natal-empty-house-number small {
  color: var(--lh-muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.lh-natal-empty-house-number strong {
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.9;
}

.lh-natal-empty-house-readings h5 {
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--lh-gold) 76%, var(--lh-text));
  font-family: var(--lh-font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.lh-natal-empty-house-readings article p,
.lh-natal-concentration-reading p {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--lh-text) 90%, var(--lh-muted));
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.72;
}

.lh-natal-empty-house-readings article p > strong,
.lh-natal-concentration-reading p > strong,
.lh-natal-empty-house-readings blockquote > strong {
  color: var(--lh-gold);
}

.lh-natal-empty-house-readings article blockquote {
  margin-top: 18px;
  font-family: var(--lh-font-body);
  font-size: 0.98rem;
  line-height: 1.65;
}

.lh-natal-concentration-reading {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 44%, var(--lh-border));
  background: color-mix(in srgb, var(--lh-gold) 9%, var(--lh-surface));
}

.lh-natal-house-ai-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--lh-border);
}

.lh-natal-house-ai-status strong,
.lh-natal-house-ai-status p {
  display: block;
  margin: 0;
}

.lh-natal-house-personal-reading {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
  max-width: 1180px;
}

.lh-natal-house-narrative { max-width: 980px; }
.lh-natal-house-narrative p { margin: 0 0 16px; color: color-mix(in srgb, var(--lh-text) 94%, var(--lh-muted)); font-size: clamp(1.03rem, 1.25vw, 1.18rem); line-height: 1.82; }
.lh-natal-house-implications { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lh-natal-house-implications article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: clamp(20px, 2.5vw, 30px); border: 1px solid color-mix(in srgb, var(--lh-gold) 36%, var(--lh-border)); background: color-mix(in srgb, var(--lh-surface) 88%, #14202a 12%); box-shadow: inset 0 2px 0 color-mix(in srgb, var(--lh-gold) 28%, transparent); }
.lh-natal-house-implications article > span { color: var(--lh-gold); font-family: var(--lh-font-display); font-size: 1.5rem; }
.lh-natal-house-implications h4 { margin: 0 0 10px; color: color-mix(in srgb, var(--lh-gold) 78%, var(--lh-text)); font-family: var(--lh-font-display); font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 500; }
.lh-natal-house-implications p { margin: 0; color: color-mix(in srgb, var(--lh-text) 90%, var(--lh-muted)); line-height: 1.68; }
.lh-natal-house-personal-reading > blockquote { max-width: 100%; padding: 22px 24px; background: color-mix(in srgb, var(--lh-gold) 10%, var(--lh-surface)); }

.lh-natal-house-ai-status p {
  margin-top: 5px;
  color: var(--lh-muted);
}

.lh-natal-synthesis {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--lh-border);
  background: color-mix(in srgb, var(--lh-gold) 5%, var(--lh-surface));
}

.lh-natal-synthesis h3 { margin: 8px 0 0; font-family: var(--lh-font-display); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 500; line-height: 1.08; }
.lh-natal-synthesis > div:last-child { display: grid; gap: 16px; }
.lh-natal-synthesis > div:last-child p { margin: 0; color: var(--lh-muted); font-size: 1rem; line-height: 1.72; }
.lh-natal-synthesis strong { color: var(--lh-text); }

.lh-natal-aspects > div > p:last-child { color: var(--lh-muted); line-height: 1.55; }
.lh-natal-aspects li { align-items: flex-start; }
.lh-natal-aspects li div > p { margin: 5px 0 0; color: var(--lh-muted); font-size: 0.82rem; line-height: 1.45; }

.lh-astro-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  padding: clamp(30px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface);
}

.lh-astro-hero h1 {
  max-width: 780px;
  margin: 8px 0 18px;
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.lh-astro-hero-lead {
  max-width: 800px;
  margin: 0;
  color: var(--lh-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.65;
}

.lh-astro-hero-signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--lh-border);
  background: var(--lh-border);
}

.lh-astro-hero-signs span {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 10px;
  padding: 16px;
  background: var(--lh-surface-2);
}

.lh-astro-hero-signs b {
  grid-row: span 2;
  align-self: center;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 2rem;
  font-weight: 500;
}

.lh-astro-hero-signs small,
.lh-astro-hero-signs strong {
  display: block;
}

.lh-astro-hero-signs small {
  color: var(--lh-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.lh-astro-hero-signs strong {
  color: var(--lh-text);
  font-size: 1rem;
}

.lh-astro-hero-signs .is-missing {
  opacity: 0.62;
}

.lh-astro-orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 48%, transparent);
  border-radius: 50%;
}

.lh-astro-orbit::before,
.lh-astro-orbit-ring {
  position: absolute;
  inset: 15%;
  content: '';
  border: 1px solid color-mix(in srgb, var(--lh-gold) 30%, transparent);
  border-radius: 50%;
}

.lh-astro-orbit-ring {
  inset: 33%;
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-astro-orbit i {
  --astro-angle: calc(var(--astro-index) * 120deg - 90deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) rotate(var(--astro-angle)) translateX(138px) rotate(calc(-1 * var(--astro-angle)));
  color: var(--lh-gold);
  background: var(--lh-surface);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 56%, var(--lh-border));
  border-radius: 50%;
  font-family: var(--lh-font-display);
  font-size: 1.8rem;
  font-style: normal;
  box-shadow: 0 0 28px color-mix(in srgb, var(--lh-gold) 10%, transparent);
}

.lh-astro-trust {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  padding: 20px 24px;
  border-left: 3px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface-2));
}

.lh-astro-trust h2,
.lh-astro-trust p {
  margin: 0;
}

.lh-astro-trust h2 {
  font-family: var(--lh-font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
}

.lh-astro-trust > p {
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-astro-calculation,
.lh-natal-chart {
  border: 1px solid color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  border-radius: var(--lh-radius);
  background: color-mix(in srgb, var(--lh-gold) 4%, var(--lh-surface));
}

.lh-astro-calculation {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 30px;
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
}

.lh-astro-calculation h2,
.lh-natal-chart h2,
.lh-natal-chart h3,
.lh-astro-calculation p {
  margin-top: 0;
}

.lh-astro-calculation h2,
.lh-natal-chart h2 {
  margin-bottom: 12px;
  font-family: var(--lh-font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
}

.lh-astro-calculation p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-astro-calculation-action {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.lh-astro-calculation-action small {
  max-width: 480px;
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-natal-chart {
  overflow: hidden;
}

.lh-natal-chart-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(24px, 4vw, 46px);
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-chart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.lh-natal-chart-meta span {
  padding: 7px 10px;
  border: 1px solid var(--lh-border);
  color: var(--lh-muted);
  font-size: 0.78rem;
}

.lh-natal-angles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-angles > div {
  display: grid;
  gap: 6px;
  padding: 20px clamp(24px, 4vw, 46px);
  border-right: 1px solid var(--lh-border);
}

.lh-natal-angles > div:last-child {
  border-right: 0;
}

.lh-natal-angles small,
.lh-natal-placements b {
  color: var(--lh-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-natal-angles strong {
  font-family: var(--lh-font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.lh-natal-placements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lh-natal-placements > div {
  min-height: 112px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-content: center;
  padding: 18px 22px;
  border-right: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-placements > div:nth-child(3n) {
  border-right: 0;
}

.lh-natal-placements > div > span {
  grid-row: span 2;
  align-self: center;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 1.7rem;
}

.lh-natal-placements p,
.lh-natal-placements strong,
.lh-natal-placements small,
.lh-natal-placements b {
  display: block;
  margin: 0;
}

.lh-natal-placements small {
  margin-top: 4px;
  color: var(--lh-muted);
}

.lh-natal-placements b {
  grid-column: 2;
}

.lh-natal-aspects {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: 32px;
  padding: clamp(24px, 4vw, 46px);
}

.lh-natal-aspects h3 {
  font-family: var(--lh-font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.lh-natal-aspects ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lh-natal-aspects li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--lh-border);
}

.lh-natal-aspects li strong {
  flex: 0 0 auto;
  color: var(--lh-gold);
  font-size: 0.78rem;
}

.lh-natal-warning {
  margin: 0;
  padding: 16px clamp(24px, 4vw, 46px);
  border-top: 1px solid var(--lh-border);
  color: var(--lh-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.lh-astro-section,
.lh-astro-integration,
.lh-astro-depth {
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface);
}

.lh-astro-section {
  padding: clamp(24px, 4vw, 52px);
}

.lh-astro-section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.lh-astro-section-header h2,
.lh-astro-section-header p {
  margin-bottom: 0;
}

.lh-astro-section-header h2,
.lh-astro-integration h2 {
  font-family: var(--lh-font-display);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.lh-astro-section-header > p {
  color: var(--lh-muted);
  line-height: 1.7;
}

.lh-astro-placement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lh-astro-placement {
  min-height: 580px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
}

.lh-astro-placement > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 82px;
  margin-bottom: 14px;
}

.lh-astro-symbol {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 60%, var(--lh-border));
  border-radius: 50%;
  color: var(--lh-gold);
  background: var(--lh-surface);
  font-family: var(--lh-font-display);
  font-size: 1.5rem;
}

.lh-astro-placement h3,
.lh-astro-placement p {
  margin-top: 0;
}

.lh-astro-placement h3 {
  margin-bottom: 0;
  font-family: var(--lh-font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.lh-astro-role {
  min-height: 84px;
  margin: 10px 0 20px;
  color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-muted));
  line-height: 1.62;
}

.lh-astro-placement > header + .lh-astro-role {
  margin-top: 12px;
}

.lh-astro-reading {
  min-height: 124px;
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: 1.2rem;
  line-height: 1.55;
}

.lh-astro-polarities {
  display: grid;
  gap: 1px;
  margin: 0 0 16px;
  background: var(--lh-border);
}

.lh-astro-polarities > div {
  min-height: 88px;
  padding: 12px;
  background: var(--lh-surface);
}

.lh-astro-polarities dt,
.lh-astro-polarities dd {
  margin: 0;
}

.lh-astro-polarities dt {
  color: var(--lh-gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-astro-polarities dd {
  margin-top: 5px;
  color: var(--lh-muted);
  line-height: 1.45;
}

.lh-astro-placement blockquote {
  margin: 0 0 18px;
  padding: 12px 0 12px 14px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  line-height: 1.45;
}

.lh-astro-reliability {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--lh-border);
}

.lh-astro-reliability strong {
  color: var(--lh-gold);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.lh-astro-reliability span {
  color: var(--lh-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.lh-astro-precision-note {
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--lh-muted) 78%, transparent);
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: right;
}

.lh-astro-ai-synthesis,
.lh-astro-ai-status {
  border-top: 1px solid var(--lh-border);
  border-bottom: 1px solid var(--lh-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lh-gold) 7%, transparent), transparent 46%),
    color-mix(in srgb, var(--lh-gold) 3%, var(--lh-surface));
}

.lh-astro-ai-synthesis > header {
  max-width: 1040px;
  padding: clamp(34px, 5vw, 72px) clamp(24px, 5vw, 76px);
}

.lh-astro-ai-synthesis > header h3 {
  max-width: 880px;
  margin: 8px 0 18px;
  font-family: var(--lh-font-display);
  font-size: clamp(2.2rem, 4.2vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
}

.lh-astro-ai-synthesis > header > p:last-child {
  max-width: 820px;
  padding-left: 18px;
  border-left: 2px solid var(--lh-gold);
  color: color-mix(in srgb, var(--lh-text) 94%, #fff 6%);
  font-family: var(--lh-font-display);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.55;
}

.lh-astro-ai-movements,
.lh-astro-ai-resolution {
  display: grid;
  border-top: 1px solid var(--lh-border);
}

.lh-astro-ai-movements { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lh-astro-ai-resolution { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lh-astro-ai-movements article,
.lh-astro-ai-resolution article {
  position: relative;
  padding: clamp(24px, 3.5vw, 48px);
  border-right: 1px solid var(--lh-border);
}

.lh-astro-ai-movements article:last-child,
.lh-astro-ai-resolution article:last-child { border-right: 0; }
.lh-astro-ai-movements span {
  min-width: 38px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 42%, var(--lh-border));
  color: var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 8%, transparent);
  font: 700 0.78rem/1 var(--lh-font-body);
}
.lh-astro-ai-synthesis h4 {
  margin: 14px 0 16px;
  color: color-mix(in srgb, var(--lh-gold) 78%, var(--lh-text));
  font: 500 clamp(1.4rem, 2vw, 2rem)/1.05 var(--lh-font-display);
}
.lh-astro-ai-synthesis article p { color: color-mix(in srgb, var(--lh-text) 86%, var(--lh-muted)); line-height: 1.72; }
.lh-astro-ai-synthesis article p,
.lh-astro-ai-resolution blockquote {
  color: color-mix(in srgb, var(--lh-text) 93%, #fff 5%);
}
.lh-astro-ai-movements article,
.lh-astro-ai-resolution article {
  background: color-mix(in srgb, var(--lh-surface) 70%, transparent);
}
.lh-astro-ai-resolution .is-tension { border-top: 2px solid color-mix(in srgb, #a96858 70%, transparent); }
.lh-astro-ai-resolution .is-integration { border-top: 2px solid color-mix(in srgb, var(--lh-gold) 70%, transparent); }
.lh-astro-ai-resolution .is-tension h4 { color: color-mix(in srgb, #c98578 72%, var(--lh-text)); }
.lh-astro-ai-resolution .is-integration h4 { color: color-mix(in srgb, var(--lh-gold) 84%, var(--lh-text)); }
.lh-astro-ai-resolution article > strong { display: block; margin-top: 18px; color: var(--lh-gold); line-height: 1.55; }
.lh-astro-ai-resolution blockquote { margin: 22px 0 0; padding: 14px 0 14px 18px; border-left: 2px solid var(--lh-gold); font-family: var(--lh-font-display); font-size: 1.2rem; line-height: 1.45; }
.lh-astro-ai-synthesis > footer { padding: 14px clamp(24px, 5vw, 76px); border-top: 1px solid var(--lh-border); color: var(--lh-muted); font-size: 0.72rem; }

.lh-astro-ai-term {
  display: inline;
  margin: 0;
  color: var(--lh-text);
  font-weight: 800;
  line-height: inherit;
}

.lh-astro-ai-term.is-astro,
.lh-astro-ai-term.is-house {
  color: var(--lh-gold);
}

.lh-astro-ai-term.is-key {
  color: color-mix(in srgb, var(--lh-text) 96%, var(--lh-gold) 16%);
}

.lh-astro-ai-status {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 54px);
}

.lh-astro-ai-status h3 { margin: 5px 0 8px; font-family: var(--lh-font-display); font-size: clamp(1.7rem, 2.5vw, 2.6rem); }
.lh-astro-ai-status p { max-width: 720px; color: var(--lh-muted); }
.lh-astro-ai-status .lh-btn { margin-left: auto; }
.lh-astro-ai-pulse { width: 54px; height: 54px; flex: 0 0 auto; border: 1px solid var(--lh-gold); border-radius: 50%; box-shadow: 0 0 0 0 color-mix(in srgb, var(--lh-gold) 34%, transparent); animation: astroAiPulse 1.9s ease-out infinite; }

.lh-astro-ai-status--celestial {
  position: relative;
  min-height: clamp(300px, 38vw, 470px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 26%, color-mix(in srgb, var(--lh-gold) 14%, transparent), transparent 28%),
    radial-gradient(circle at 76% 68%, rgba(64, 79, 121, 0.22), transparent 34%),
    linear-gradient(145deg, #080b13 0%, #11131d 46%, #17140f 100%);
}

.lh-astro-loading-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.lh-astro-loading-sky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 12, .18), rgba(5, 7, 12, .72) 62%); }
.lh-astro-loading-stars i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #f7e7bd;
  box-shadow: 0 0 8px rgba(239, 211, 152, .72);
  animation: lhAstroTwinkle 4.2s ease-in-out var(--delay) infinite;
}
.lh-astro-loading-orbit { position: absolute; left: 16%; top: 50%; border: 1px solid rgba(222, 190, 119, .18); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.lh-astro-loading-orbit.is-one { width: 270px; height: 270px; }
.lh-astro-loading-orbit.is-two { width: 390px; height: 180px; }
.lh-astro-loading-moon { position: absolute; left: 16%; top: 50%; width: 92px; height: 92px; border: 1px solid rgba(232, 205, 145, .52); border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 36% 32%, #e8d9b8 0 4%, #bfa877 5% 8%, #3b362d 34%, #11131a 72%); box-shadow: 0 0 42px rgba(217, 184, 112, .2), inset -16px -10px 26px rgba(0, 0, 0, .58); animation: lhAstroMoonBreathe 5s ease-in-out infinite; }
.lh-astro-shooting-star { position: absolute; width: 7px; height: 7px; opacity: 0; border-radius: 50%; background: #fff8dc; box-shadow: 0 0 5px #fff, 0 0 12px rgba(239, 207, 137, .95), 0 0 24px rgba(239, 207, 137, .55); animation: lhAstroShootingStar 6.8s ease-in infinite; }
.lh-astro-shooting-star::before { content: ''; position: absolute; right: 3px; top: 50%; width: 82px; height: 10px; transform: translateY(-50%); transform-origin: 100% 50%; clip-path: polygon(0 50%, 100% 4%, 100% 96%); background: linear-gradient(90deg, transparent 0%, rgba(213, 186, 126, .08) 36%, rgba(255, 240, 202, .72) 100%); filter: blur(.35px); }
.lh-astro-shooting-star::after { content: ''; position: absolute; inset: -5px; background: linear-gradient(transparent 46%, rgba(255, 247, 222, .8) 49% 51%, transparent 54%), linear-gradient(90deg, transparent 46%, rgba(255, 247, 222, .8) 49% 51%, transparent 54%); transform: rotate(12deg); }
.lh-astro-shooting-star.is-one { left: 18%; top: 18%; }
.lh-astro-shooting-star.is-two { left: 52%; top: 62%; animation-delay: 3.7s; animation-duration: 8.4s; }
.lh-astro-loading-copy { margin-left: clamp(120px, 26vw, 390px); max-width: 720px; }
.lh-astro-loading-copy .lh-kicker { color: #d8bb78; }
.lh-astro-loading-copy h3 { color: #f6f0e4; font-size: clamp(2.1rem, 4vw, 4.5rem); line-height: .98; }
.lh-astro-loading-copy p { color: rgba(246, 240, 228, .72); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.lh-astro-loading-copy small { display: block; margin-top: 22px; color: rgba(216, 187, 120, .8); letter-spacing: .08em; text-transform: uppercase; }

@keyframes lhAstroTwinkle { 0%, 100% { opacity: .18; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes lhAstroMoonBreathe { 0%, 100% { box-shadow: 0 0 34px rgba(217, 184, 112, .14), inset -16px -10px 26px rgba(0, 0, 0, .58); } 50% { box-shadow: 0 0 62px rgba(217, 184, 112, .3), inset -16px -10px 26px rgba(0, 0, 0, .58); } }
@keyframes lhAstroShootingStar { 0%, 72% { opacity: 0; transform: translate3d(0, 0, 0) rotate(24deg) scale(.65); } 75% { opacity: 1; } 79% { opacity: 1; transform: translate3d(105px, 49px, 0) rotate(24deg) scale(1); } 88%, 100% { opacity: 0; transform: translate3d(360px, 168px, 0) rotate(24deg) scale(.78); } }

@media (max-width: 720px) {
  .lh-astro-ai-status--celestial { min-height: 430px; align-items: flex-end; padding-top: 190px; }
  .lh-astro-loading-copy { margin-left: 0; }
  .lh-astro-loading-moon, .lh-astro-loading-orbit { left: 50%; top: 28%; }
  .lh-astro-loading-sky::after { background: linear-gradient(180deg, rgba(5, 7, 12, .12), rgba(5, 7, 12, .84) 62%); }
}

@media (prefers-reduced-motion: reduce) {
  .lh-astro-loading-stars i, .lh-astro-loading-moon, .lh-astro-shooting-star { animation: none; }
  .lh-astro-loading-stars i { opacity: .72; }
  .lh-astro-shooting-star { display: none; }
}

@keyframes astroAiPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lh-gold) 34%, transparent); opacity: 0.65; }
  70% { box-shadow: 0 0 0 18px transparent; opacity: 1; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 0.65; }
}

.lh-astro-placement.is-unavailable {
  opacity: 0.72;
  border-style: dashed;
}

.lh-astro-integration {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
}

.lh-astro-integration-copy {
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--lh-border);
  background: color-mix(in srgb, var(--lh-gold) 6%, var(--lh-surface));
}

.lh-astro-integration-copy p:last-child {
  color: var(--lh-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.lh-astro-integration-movements {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.lh-astro-integration-movements p {
  max-width: 62ch;
  margin: 0;
  color: var(--lh-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.68;
}

.lh-astro-integration-movements strong { color: var(--lh-text); }

.lh-astro-integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lh-astro-integration-grid > div {
  min-height: 270px;
  padding: 26px 20px;
  border-right: 1px solid var(--lh-border);
}

.lh-astro-integration-grid > div:last-child {
  border-right: 0;
}

.lh-astro-integration-grid span,
.lh-astro-integration-grid strong {
  display: block;
}

.lh-astro-integration-grid span {
  color: var(--lh-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-astro-integration-grid strong {
  min-height: 72px;
  margin-top: 12px;
  font-family: var(--lh-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.lh-astro-integration-grid p {
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-astro-integration-grid small {
  display: block;
  margin-top: 16px;
  color: color-mix(in srgb, var(--lh-muted) 78%, transparent);
  font-size: 0.72rem;
  line-height: 1.5;
}

.lh-astro-element-balance,
.lh-astro-watch-adjustment {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--lh-gold);
}

.lh-astro-element-balance strong,
.lh-astro-watch-adjustment strong {
  display: inline;
  min-height: 0;
  margin: 0;
  color: var(--lh-text);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
}

.lh-natal-synthesis-key em {
  display: block;
  margin-top: 14px;
  color: var(--lh-gold);
  font-style: normal;
  line-height: 1.6;
}

.lh-astro-depth {
  overflow: hidden;
}

.lh-astro-depth > summary {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
}

.lh-astro-depth > summary::-webkit-details-marker {
  display: none;
}

.lh-astro-depth > summary span,
.lh-astro-depth > summary small,
.lh-astro-depth > summary strong {
  display: block;
}

.lh-astro-depth > summary small {
  color: var(--lh-gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-astro-depth > summary strong {
  margin-top: 4px;
  font-family: var(--lh-font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.lh-astro-depth > summary b {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-gold);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.lh-astro-depth[open] > summary b {
  transform: rotate(45deg);
}

.lh-astro-depth-content {
  padding: 4px 24px 28px;
  border-top: 1px solid var(--lh-border);
}

.lh-astro-depth-intro,
.lh-astro-method-note {
  max-width: 980px;
  color: var(--lh-muted);
  line-height: 1.7;
}

.lh-astro-correspondence-grid,
.lh-astro-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.lh-astro-correspondence-grid > article,
.lh-astro-method-grid > article {
  padding: 20px;
  border: 1px solid var(--lh-border);
  background: var(--lh-surface-2);
}

.lh-astro-correspondence-grid > article > span {
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 2.2rem;
}

.lh-astro-correspondence-grid h3,
.lh-astro-method-grid h3 {
  margin: 4px 0 16px;
  font-family: var(--lh-font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.lh-astro-correspondence-grid dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.lh-astro-correspondence-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--lh-border);
}

.lh-astro-correspondence-grid dt,
.lh-astro-correspondence-grid dd {
  margin: 0;
}

.lh-astro-correspondence-grid dt,
.lh-astro-method-grid p {
  color: var(--lh-muted);
}

.lh-astro-correspondence-grid dd {
  color: var(--lh-text);
  text-align: right;
}

.lh-astro-arcane-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.lh-astro-arcane {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
  text-align: center;
  color: var(--lh-muted);
}

.lh-astro-arcane img {
  width: min(100%, 148px);
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: cover;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  background: var(--lh-surface-2);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
}

.lh-astro-arcane figcaption,
.lh-astro-arcane strong,
.lh-astro-arcane small {
  display: block;
}

.lh-astro-arcane strong {
  color: var(--lh-text);
}

.lh-astro-method-grid > article > strong {
  color: var(--lh-gold);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.lh-astro-method-note {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--lh-gold);
}

@media (prefers-reduced-motion: no-preference) {
  .lh-astro-orbit-ring {
    animation: lhAstroBreath 5s ease-in-out infinite;
  }
}

@keyframes lhAstroBreath {
  0%, 100% { opacity: 0.48; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

.lh-kabbalah-arcane-grid {
  display: grid;
  gap: 14px;
}

.lh-kabbalah-tradition {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.lh-kabbalah-tradition ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-kabbalah-path {
  display: grid;
  gap: 12px;
}

.lh-kabbalah-path-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--lh-border);
}

.lh-kabbalah-path-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.lh-kabbalah-path-step > span {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-gold);
  background: rgba(0,0,0,0.18);
  font-family: var(--lh-font-display);
  font-size: 0.95rem;
}

.lh-kabbalah-path-step h4,
.lh-kabbalah-path-step p {
  margin-top: 0;
}

.lh-kabbalah-path-step small,
.lh-kabbalah-origin {
  display: block;
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-kabbalah-ai-synthesis {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 32%, var(--lh-border));
  border-radius: var(--lh-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 12%, transparent), transparent 42%),
    color-mix(in srgb, var(--lh-surface-2) 92%, #101823 8%);
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--lh-gold) 74%, transparent), 0 24px 54px rgba(0,0,0,0.18);
}

.lh-kabbalah-ai-synthesis > header {
  padding: clamp(6px, 1vw, 14px) 0 clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 38%, var(--lh-border));
}

.lh-kabbalah-ai-synthesis > header h3 { color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-gold)); font-size: clamp(1.8rem, 3vw, 3.1rem); }
.lh-kabbalah-opening { max-width: 1120px; }
.lh-kabbalah-opening p { margin: 12px 0 0; color: color-mix(in srgb, var(--lh-text) 94%, #fff 4%); line-height: 1.78; }
.lh-kabbalah-tree-reading {
  padding: clamp(24px, 3.2vw, 40px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--lh-gold) 9%, transparent), transparent 46%),
    color-mix(in srgb, var(--lh-surface) 90%, transparent);
  border-left: 2px solid color-mix(in srgb, var(--lh-gold) 82%, var(--lh-border));
}
.lh-kabbalah-tree-reading h4 { color: var(--lh-gold); font-size: clamp(1.35rem, 2vw, 2rem); }
.lh-kabbalah-tree-reading > div > p { margin: 0; line-height: 1.82; }
.lh-kabbalah-tree-reading .lh-reading-prose { max-width: 92ch; }
.lh-kabbalah-decision {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 46px);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 18%, transparent), transparent 58%),
    color-mix(in srgb, var(--lh-gold) 8%, var(--lh-surface));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--lh-gold) 34%, transparent);
}
.lh-kabbalah-decision > strong { color: color-mix(in srgb, var(--lh-gold) 86%, var(--lh-text)); font-size: clamp(1.05rem, 1.2vw, 1.22rem); line-height: 1.58; }
.lh-kabbalah-decision ol { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: decision; }
.lh-kabbalah-decision li { counter-increment: decision; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-muted)); line-height: 1.55; }
.lh-kabbalah-decision li::before { content: counter(decision); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--lh-gold); color: var(--lh-gold); font-weight: 800; }

.lh-kabbalah-ai-synthesis header h3,
.lh-kabbalah-ai-synthesis h4,
.lh-kabbalah-ai-synthesis p {
  margin-top: 0;
}

.lh-kabbalah-ai-focus,
.lh-kabbalah-ai-resolution {
  display: grid;
  gap: 14px;
}

.lh-kabbalah-ai-focus {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lh-kabbalah-ai-focus article,
.lh-kabbalah-ai-resolution {
  padding: 16px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: color-mix(in srgb, var(--lh-surface) 88%, #14202a 12%);
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--lh-gold) 34%, transparent);
}

.lh-kabbalah-ai-synthesis header > p:last-child,
.lh-kabbalah-ai-synthesis article > p,
.lh-kabbalah-ai-focus article > p {
  color: color-mix(in srgb, var(--lh-text) 90%, #fff 6%);
  font-size: 1.02rem;
  line-height: 1.72;
}

.lh-kabbalah-ai-focus strong,
.lh-kabbalah-ai-resolution strong {
  display: block;
  margin-top: 10px;
  color: var(--lh-gold);
  line-height: 1.45;
}

.lh-kabbalah-ai-resolution blockquote {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
}

.lh-kabbalah-ai-synthesis footer {
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-kabbalah-firstname-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 26px 0 30px;
  padding: clamp(22px, 3vw, 34px);
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface-2));
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 48%, var(--lh-border));
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 28%, var(--lh-border));
}

.lh-kabbalah-firstname-note h4,
.lh-kabbalah-firstname-note p {
  margin: 0;
}

.lh-kabbalah-firstname-note h4 {
  margin: 5px 0 8px;
  color: var(--lh-text);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 400;
}

.lh-kabbalah-firstname-note div > p:last-child {
  max-width: 76ch;
  color: color-mix(in srgb, var(--lh-text) 82%, var(--lh-muted));
  line-height: 1.65;
}

.lh-kabbalah-tree {
  display: block;
}

.lh-kabbalah-tree-stage {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 18px;
  border-radius: var(--lh-radius);
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--lh-gold) 10%, transparent), transparent 34%),
    color-mix(in srgb, var(--lh-bg) 88%, #000);
}

.lh-kabbalah-tree-svg {
  width: min(100%, 640px);
  height: auto;
  overflow: visible;
}

.lh-kabbalah-tree-path line {
  stroke: color-mix(in srgb, var(--lh-gold) 42%, #f7ead0 8%);
  stroke-width: 2.8;
  opacity: 0.68;
  pointer-events: stroke;
  transition: stroke 180ms ease, stroke-width 180ms ease, opacity 180ms ease, filter 180ms ease;
}

.lh-kabbalah-tree-path {
  cursor: pointer;
  outline: none;
}

.lh-kabbalah-tree-path-label {
  opacity: 1;
  display: none;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
  fill: #fff7e9;
  stroke: rgba(0,0,0,0.92);
  stroke-width: 5px;
  paint-order: stroke;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

.lh-kabbalah-tree-path:hover line,
.lh-kabbalah-tree-path:focus-visible line {
  stroke: #f7d861;
  stroke-width: 5;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(247,216,97,0.58));
}

.lh-kabbalah-tree-path:hover .lh-kabbalah-tree-path-label,
.lh-kabbalah-tree-path:focus-visible .lh-kabbalah-tree-path-label,
.lh-kabbalah-tree-path.is-path-hovered .lh-kabbalah-tree-path-label {
  display: block;
}

.lh-kabbalah-tree-path.is-active line {
  stroke: #f2cf53;
  stroke-width: 4.2;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(242,207,83,0.34));
}

.lh-kabbalah-tree-path.is-master-active line {
  stroke: #ffdf5c;
  stroke-width: 5;
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(255,223,92,0.58));
}

.lh-kabbalah-tree-path.is-central.is-master-active line {
  stroke-width: 5;
}

html[data-theme="light"] .lh-kabbalah-tree-path line {
  stroke: color-mix(in srgb, #765315 72%, #efe4cf 12%);
  opacity: 0.78;
}

html[data-theme="light"] .lh-kabbalah-tree-path:hover line,
html[data-theme="light"] .lh-kabbalah-tree-path:focus-visible line {
  stroke: #8f6720;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(118, 83, 21, 0.26));
}

html[data-theme="light"] .lh-kabbalah-tree-path.is-active line {
  stroke: #8a5e1d;
  opacity: 1;
  filter: drop-shadow(0 0 9px rgba(118, 83, 21, 0.22));
}

html[data-theme="light"] .lh-kabbalah-tree-path.is-master-active line {
  stroke: #a2772a;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(118, 83, 21, 0.3));
}

html[data-theme="light"] .lh-kabbalah-tree-stage {
  background:
    radial-gradient(circle at 50% 34%, rgba(118, 83, 21, 0.09), transparent 36%),
    #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(118, 83, 21, 0.14);
}

html[data-theme="light"] .lh-kabbalah-tree-path-label {
  fill: #34230f;
  stroke: rgba(255, 253, 248, 0.96);
}

.lh-kabbalah-tree-node {
  cursor: pointer;
  outline: none;
}

.lh-kabbalah-tree-node circle {
  fill: #080604;
  stroke: color-mix(in srgb, var(--lh-gold) 64%, #fff 6%);
  stroke-width: 3;
  transition: fill 180ms ease, stroke 180ms ease, stroke-width 180ms ease, filter 180ms ease;
}

.lh-kabbalah-tree-node .lh-kabbalah-tree-halo {
  fill: none;
  stroke: color-mix(in srgb, var(--lh-gold) 68%, #fff 8%);
  stroke-width: 2.25;
  opacity: 0.96;
}

.lh-kabbalah-tree-node text {
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
}

.lh-kabbalah-tree-number {
  fill: #ffdc5f;
  font-family: var(--lh-font-display);
  font-size: 17px;
}

.lh-kabbalah-tree-name {
  fill: #fff7e9;
  font-size: 15px;
  font-weight: 700;
}

.lh-kabbalah-tree-title {
  fill: color-mix(in srgb, var(--lh-text) 78%, #fff 10%);
  font-size: 12px;
}

.lh-kabbalah-tree-node.is-active circle {
  fill: #0a0703;
  stroke: #f4d35f;
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(244,211,95,0.4));
}

.lh-kabbalah-tree-node.is-master-active circle {
  fill: #0b0702;
  stroke: #ffdf5c;
  filter: drop-shadow(0 0 18px rgba(255,223,92,0.62));
}

.lh-kabbalah-tree-node.is-selected circle,
.lh-kabbalah-tree-node:focus-visible circle,
.lh-kabbalah-tree-node.is-card-hovered circle {
  stroke: #fff7e9;
  stroke-width: 5.2;
  filter: drop-shadow(0 0 18px rgba(255,223,92,0.78));
}

html[data-theme="light"] .lh-kabbalah-tree-node circle:not(.lh-kabbalah-tree-halo) {
  fill: #ffffff;
  stroke: #765315;
  stroke-width: 3.2;
  filter: none;
}

html[data-theme="light"] .lh-kabbalah-tree-node .lh-kabbalah-tree-halo {
  fill: none;
  stroke: rgba(118, 83, 21, 0.38);
  opacity: 1;
}

html[data-theme="light"] .lh-kabbalah-tree-number {
  fill: #8a5e1d;
}

html[data-theme="light"] .lh-kabbalah-tree-name {
  fill: #25190b;
}

html[data-theme="light"] .lh-kabbalah-tree-title {
  fill: #6a563f;
}

html[data-theme="light"] .lh-kabbalah-tree-node.is-active circle:not(.lh-kabbalah-tree-halo) {
  fill: #ffffff;
  stroke: #6f4b16;
  stroke-width: 4.2;
  filter: drop-shadow(0 0 11px rgba(118, 83, 21, 0.22));
}

html[data-theme="light"] .lh-kabbalah-tree-node.is-master-active circle:not(.lh-kabbalah-tree-halo) {
  fill: #ffffff;
  stroke: #9b711c;
  filter: drop-shadow(0 0 15px rgba(118, 83, 21, 0.3));
}

html[data-theme="light"] .lh-kabbalah-tree-node.is-selected circle:not(.lh-kabbalah-tree-halo),
html[data-theme="light"] .lh-kabbalah-tree-node:focus-visible circle:not(.lh-kabbalah-tree-halo),
html[data-theme="light"] .lh-kabbalah-tree-node.is-card-hovered circle:not(.lh-kabbalah-tree-halo) {
  fill: #ffffff;
  stroke: #34230f;
  stroke-width: 5.2;
  filter: drop-shadow(0 0 17px rgba(118, 83, 21, 0.3));
}

.lh-kabbalah-tree-pillar {
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lh-kabbalah-tree-stage:hover .lh-kabbalah-tree-pillar,
.lh-kabbalah-tree-stage:focus-within .lh-kabbalah-tree-pillar {
  opacity: 1;
}

.lh-kabbalah-tree-pillar line {
  stroke: rgba(255,247,233,0.48);
  stroke-dasharray: 6 8;
  stroke-width: 1.6;
}

.lh-kabbalah-tree-pillar text {
  text-anchor: middle;
  fill: #fff7e9;
  stroke: rgba(0,0,0,0.84);
  stroke-width: 4px;
  paint-order: stroke;
  font-size: 10.5px;
  font-weight: 900;
}

html[data-theme="light"] .lh-kabbalah-tree-pillar line {
  stroke: rgba(82, 58, 25, 0.38);
}

html[data-theme="light"] .lh-kabbalah-tree-pillar text {
  fill: #4d3514;
  stroke: rgba(248, 248, 246, 0.86);
}

.lh-kabbalah-tree-pillar-subtitle {
  display: none;
}

.lh-kabbalah-focus {
  display: grid;
  gap: 16px;
  min-height: 440px;
  padding: 22px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
}

.lh-kabbalah-focus-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.lh-kabbalah-focus-heading > span {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 1.35rem;
}

.lh-kabbalah-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.lh-kabbalah-focus-grid div {
  padding: 12px;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
}

.lh-kabbalah-focus-grid dt {
  color: var(--lh-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lh-kabbalah-focus-grid dd {
  margin: 6px 0 0;
  line-height: 1.5;
}

.lh-kabbalah-active-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.lh-kabbalah-active-groups,
.lh-kabbalah-active-group {
  display: grid;
  gap: 18px;
}

.lh-kabbalah-active-groups {
  gap: 30px;
}

.lh-kabbalah-active-group-heading {
  display: grid;
  gap: 6px;
}

.lh-kabbalah-active-group-heading h4,
.lh-kabbalah-active-group-heading p {
  margin: 0;
}

.lh-kabbalah-active-group-heading h4 {
  color: var(--lh-text);
  font-size: 1.02rem;
}

.lh-kabbalah-active-group-heading p {
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-kabbalah-active-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: color-mix(in srgb, var(--lh-surface-2) 92%, #000);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lh-kabbalah-active-card:hover,
.lh-kabbalah-active-card:focus-within {
  border-color: #f4d35f;
  box-shadow: 0 0 0 1px rgba(244,211,95,0.42), 0 18px 38px rgba(244,211,95,0.12);
  transform: translateY(-2px);
}

.lh-kabbalah-active-card.is-master {
  border-color: color-mix(in srgb, var(--lh-gold) 48%, var(--lh-border));
  background: color-mix(in srgb, var(--lh-gold) 8%, var(--lh-surface-2));
}

.lh-kabbalah-number,
.lh-kabbalah-arcane-symbol {
  display: grid;
  place-items: center;
  border: 1px solid var(--lh-border);
  color: var(--lh-gold);
  background: rgba(0,0,0,0.18);
  font-family: var(--lh-font-display);
}

.lh-kabbalah-number {
  width: 54px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.lh-kabbalah-number span {
  font-family: var(--lh-font-display);
}

.lh-kabbalah-number small {
  color: var(--lh-muted);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.lh-kabbalah-active-card.is-master .lh-kabbalah-number {
  border-color: color-mix(in srgb, var(--lh-gold) 72%, #fff 8%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lh-gold) 12%, transparent);
}

.lh-kabbalah-active-card h4,
.lh-kabbalah-active-card p {
  margin-top: 0;
}

.lh-kabbalah-active-card h4 {
  margin-bottom: 4px;
  color: var(--lh-text);
  font-size: 1.22rem;
}

.lh-kabbalah-active-card strong {
  display: block;
  margin: 0 0 12px;
  color: var(--lh-gold);
  line-height: 1.35;
}

.lh-kabbalah-active-card p:not(.lh-kicker) {
  color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-muted));
  line-height: 1.62;
}

.lh-kabbalah-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.lh-kabbalah-tags span {
  padding: 5px 9px;
  border: 1px solid var(--lh-border);
  border-radius: 999px;
  color: var(--lh-muted);
  background: rgba(0,0,0,0.16);
  font-size: 0.78rem;
}

.lh-kabbalah-active-card small,
.lh-kabbalah-arcane-card small {
  display: block;
  line-height: 1.5;
  color: var(--lh-muted);
}

.lh-kabbalah-reading,
.lh-kabbalah-balance {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.lh-kabbalah-reading-flow,
.lh-kabbalah-pillar-meter {
  display: grid;
  gap: 10px;
}

.lh-kabbalah-reading-flow button,
.lh-kabbalah-pillar-meter div {
  display: grid;
  gap: 2px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  color: var(--lh-text);
  background: rgba(0,0,0,0.14);
  text-align: left;
}

.lh-kabbalah-reading-flow button {
  position: relative;
  min-height: 82px;
  padding: 0;
  perspective: 1000px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, min-height 240ms ease;
}

.lh-kabbalah-reading-flow button:hover,
.lh-kabbalah-reading-flow button:focus-visible {
  border-color: color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  box-shadow: 0 0 0 1px rgba(244,211,95,0.34), 0 14px 30px rgba(244,211,95,0.12);
}

.lh-kabbalah-reading-flow.has-expanded button:not(.is-expanded) {
  display: none;
}

.lh-kabbalah-reading-flow button.is-expanded {
  min-height: 100%;
}

.lh-kabbalah-reading-card-inner {
  position: relative;
  display: block;
  min-height: inherit;
  height: 100%;
  transition: transform 460ms ease;
  transform-style: preserve-3d;
}

.lh-kabbalah-reading-flow button.is-expanded .lh-kabbalah-reading-card-inner {
  transform: rotateY(180deg);
}

.lh-kabbalah-reading-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  backface-visibility: hidden;
}

.lh-kabbalah-reading-card-face.is-back {
  align-content: start;
  gap: 12px;
  transform: rotateY(180deg);
  overflow-y: auto;
}

.lh-kabbalah-reading-card-face.is-back small {
  line-height: 1.65;
}

.lh-kabbalah-reading-flow span,
.lh-kabbalah-pillar-meter span {
  font-weight: 800;
}

.lh-kabbalah-reading-flow small,
.lh-kabbalah-pillar-meter small {
  color: var(--lh-muted);
}

.lh-kabbalah-pillar-meter b {
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 1.6rem;
}

.lh-kabbalah-pillar-meter .is-dominant {
  border-color: color-mix(in srgb, var(--lh-gold) 50%, var(--lh-border));
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-kabbalah-balance > div > strong,
.lh-kabbalah-master-note {
  display: block;
  color: var(--lh-gold);
  line-height: 1.5;
}

.lh-kabbalah-balance-keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.lh-kabbalah-balance-keys article {
  padding: 14px;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  background: rgba(0,0,0,0.16);
}

.lh-kabbalah-balance-keys span {
  display: block;
  color: var(--lh-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.lh-kabbalah-balance-keys strong {
  display: block;
  margin: 5px 0 8px;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: 1.08rem;
}

.lh-kabbalah-balance-keys p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lh-kabbalah-arcane-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.lh-kabbalah-arcane-overview {
  display: grid;
  gap: 18px;
  margin: 18px 0;
  max-width: 1080px;
}

.lh-kabbalah-arcane-lines {
  display: grid;
  gap: 12px;
}

.lh-kabbalah-arcane-lines p {
  padding: 12px 14px;
  border-left: 2px solid color-mix(in srgb, var(--lh-gold) 74%, transparent);
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-kabbalah-arcane-overview p {
  margin: 0;
  color: color-mix(in srgb, var(--lh-text) 86%, #fff 8%);
  line-height: 1.65;
}

.lh-kabbalah-arcane-overview strong {
  color: var(--lh-gold);
}

.lh-kabbalah-arcane-card {
  display: block;
  height: 650px;
  padding: 0;
  border: 0;
  color: var(--lh-text);
  background: transparent;
  font: inherit;
  text-align: left;
  perspective: 1200px;
  cursor: pointer;
}

.lh-kabbalah-arcane-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 520ms ease;
  transform-style: preserve-3d;
}

.lh-kabbalah-arcane-card.is-flipped .lh-kabbalah-arcane-inner {
  transform: rotateY(180deg);
}

.lh-kabbalah-arcane-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: color-mix(in srgb, var(--lh-surface-2) 96%, #000);
  backface-visibility: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,0.28);
}

.lh-kabbalah-arcane-face.is-front {
  justify-items: center;
  text-align: center;
}

.lh-kabbalah-arcane-face.is-front > span:last-child {
  display: grid;
  gap: 10px;
}

.lh-kabbalah-arcane-face.is-front strong {
  font-size: 1.25rem;
}

.lh-kabbalah-arcane-motto {
  display: block;
  max-width: 28ch;
  margin: 34px auto 0;
  color: color-mix(in srgb, var(--lh-text) 78%, #fff 10%);
  font-style: italic;
  line-height: 1.55;
}

.lh-kabbalah-arcane-face.is-back {
  transform: rotateY(180deg);
  color: color-mix(in srgb, var(--lh-text) 92%, #fff);
  line-height: 1.55;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--lh-gold) 45%, transparent) transparent;
}

.lh-kabbalah-arcane-face.is-back > strong {
  font-size: 1.28rem;
}

.lh-kabbalah-arcane-face.is-back > span:not(.lh-kicker),
.lh-kabbalah-arcane-face.is-back em {
  color: color-mix(in srgb, var(--lh-text) 82%, var(--lh-muted));
  font-style: normal;
}

.lh-kabbalah-arcane-face.is-back b,
.lh-kabbalah-arcane-face.is-back small {
  color: var(--lh-gold);
}

.lh-kabbalah-arcane-face.is-back b {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.lh-kabbalah-arcane-card img,
.lh-kabbalah-arcane-symbol {
  width: min(100%, 220px);
  aspect-ratio: 2 / 3;
  border-radius: calc(var(--lh-radius) - 2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
}

.lh-kabbalah-arcane-card img {
  display: block;
  object-fit: cover;
  border: 1px solid var(--lh-border);
  background: var(--lh-surface-2);
}

.lh-kabbalah-arcane-symbol {
  font-size: 1.8rem;
}

.lh-entry-button {
  width: 100%;
  color: var(--lh-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto);
  min-height: 128px;
}

.lh-entry-button small {
  color: color-mix(in srgb, var(--lh-text) 82%, var(--lh-muted));
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.lh-entry-list-img {
  width: 86px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  background: var(--lh-surface);
}

.lh-entry-block {
  display: grid;
  gap: 10px;
}

.lh-entry-block.is-open {
  margin-bottom: 10px;
}

.lh-encyclopedia-hero {
  position: relative;
  overflow: hidden;
}

.lh-encyclopedia-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(380px, 42%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,179,94,0.58));
}

.lh-encyclopedia-progress {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 16px;
  appearance: none;
}

.lh-encyclopedia-progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.lh-encyclopedia-progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214,179,94,0.62), var(--lh-gold));
}

.lh-encyclopedia-progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214,179,94,0.62), var(--lh-gold));
}

.lh-encyclopedia-toolbar {
  display: grid;
  min-width: min(420px, 100%);
  gap: 10px;
}

.lh-encyclopedia-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lh-encyclopedia-filters button {
  min-height: 40px;
  border: 1px solid var(--lh-border);
  border-radius: 999px;
  background: var(--lh-surface-2);
  color: var(--lh-muted);
  padding: 8px 11px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.lh-encyclopedia-filters button.is-active {
  border-color: var(--lh-gold);
  background: rgba(214,179,94,0.14);
  color: var(--lh-text);
}

.lh-entry-block[hidden] {
  display: none;
}

.lh-encyclopedia-empty {
  margin-top: 16px;
}

.lh-encyclopedia-inline {
  overflow: hidden;
  scroll-margin-top: 112px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: rgba(255,255,255,0.018);
  animation: encyclopediaReveal 260ms ease both;
  transform-origin: top;
}

.lh-encyclopedia-inline:focus {
  outline: none;
}

.lh-encyclopedia-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding: clamp(16px, 2.8vw, 28px);
}

.lh-encyclopedia-detail-layout.has-media {
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  align-items: center;
}

.lh-encyclopedia-hero-img {
  width: 100%;
  max-height: min(680px, 72vh);
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface);
  box-shadow: 0 18px 42px rgba(0,0,0,0.34);
  position: static;
  max-height: 420px;
}

.lh-hermetism-symbol {
  position: static;
  display: grid;
  place-items: center;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 2 / 3;
  align-self: start;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 52%, var(--lh-border));
  border-radius: var(--lh-radius);
  background: #080705;
  box-shadow: 0 18px 42px rgba(0,0,0,0.34);
}

.lh-hermetism-symbol img {
  display: block;
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: saturate(0.82) contrast(1.08) brightness(0.98);
}

.lh-hermetism-symbol.is-compact {
  position: static;
  width: 72px;
  max-height: none;
  aspect-ratio: 2 / 3;
  grid-row: span 2;
  border-radius: 4px;
  box-shadow: none;
}

.lh-hermetism-symbol.is-compact img {
  width: 94%;
  height: 94%;
}

html[data-theme="light"] .lh-hermetism-symbol {
  background: #fffdf8;
  border-color: color-mix(in srgb, #74451f 72%, var(--lh-border));
  box-shadow: 0 16px 34px rgba(75, 43, 18, 0.14);
}

html[data-theme="light"] .lh-hermetism-symbol img {
  filter: sepia(1) saturate(0.72) hue-rotate(345deg) brightness(0.67) contrast(1.28);
}

.lh-encyclopedia-detail-copy h3 {
  margin: 0;
}

.lh-encyclopedia-detail-intro h3 { margin: 8px 0 10px; font-size: clamp(2rem, 3vw, 3.4rem); }
.lh-encyclopedia-detail-intro > p:last-child { max-width: 720px; font-size: 1.08rem; line-height: 1.65; }
.lh-encyclopedia-detail-copy { padding: 0 clamp(16px, 2.8vw, 28px) clamp(20px, 3vw, 34px); }

.lh-encyclopedia-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.lh-encyclopedia-entry section {
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
}

.lh-encyclopedia-entry h4 {
  margin: 0 0 8px;
  color: var(--lh-gold);
}

.lh-encyclopedia-entry p {
  margin: 0;
  line-height: 1.65;
}

.lh-encyclopedia-related {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--lh-border);
}

.lh-encyclopedia-related h4 {
  margin: 0 0 12px;
}

.lh-encyclopedia-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.lh-encyclopedia-related-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: color-mix(in srgb, var(--lh-surface-2) 78%, transparent);
  color: var(--lh-text);
  padding: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lh-encyclopedia-related-card:hover,
.lh-encyclopedia-related-card:focus-visible {
  border-color: color-mix(in srgb, var(--lh-gold) 72%, var(--lh-border));
  background: rgba(214,179,94,0.09);
}

.lh-encyclopedia-related-card .lh-entry-list-img,
.lh-encyclopedia-related-card .lh-hermetism-symbol.is-compact {
  width: 50px;
}

.lh-encyclopedia-related-card strong,
.lh-encyclopedia-related-card small {
  display: block;
}

.lh-encyclopedia-related-card small {
  margin-top: 3px;
  color: var(--lh-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.lh-encyclopedia-sources {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--lh-border);
}

.lh-encyclopedia-sources h4 {
  margin: 0 0 4px;
  color: var(--lh-gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lh-encyclopedia-sources ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lh-encyclopedia-source {
  color: var(--lh-muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.lh-encyclopedia-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 45%, var(--lh-border));
  border-radius: var(--lh-radius);
  color: var(--lh-text);
  background: var(--lh-surface);
  box-shadow: 0 30px 90px rgba(0,0,0,0.62);
}

.lh-encyclopedia-dialog::backdrop {
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(5px);
}

.lh-encyclopedia-dialog-shell {
  position: relative;
  max-height: calc(100dvh - 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.lh-encyclopedia-dialog-close {
  position: sticky;
  z-index: 3;
  top: 14px;
  float: right;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 14px 14px -56px 0;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-text);
  background: color-mix(in srgb, var(--lh-surface) 94%, #000);
  font: 400 1.8rem/1 var(--lh-font-body);
  cursor: pointer;
}

.lh-encyclopedia-dialog-close:hover,
.lh-encyclopedia-dialog-close:focus-visible {
  border-color: var(--lh-gold);
  color: var(--lh-gold);
}

@keyframes encyclopediaReveal {
  from {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

.lh-alchemy-hero {
  overflow: hidden;
  position: relative;
}

.lh-alchemy-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(280px, 45%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(214,179,94,0.56));
  pointer-events: none;
}

.lh-alchemy-active-symbol,
.lh-alchemy-phase-symbol {
  display: grid;
  place-items: center;
  border: 1px solid var(--lh-border);
  background: rgba(214,179,94,0.08);
  color: var(--lh-gold);
  font-family: var(--lh-font-title);
}

.lh-alchemy-hero-copy {
  position: relative;
  z-index: 1;
}

.lh-alchemy-reading-header,
.lh-alchemy-generation {
  display: grid;
  grid-template-columns: clamp(72px, 8vw, 104px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
}

.lh-alchemy-reading-header > div,
.lh-alchemy-generation > div {
  min-width: 0;
}

.lh-alchemy-stone-seal {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lh-gold);
}

.lh-alchemy-stone-seal .lh-hermetic-seal-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lh-alchemy-stone-seal .lh-hermetic-seal-main {
  stroke-width: 2;
  filter: none;
}

.lh-alchemy-stone-seal.is-complete .lh-hermetic-seal-main > * {
  animation: none !important;
  opacity: 0.96;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.lh-alchemy-active-symbol {
  width: 84px;
  aspect-ratio: 1;
  border-radius: var(--lh-radius);
  font-size: 2.2rem;
}

.lh-alchemy-work,
.lh-alchemy-cycle-map {
  display: grid;
  gap: 22px;
}

.lh-alchemy-formula {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-style: italic;
}

.lh-alchemy-formula small {
  max-width: 28ch;
  color: var(--lh-muted);
  font-family: var(--lh-font-body);
  font-size: .78rem;
  font-style: normal;
  text-align: right;
}

.lh-alchemy-revelation-copy {
  animation: alchemyRevelation 700ms ease both;
}

.lh-alchemy-revelation-copy > p:last-of-type {
  max-width: 72ch;
  margin-bottom: 0;
  color: var(--lh-text);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

@keyframes alchemyRevelation {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lh-alchemy-lived-panel,
.lh-alchemy-profile-reading {
  display: grid;
  gap: 14px;
}

.lh-alchemy-lived-panel > p,
.lh-alchemy-profile-reading > p {
  max-width: 76ch;
  margin: 0;
  line-height: 1.72;
}

.lh-alchemy-lived-panel > strong {
  display: block;
  max-width: 74ch;
  color: var(--lh-gold);
  line-height: 1.6;
}

.lh-alchemy-lived-panel > small,
.lh-alchemy-profile-reading footer {
  color: var(--lh-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.lh-alchemy-profile-reading > h2 {
  max-width: 30ch;
}

.lh-alchemy-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.lh-alchemy-work-grid section {
  min-width: 0;
  padding: 4px clamp(18px, 2.4vw, 32px);
  border-left: 1px solid var(--lh-border);
}

.lh-alchemy-work-grid section:first-child {
  padding-left: 0;
  border-left: 0;
}

.lh-alchemy-work-grid section > span {
  display: block;
  margin-bottom: 18px;
  color: color-mix(in srgb, var(--lh-gold) 54%, var(--lh-muted));
  font-family: var(--lh-font-display);
  font-size: 1.25rem;
}

.lh-alchemy-work-grid h4 {
  margin: 6px 0 12px;
  font-size: 1.12rem;
}

.lh-alchemy-work-grid p:last-child,
.lh-alchemy-support p {
  margin-bottom: 0;
  line-height: 1.68;
}

.lh-alchemy-cycle-map .lh-section-header > p {
  max-width: 58ch;
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.55;
}

.lh-alchemy-phase-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lh-alchemy-phase-step {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  min-height: 190px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  color: var(--lh-text);
  background: var(--lh-surface-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.lh-alchemy-phase-step:hover,
.lh-alchemy-phase-step:focus-visible {
  border-color: color-mix(in srgb, var(--lh-gold) 65%, var(--lh-border));
  transform: translateY(-2px);
}

.lh-alchemy-phase-step.is-active {
  border-color: var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 11%, var(--lh-surface-2));
}

.lh-alchemy-phase-index {
  color: var(--lh-muted);
  font-size: 0.75rem;
}

.lh-alchemy-phase-step .lh-alchemy-phase-symbol {
  width: 48px;
  aspect-ratio: 1;
  margin: 6px 0 10px;
  border-radius: 50%;
  font-size: 1.35rem;
}

.lh-alchemy-phase-step > strong {
  font-family: var(--lh-font-display);
  font-size: 1.2rem;
}

.lh-alchemy-phase-step > small {
  color: var(--lh-muted);
}

.lh-alchemy-metal-map {
  display: grid;
  gap: 30px;
}

.lh-alchemy-metal-map .lh-section-header > p {
  max-width: 58ch;
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.55;
}

.lh-alchemy-metal-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}

.lh-alchemy-metal-track::before {
  content: "";
  position: absolute;
  top: 37px;
  right: calc(100% / 14);
  left: calc(100% / 14);
  height: 1px;
  background: color-mix(in srgb, var(--lh-gold) 42%, var(--lh-border));
}

.lh-alchemy-metal-step {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--lh-muted);
  text-align: center;
}

.lh-alchemy-metal-node {
  width: 19px;
  aspect-ratio: 1;
  margin-bottom: 8px;
  border: 1.5px solid color-mix(in srgb, var(--lh-gold) 72%, var(--lh-border));
  border-radius: 50%;
  background: var(--lh-surface);
}

.lh-alchemy-metal-step strong {
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: 1.05rem;
}

.lh-alchemy-metal-step small {
  max-width: 18ch;
  color: var(--lh-text);
  font-weight: 700;
  line-height: 1.35;
}

.lh-alchemy-metal-step p {
  max-width: 19ch;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.lh-alchemy-metal-step.is-personal .lh-alchemy-metal-node {
  border-color: var(--lh-gold);
  background: var(--lh-gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--lh-gold) 16%, transparent);
}

.lh-alchemy-metal-step.is-personal strong,
.lh-alchemy-metal-step.is-personal small {
  color: var(--lh-gold);
}

.lh-alchemy-metal-cursor {
  position: absolute;
  top: -29px;
  color: var(--lh-gold);
  font-size: 0.82rem;
  line-height: 1;
}

.lh-alchemy-principle-map {
  display: grid;
  gap: 30px;
}

.lh-alchemy-principle-map .lh-section-header > p {
  max-width: 58ch;
  margin: 0;
  color: var(--lh-muted);
  line-height: 1.55;
}

.lh-alchemy-principle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 56px);
  padding: 30px 0 0;
  margin: 0;
  list-style: none;
}

.lh-alchemy-principle-track::before {
  content: "";
  position: absolute;
  top: 39px;
  right: calc(100% / 6);
  left: calc(100% / 6);
  height: 1px;
  background: color-mix(in srgb, var(--lh-gold) 42%, var(--lh-border));
}

.lh-alchemy-principle-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  text-align: center;
}

.lh-alchemy-principle-node {
  width: 20px;
  aspect-ratio: 1;
  margin-bottom: 9px;
  border: 1.5px solid color-mix(in srgb, var(--lh-gold) 72%, var(--lh-border));
  border-radius: 50%;
  background: var(--lh-surface);
}

.lh-alchemy-principle-step strong {
  color: var(--lh-text);
  font-family: var(--lh-font-display);
  font-size: 1.18rem;
}

.lh-alchemy-principle-step small {
  color: var(--lh-text);
  font-weight: 700;
}

.lh-alchemy-principle-step p {
  max-width: 34ch;
  margin: 0;
  color: var(--lh-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.lh-alchemy-principle-step.is-personal .lh-alchemy-principle-node {
  border-color: var(--lh-gold);
  background: var(--lh-gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--lh-gold) 16%, transparent);
}

.lh-alchemy-principle-step.is-personal strong,
.lh-alchemy-principle-step.is-personal small {
  color: var(--lh-gold);
}

.lh-alchemy-principle-cursor {
  position: absolute;
  top: -29px;
  color: var(--lh-gold);
  font-size: .82rem;
  line-height: 1;
}

.lh-alchemy-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.lh-alchemy-support > div {
  padding-right: clamp(20px, 3vw, 38px);
}

.lh-alchemy-support > div + div {
  padding-right: 0;
  padding-left: clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--lh-border);
}

.lh-alchemy-support-reading {
  display: grid;
  align-content: start;
  gap: 14px;
}

.lh-alchemy-support-reading h3,
.lh-alchemy-support-reading p {
  margin: 0;
}

.lh-alchemy-support-reading strong {
  color: var(--lh-text);
}

.lh-alchemy-support-work {
  padding-left: 16px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
}

.lh-alchemy-support .lh-text-link,
.lh-alchemy-hero .lh-text-link,
.lh-alchemy-lived-panel .lh-text-link,
.lh-alchemy-profile-reading .lh-text-link {
  display: inline-flex;
  padding: 0 0 3px;
  margin-top: 16px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 62%, transparent);
  border-radius: 0;
  color: var(--lh-gold);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.lh-alchemy-support .lh-text-link:hover,
.lh-alchemy-support .lh-text-link:focus-visible,
.lh-alchemy-hero .lh-text-link:hover,
.lh-alchemy-hero .lh-text-link:focus-visible,
.lh-alchemy-lived-panel .lh-text-link:hover,
.lh-alchemy-lived-panel .lh-text-link:focus-visible,
.lh-alchemy-profile-reading .lh-text-link:hover,
.lh-alchemy-profile-reading .lh-text-link:focus-visible {
  border-bottom-color: var(--lh-gold);
  color: var(--lh-text);
}

.lh-alchemy-method {
  padding-block: 0;
  margin-top: 10px;
  border-top: 1px solid var(--lh-border);
}

.lh-alchemy-method summary {
  padding-block: 20px;
  color: var(--lh-text);
  font-weight: 800;
  cursor: pointer;
}

.lh-alchemy-method > div {
  padding-bottom: 20px;
  color: var(--lh-muted);
  line-height: 1.65;
}

.lh-alchemy-phase-nigredo .lh-alchemy-phase-symbol {
  background: rgba(0,0,0,0.28);
}

.lh-alchemy-phase-albedo .lh-alchemy-phase-symbol {
  color: var(--lh-text);
  background: rgba(255,255,255,0.12);
}

.lh-alchemy-phase-citrinitas .lh-alchemy-phase-symbol {
  background: rgba(214,179,94,0.16);
}

.lh-alchemy-phase-rubedo .lh-alchemy-phase-symbol {
  color: #e8b3a3;
  background: rgba(139,32,32,0.22);
}

.lh-relationship-hero {
  position: relative;
  overflow: hidden;
}

.lh-relationship-page .lh-panel p,
.lh-relationship-page .lh-panel small {
  color: var(--lh-text);
}

.lh-relationship-page .lh-panel h2,
.lh-relationship-page .lh-panel h3,
.lh-relationship-page .lh-panel strong {
  color: var(--lh-text);
}

.lh-relationship-page .lh-panel .lh-kicker {
  color: color-mix(in srgb, var(--lh-gold) 86%, var(--lh-text));
}

.lh-relationship-page .lh-panel p > strong {
  color: var(--lh-gold);
}

.lh-relationship-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(360px, 42%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,179,94,0.58));
}

.lh-relationship-form-panel,
.lh-relationship-summary {
  min-height: 100%;
}

.lh-relationship-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lh-relationship-fields label {
  display: grid;
  gap: 8px;
}

.lh-relationship-hero-note,
.lh-relationship-limit,
.lh-relationship-privacy {
  color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted));
  font-size: 0.92rem;
}

.lh-relationship-hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.lh-relationship-hero-actions .lh-relationship-hero-note {
  margin: 0;
}

.lh-relationship-movement-details,
.lh-relationship-inner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.lh-relationship-movement-details p,
.lh-relationship-inner-grid > div {
  margin: 0;
  padding: 16px;
  border-left: 2px solid var(--lh-gold);
  background: var(--lh-surface-2);
}

.lh-relationship-inner-grid span,
.lh-relationship-inner-grid strong {
  display: block;
}

.lh-relationship-inner-grid span {
  color: color-mix(in srgb, var(--lh-text) 72%, var(--lh-muted));
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lh-relationship-inner-grid strong {
  margin-top: 8px;
  color: var(--lh-text);
}

.lh-relationship-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lh-relationship-duo > div,
.lh-relationship-dynamic {
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  padding: 14px;
}

.lh-relationship-duo span {
  display: block;
  color: color-mix(in srgb, var(--lh-text) 76%, var(--lh-muted));
  font-size: 0.86rem;
}

.lh-relationship-duo strong {
  display: block;
  margin: 4px 0;
  color: var(--lh-text);
}

.lh-relationship-reading {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

.lh-relationship-arcane-card {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  padding: 14px;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lh-relationship-arcane-card:hover,
.lh-relationship-arcane-card:focus-visible {
  border-color: var(--lh-gold);
  box-shadow: 0 18px 38px rgba(214,179,94,0.16);
  transform: translateY(-2px);
  outline: none;
}

.lh-relationship-arcane-img,
.lh-relationship-arcane-symbol {
  width: min(100%, 120px);
  aspect-ratio: 2 / 3;
  border: 1px solid var(--lh-border);
  border-radius: calc(var(--lh-radius) - 2px);
  background: var(--lh-surface);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.lh-relationship-arcane-img {
  display: block;
  object-fit: cover;
}

.lh-relationship-arcane-symbol {
  display: grid;
  place-items: center;
  color: var(--lh-gold);
  font-family: var(--lh-font-title);
  font-size: 1.8rem;
}

.lh-relationship-arcane-card h3,
.lh-relationship-arcane-card p {
  margin-top: 0;
}

.lh-relationship-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lh-relationship-consent input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--lh-gold);
}

.lh-relationship-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lh-relationship-arcane-dialog {
  width: min(1020px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(214,179,94,0.5);
  border-radius: var(--lh-radius);
  color: var(--lh-text);
  background: var(--lh-surface);
  box-shadow: 0 30px 90px rgba(0,0,0,0.68);
}

.lh-relationship-arcane-dialog::backdrop {
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
}

.lh-relationship-arcane-dialog-shell {
  position: relative;
  padding: clamp(22px, 4vw, 42px);
  text-align: center;
}

.lh-relationship-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-text);
  background: var(--lh-surface-2);
  font-size: 1.5rem;
  cursor: pointer;
}

.lh-relationship-arcane-flip {
  display: block;
  width: min(100%, 720px);
  height: min(68dvh, 720px);
  min-height: 520px;
  margin: 24px auto 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  perspective: 1400px;
  cursor: pointer;
}

.lh-relationship-arcane-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(.2,.75,.25,1);
}

.lh-relationship-arcane-flip.is-flipped .lh-relationship-arcane-flip-inner {
  transform: rotateY(180deg);
}

.lh-relationship-arcane-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.lh-relationship-arcane-face.is-front img {
  display: block;
  width: auto;
  max-width: 100%;
  height: calc(100% - 42px);
  object-fit: contain;
}

.lh-relationship-arcane-face.is-front small {
  margin-top: 14px;
  color: var(--lh-muted);
}

.lh-relationship-arcane-face.is-back {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  transform: rotateY(180deg);
}

.lh-relationship-arcane-face.is-back strong {
  color: var(--lh-gold);
  font-size: 1rem;
  line-height: 1.4;
}

.lh-relationship-arcane-face.is-back p {
  margin: 8px 0 22px;
  font-size: 1.08rem;
  line-height: 1.72;
}

.lh-relationship-arcane-face.is-back blockquote {
  margin: 6px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--lh-font-title);
  font-size: 1.28rem;
  line-height: 1.55;
}

.lh-relationship-dialogue {
  border-color: rgba(214,179,94,0.46);
}

.lh-relationship-dialogue blockquote {
  max-width: 900px;
  margin: 18px 0;
  padding-left: 20px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text);
  font-family: var(--lh-font-title);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.lh-journal-hero {
  position: relative;
  overflow: hidden;
}

.lh-journal-cover-stage {
  min-height: min(780px, calc(100svh - 96px));
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  background: color-mix(in srgb, var(--lh-surface-2) 88%, var(--lh-bg));
  border: 1px solid color-mix(in srgb, var(--lh-gold) 30%, var(--lh-border));
  border-radius: var(--lh-radius);
}

.lh-journal-cover-visual {
  position: relative;
  width: min(100%, 460px);
  justify-self: end;
  aspect-ratio: 2 / 3;
}

.lh-journal-cover-visual::after {
  position: absolute;
  right: 8%;
  bottom: -3%;
  left: 8%;
  height: 12%;
  background: color-mix(in srgb, var(--lh-bg) 82%, transparent);
  border-radius: 50%;
  content: "";
  filter: blur(18px);
  opacity: 0.62;
}

.lh-journal-cover-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px color-mix(in srgb, #000 52%, transparent));
}

.lh-journal-cover-copy { max-width: 640px; }

.lh-journal-cover-copy h2 {
  margin: 8px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
}

.lh-journal-cover-copy blockquote {
  max-width: 18ch;
  margin: 0 0 24px;
  padding: 0 0 0 22px;
  color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-gold));
  border-left: 2px solid var(--lh-gold);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  line-height: 1.22;
}

.lh-journal-cover-copy > p:not(.lh-kicker) {
  max-width: 50ch;
  margin: 0 0 30px;
  color: var(--lh-muted);
  line-height: 1.6;
}

.lh-journal-cover-copy .lh-btn { min-width: min(100%, 240px); }

.lh-journal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
}

html[data-theme="light"] .lh-journal-cover-stage {
  background: color-mix(in srgb, var(--lh-surface-2) 76%, #f5f1e8);
}

.lh-grimoire-open {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.lh-grimoire-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4px;
}

.lh-grimoire-toolbar p,
.lh-grimoire-toolbar strong { margin: 0; }

.lh-grimoire-toolbar strong {
  display: block;
  margin-top: 4px;
  color: var(--lh-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.lh-grimoire-spread {
  --lh-grimoire-accent: #d6b878;
  --lh-grimoire-accent-strong: #efd398;
  --lh-grimoire-accent-soft: #6f572a;
  --lh-grimoire-accent-muted: #c1ab83;
  position: relative;
  display: grid;
  grid-template-columns: minmax(370px, 0.86fr) minmax(480px, 1.14fr);
  min-width: 0;
  overflow: hidden;
  color: #eee3d1;
  background: #15110e;
  border: 1px solid color-mix(in srgb, var(--lh-grimoire-accent) 52%, #211a13);
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.lh-grimoire-spread::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 43%;
  width: 1px;
  background: color-mix(in srgb, var(--lh-grimoire-accent) 30%, #090706);
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.24), 10px 0 24px rgba(0, 0, 0, 0.2);
  content: "";
  pointer-events: none;
}

.lh-grimoire-page {
  min-width: 0;
  min-height: 760px;
  padding: clamp(28px, 3.6vw, 54px);
  background: #1b1612;
}

.lh-grimoire-year {
  display: grid;
  align-content: start;
  gap: clamp(26px, 3vw, 42px);
  border-right: 1px solid #090706;
  box-shadow: inset -18px 0 34px rgba(0, 0, 0, 0.16);
}

.lh-grimoire-year header { max-width: 48ch; }

.lh-grimoire-year header h2 {
  margin: 6px 0 12px;
  color: var(--lh-grimoire-accent-strong);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.86;
}

.lh-grimoire-year header > p:last-child {
  margin: 0;
  color: #b9ad9c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.lh-grimoire-sync-note {
  margin: -14px 0 0;
  color: var(--lh-grimoire-accent);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lh-grimoire-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 12px;
}

.lh-grimoire-month {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 0 0 9px;
  color: #bdb09e;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4b3d28;
  border-radius: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.lh-grimoire-month-image {
  aspect-ratio: 2 / 3;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b0908;
  border: 1px solid #403522;
}

.lh-grimoire-month img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lh-grimoire-month.is-empty img { opacity: 0.38; filter: saturate(0.55); }

.lh-grimoire-month:hover,
.lh-grimoire-month:focus-visible,
.lh-grimoire-month.is-selected { color: var(--lh-grimoire-accent-strong); border-bottom-color: var(--lh-grimoire-accent); }

.lh-grimoire-month.is-selected .lh-grimoire-month-image {
  border-color: var(--lh-grimoire-accent);
  box-shadow: 0 0 0 2px rgba(138, 106, 53, 0.16), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.lh-grimoire-month-page {
  display: grid;
  align-content: start;
  gap: 30px;
  background: #201a15;
  box-shadow: inset 18px 0 34px rgba(0, 0, 0, 0.13);
}

.lh-grimoire-month-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid #4b3d28;
}

.lh-grimoire-month-heading h2 {
  margin: 4px 0 0;
  color: #eadfcf;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 500;
  line-height: 0.86;
  text-transform: capitalize;
}

.lh-grimoire-oracle {
  display: grid;
  justify-items: center;
  gap: clamp(24px, 3vw, 36px);
}

.lh-grimoire-oracle-message .lh-reading-lead,
.lh-grimoire-oracle-message .lh-reading-prose { color: #d8cbbb; }

.lh-grimoire-oracle figure {
  width: min(100%, 210px);
  margin: 0 auto;
}

.lh-grimoire-oracle figure img {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: contain;
  background: #0b0908;
  border: 1px solid #5c4928;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.lh-grimoire-oracle figcaption {
  margin-top: 9px;
  color: var(--lh-grimoire-accent-strong);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
}

.lh-grimoire-oracle-message {
  width: min(100%, 68ch);
  justify-self: center;
}

.lh-grimoire-oracle-message > .lh-kicker { margin-bottom: 14px; }

.lh-grimoire-oracle-message .lh-reading-prose {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #4b3d28;
}

.lh-grimoire-seal {
  margin: 0;
  padding: 18px 22px;
  color: #f0e5d4;
  background: #17120f;
  border-top: 1px solid var(--lh-grimoire-accent-soft);
  border-bottom: 1px solid var(--lh-grimoire-accent-soft);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.42;
}

.lh-grimoire-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.lh-grimoire-section-title p,
.lh-grimoire-section-title span { margin: 0; }

.lh-grimoire-section-title span { color: #a99c8c; font-size: 0.78rem; }

.lh-grimoire-challenges article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid #473923;
}

.lh-grimoire-challenges article > span {
  color: var(--lh-grimoire-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.lh-grimoire-challenges h3,
.lh-grimoire-challenges p { margin: 0; }

.lh-grimoire-challenges h3 { color: #eee3d1; font-size: 1rem; }
.lh-grimoire-challenges p { margin-top: 5px; color: #bfb2a1; font-size: 0.9rem; line-height: 1.55; }

.lh-grimoire-challenge-toggle {
  min-height: 36px;
  padding: 7px 10px;
  color: var(--lh-grimoire-accent);
  background: transparent;
  border: 1px solid var(--lh-grimoire-accent-soft);
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.lh-grimoire-challenge-toggle:hover,
.lh-grimoire-challenge-toggle:focus-visible,
.lh-grimoire-challenges article.is-open .lh-grimoire-challenge-toggle {
  color: #17120f;
  background: var(--lh-grimoire-accent-strong);
}

.lh-grimoire-challenge-response {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 260ms ease, opacity 180ms ease, padding 260ms ease;
}

.lh-grimoire-challenge-response > div { overflow: hidden; }

.lh-grimoire-challenges article.is-open .lh-grimoire-challenge-response {
  grid-template-rows: 1fr;
  padding-top: 8px;
  opacity: 1;
}

.lh-grimoire-challenge-response form {
  padding: 16px;
  background: #17120f;
  border-left: 2px solid var(--lh-grimoire-accent);
}

.lh-grimoire-challenge-response textarea {
  width: 100%;
  min-height: 126px;
  resize: vertical;
  padding: 13px 14px;
  color: #eee3d1;
  background: #0b0908;
  border: 1px solid #4b3d28;
  font: inherit;
  line-height: 1.55;
}

.lh-grimoire-challenge-response textarea:focus { border-color: var(--lh-grimoire-accent); outline: none; }

.lh-grimoire-challenge-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.lh-grimoire-challenge-actions > span { color: #a99c8c; font-size: 0.75rem; }
.lh-grimoire-challenge-actions .lh-btn { min-height: 40px; padding: 9px 14px; }
.lh-grimoire-challenge-response .lh-form-error { margin: 8px 0 0; }

.lh-grimoire-empty-month {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
  padding: 10px 0 22px;
}

.lh-grimoire-empty-month img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  opacity: 0.58;
}

.lh-grimoire-empty-month h3 { margin: 8px 0 10px; color: #eee3d1; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; }
.lh-grimoire-empty-month p:not(.lh-kicker) { color: #bfb2a1; line-height: 1.6; }

.lh-grimoire-traces,
.lh-grimoire-saved-oracles,
.lh-journal-writing {
  padding-top: 26px;
  border-top: 1px solid #4b3d28;
}

.lh-journal-month-empty { margin: 0; color: #a99c8c; font-style: italic; }

.lh-grimoire-trace-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.lh-grimoire-trace-filters button {
  min-height: 32px;
  padding: 5px 10px;
  color: #bfb2a1;
  background: transparent;
  border: 1px solid #514127;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

.lh-grimoire-trace-filters button:hover,
.lh-grimoire-trace-filters button:focus-visible,
.lh-grimoire-trace-filters button.is-active {
  color: #18130f;
  background: var(--lh-grimoire-accent-strong);
  border-color: var(--lh-grimoire-accent-strong);
}

.lh-journal-month-entries { display: grid; }

.lh-journal-month-entry { border-top: 1px solid #403421; }

.lh-journal-month-entry summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
}

.lh-journal-month-entry summary::-webkit-details-marker { display: none; }
.lh-journal-month-entry summary time { color: var(--lh-grimoire-accent); font-family: var(--font-display); font-size: 1.2rem; }
.lh-journal-month-entry summary strong,
.lh-journal-month-entry summary small { display: block; }
.lh-journal-month-entry summary strong { color: #eee3d1; }
.lh-journal-month-entry summary small { margin-top: 4px; color: #9f9384; line-height: 1.4; }
.lh-journal-month-entry-body { padding: 0 0 20px 52px; color: #cbbfae; line-height: 1.65; }

.lh-grimoire-saved-reading {
  border-top: 1px solid #403421;
}

.lh-grimoire-oracle-orientations {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.lh-grimoire-oracle-orientations article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  background: #17120f;
  border-left: 1px solid #71592c;
}

.lh-grimoire-oracle-orientations article > span { color: var(--lh-grimoire-accent); font-family: var(--font-display); }
.lh-grimoire-oracle-orientations small { color: #a99c8c; }
.lh-grimoire-oracle-orientations p { margin: 4px 0 0; color: #d8cbbb; line-height: 1.55; }

.lh-grimoire-saved-reading > summary {
  display: grid;
  grid-template-columns: 38px 76px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
}

.lh-grimoire-saved-reading > summary::-webkit-details-marker { display: none; }
.lh-grimoire-saved-reading > summary time { color: var(--lh-grimoire-accent); font-size: 0.76rem; text-transform: uppercase; }
.lh-grimoire-saved-reading > summary strong,
.lh-grimoire-saved-reading > summary small { display: block; overflow-wrap: anywhere; }
.lh-grimoire-saved-reading > summary strong { color: #eee3d1; }
.lh-grimoire-saved-reading > summary small { margin-top: 4px; color: #9f9384; line-height: 1.45; }

.lh-grimoire-reading-revelation {
  display: grid;
  gap: 6px;
  justify-items: center;
  min-width: 0;
}

.lh-grimoire-reading-revelation img {
  width: 58px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid #4b3d28;
}

.lh-grimoire-reading-revelation small {
  text-align: center;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.lh-grimoire-saved-reading-body {
  display: grid;
  gap: 10px;
  padding: 0 0 22px;
}

.lh-grimoire-saved-reading-full {
  display: grid;
  gap: 14px;
  padding: 18px 0 22px;
  border-top: 1px solid #403421;
  border-bottom: 1px solid #403421;
}

.lh-grimoire-saved-reading-full h3 {
  margin: 0;
  color: #eee3d1;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
}

.lh-grimoire-saved-reading-full blockquote {
  margin: 0;
  padding-left: 14px;
  color: #d8cbbb;
  border-left: 2px solid var(--lh-grimoire-accent);
  line-height: 1.55;
}

.lh-grimoire-oracle-spread {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 1vw, 12px);
  min-height: 170px;
  margin: 8px 0 0;
  padding: 28px 0 8px;
  list-style: none;
  overflow-x: auto;
}

.lh-grimoire-oracle-spread li {
  flex: 0 0 clamp(58px, 10vw, 88px);
  display: grid;
  gap: 5px;
  justify-items: center;
  transform: translateY(var(--spread-rise)) rotate(var(--spread-rotate));
  transform-origin: 50% 100%;
}

.lh-grimoire-oracle-spread img,
.lh-grimoire-oracle-spread li > span {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #0b0908;
  border: 1px solid #4b3d28;
}

.lh-grimoire-oracle-spread small,
.lh-grimoire-oracle-spread strong {
  max-width: 100%;
  color: #bfb2a1;
  text-align: center;
  line-height: 1.2;
}

.lh-grimoire-oracle-spread small {
  font-size: 0.56rem;
  text-transform: uppercase;
}

.lh-grimoire-oracle-spread strong {
  font-size: 0.64rem;
}

.lh-grimoire-saved-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: #17120f;
  border-left: 1px solid #71592c;
}

.lh-grimoire-saved-card > img,
.lh-grimoire-saved-card-placeholder {
  width: 64px;
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: cover;
  background: #0b0908;
  border: 1px solid #4b3d28;
}

.lh-grimoire-saved-card-copy { min-width: 0; }
.lh-grimoire-saved-card-copy small { color: var(--lh-grimoire-accent); text-transform: uppercase; }
.lh-grimoire-saved-card-copy h4 { margin: 3px 0 7px; color: #eee3d1; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.lh-grimoire-saved-card-copy blockquote { margin: 0 0 10px; color: #cbbfae; line-height: 1.55; }
.lh-grimoire-saved-card-copy button {
  padding: 0;
  color: var(--lh-grimoire-accent);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.lh-grimoire-card-reading {
  margin: 10px 0 12px;
  padding: 10px 0;
  border-top: 1px solid #403421;
  border-bottom: 1px solid #403421;
}

.lh-grimoire-card-reading > summary,
.lh-grimoire-saved-synthesis > summary {
  color: var(--lh-grimoire-accent);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.lh-grimoire-card-reading h5 { margin: 14px 0 8px; color: #eee3d1; font-family: var(--font-display); font-size: 1.05rem; }
.lh-grimoire-card-reading section { margin-top: 14px; }
.lh-grimoire-card-reading section > small { display: block; margin-bottom: 5px; color: var(--lh-grimoire-accent); }
.lh-grimoire-card-reading .lh-reading-prose,
.lh-grimoire-saved-synthesis .lh-reading-prose,
.lh-grimoire-saved-synthesis .lh-reading-lead { color: #cbbfae; font-size: 0.86rem; }

.lh-grimoire-saved-user-entries {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.lh-grimoire-saved-user-entries section {
  padding: 10px 12px;
  background: #0f0c0a;
  border-left: 1px solid var(--lh-grimoire-accent);
}

.lh-grimoire-saved-user-entries small {
  color: var(--lh-grimoire-accent);
  text-transform: uppercase;
}

.lh-grimoire-saved-user-entries p {
  margin: 5px 0 0;
  color: #d8cbbb;
  line-height: 1.55;
}

.lh-grimoire-saved-synthesis {
  padding: 16px;
  background: #17120f;
  border-top: 1px solid #71592c;
  border-bottom: 1px solid #71592c;
}

.lh-grimoire-saved-synthesis > div { padding-top: 12px; }
.lh-grimoire-saved-synthesis h5 { margin: 16px 0 7px; color: #eee3d1; font-family: var(--font-display); font-size: 1.1rem; }
.lh-grimoire-saved-synthesis blockquote { margin: 16px 0 0; padding: 12px 14px; color: #eee3d1; border-left: 1px solid var(--lh-grimoire-accent); font-family: var(--font-display); }

.lh-grimoire-delete-reading {
  justify-self: start;
  padding: 6px 0;
  color: #a99c8c;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.lh-grimoire-delete-reading:hover,
.lh-grimoire-delete-reading:focus-visible { color: #eee3d1; }

.lh-grimoire-card-response {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 260ms ease, opacity 180ms ease, padding 260ms ease;
}

.lh-grimoire-card-response > div { overflow: hidden; }
.lh-grimoire-saved-card.is-open .lh-grimoire-card-response { grid-template-rows: 1fr; padding-top: 6px; opacity: 1; }
.lh-grimoire-card-response form { padding-top: 14px; border-top: 1px solid #403421; }
.lh-grimoire-card-response textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 13px 14px;
  color: #eee3d1;
  background: #0b0908;
  border: 1px solid #4b3d28;
  font: inherit;
  line-height: 1.55;
}
.lh-grimoire-card-response textarea:focus { border-color: var(--lh-grimoire-accent); outline: none; }
.lh-grimoire-card-response .lh-form-error { margin: 8px 0 0; }

.lh-grimoire-month-page > .lh-journey-history {
  padding-top: 26px;
  border-top-color: #4b3d28;
}

.lh-grimoire-month-page > .lh-journey-history > header h3,
.lh-grimoire-month-page > .lh-journey-history article h4 { color: #eee3d1; }
.lh-grimoire-month-page > .lh-journey-history > header > p,
.lh-grimoire-month-page > .lh-journey-history article p { color: #9f9384; }
.lh-grimoire-month-page > .lh-journey-history article { background: #17120f; border-color: #403421; }
.lh-grimoire-month-page > .lh-journey-history > div { grid-template-columns: minmax(0, 1fr); }

.lh-journal-writing { display: grid; gap: 20px; }
.lh-journal-writing-heading h3 { margin: 6px 0 8px; color: #eee3d1; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; }
.lh-journal-writing-heading > p:last-child { margin: 0; color: #bfb2a1; line-height: 1.55; }
.lh-journal-writing .lh-form label { color: #cfc2b1; }

html[data-theme="light"] .lh-grimoire-spread {
  --lh-grimoire-accent: #8a6631;
  --lh-grimoire-accent-strong: #7b5a2c;
  --lh-grimoire-accent-soft: #aa946b;
  --lh-grimoire-accent-muted: #776342;
  color: #292219;
  background: #b9aa91;
  border-color: #8a6631;
  box-shadow: 0 28px 60px rgba(74, 55, 28, 0.18);
}

html[data-theme="light"] .lh-grimoire-page { background: #f0eadf; }
html[data-theme="light"] .lh-grimoire-month-page { background: #f7f2e9; }
html[data-theme="light"] .lh-grimoire-year header > p:last-child,
html[data-theme="light"] .lh-grimoire-section-title span,
html[data-theme="light"] .lh-grimoire-challenges p,
html[data-theme="light"] .lh-grimoire-empty-month p:not(.lh-kicker),
html[data-theme="light"] .lh-journal-month-empty,
html[data-theme="light"] .lh-journal-writing-heading > p:last-child { color: #6f6557; }
html[data-theme="light"] .lh-grimoire-month-heading h2,
html[data-theme="light"] .lh-grimoire-challenges h3,
html[data-theme="light"] .lh-grimoire-empty-month h3,
html[data-theme="light"] .lh-journal-month-entry summary strong,
html[data-theme="light"] .lh-grimoire-saved-reading > summary strong,
html[data-theme="light"] .lh-grimoire-saved-card-copy h4,
html[data-theme="light"] .lh-journal-writing-heading h3 { color: #292219; }
html[data-theme="light"] .lh-grimoire-oracle-message .lh-reading-lead,
html[data-theme="light"] .lh-grimoire-oracle-message .lh-reading-prose,
html[data-theme="light"] .lh-journal-month-entry-body { color: #4f463b; }
html[data-theme="light"] .lh-grimoire-seal { color: #342b20; background: #e8dfd0; }
html[data-theme="light"] .lh-grimoire-month-image { background: #ded4c3; }
html[data-theme="light"] .lh-grimoire-challenge-response form { background: #eee6da; }
html[data-theme="light"] .lh-grimoire-challenge-response textarea {
  color: #292219;
  background: #fffdf8;
  border-color: #b9aa91;
}
html[data-theme="light"] .lh-grimoire-challenge-actions > span { color: #6f6557; }
html[data-theme="light"] .lh-grimoire-trace-filters button { color: #5f5549; border-color: #aa946b; }
html[data-theme="light"] .lh-grimoire-trace-filters button.is-active { color: #fffaf0; background: var(--lh-grimoire-accent-strong); border-color: var(--lh-grimoire-accent-strong); }
html[data-theme="light"] .lh-grimoire-saved-reading > summary small { color: #74695a; }
html[data-theme="light"] .lh-grimoire-saved-card { background: #eee6da; }
html[data-theme="light"] .lh-grimoire-oracle-orientations article { background: #eee6da; }
html[data-theme="light"] .lh-grimoire-oracle-orientations p { color: #51483d; }
html[data-theme="light"] .lh-grimoire-saved-card-copy blockquote { color: #51483d; }
html[data-theme="light"] .lh-grimoire-card-response textarea { color: #292219; background: #fffdf8; border-color: #b9aa91; }
html[data-theme="light"] .lh-grimoire-card-reading h5,
html[data-theme="light"] .lh-grimoire-saved-synthesis h5,
html[data-theme="light"] .lh-grimoire-saved-synthesis blockquote,
html[data-theme="light"] .lh-grimoire-month-page > .lh-journey-history > header h3,
html[data-theme="light"] .lh-grimoire-month-page > .lh-journey-history article h4 { color: #292219; }
html[data-theme="light"] .lh-grimoire-card-reading .lh-reading-prose,
html[data-theme="light"] .lh-grimoire-saved-synthesis .lh-reading-prose,
html[data-theme="light"] .lh-grimoire-saved-synthesis .lh-reading-lead { color: #51483d; }
html[data-theme="light"] .lh-grimoire-saved-synthesis,
html[data-theme="light"] .lh-grimoire-month-page > .lh-journey-history article { background: #eee6da; border-color: #b9aa91; }
html[data-theme="light"] .lh-grimoire-month-page > .lh-journey-history > header > p,
html[data-theme="light"] .lh-grimoire-month-page > .lh-journey-history article p { color: #74695a; }

.lh-module-journal-choice {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lh-border);
}

.lh-module-journal-choice summary {
  color: var(--lh-gold);
  font-weight: 700;
  cursor: pointer;
}

.lh-module-journal-choice > p {
  margin: 10px 0 12px;
  color: var(--lh-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lh-module-journal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lh-module-journal-actions button {
  min-height: 40px;
  border: 1px solid rgba(214, 179, 94, 0.52);
  border-radius: var(--lh-radius-sm);
  background: transparent;
  color: var(--lh-text);
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lh-module-journal-actions button:hover,
.lh-module-journal-actions button:focus-visible {
  border-color: var(--lh-gold);
  background: rgba(214, 179, 94, 0.12);
}

.lh-module-journal-choice.is-compact {
  margin-top: 12px;
  padding-top: 12px;
}

.lh-reading-journal-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--lh-border);
}

.lh-reading-journal-action strong { color: var(--lh-text); }
.lh-reading-journal-action p { max-width: 68ch; margin: 5px 0 0; color: var(--lh-muted); font-size: .9rem; line-height: 1.5; }
.lh-reading-journal-action .lh-btn { flex: 0 0 auto; }

/* BETA-UX-001: une grammaire commune pour les lectures longues. */
.lh-reading-prose {
  display: grid;
  gap: 1.05em;
  max-width: 78ch;
  color: color-mix(in srgb, var(--lh-text) 93%, var(--lh-muted));
  line-height: 1.72;
}

.lh-reading-prose p,
.lh-reading-lead p {
  margin: 0;
}

.lh-reading-lead {
  display: grid;
  gap: 0.85em;
  max-width: 74ch;
  color: color-mix(in srgb, var(--lh-text) 96%, var(--lh-gold));
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.28vw, 1.28rem);
  line-height: 1.58;
}

.lh-reading-label,
.lh-reading-section > h4,
.lh-reading-section > h5 {
  margin: 0;
  color: var(--lh-gold);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-reading-section {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 26%, transparent);
}

.lh-reading-integration:not(article) {
  margin-top: 18px;
  padding: 16px 18px;
  color: var(--lh-text);
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
  border-left: 2px solid var(--lh-gold);
}

.lh-reading-integration-line {
  display: block;
  margin-top: 4px;
  padding-left: 14px;
  color: color-mix(in srgb, var(--lh-gold) 82%, var(--lh-text));
  line-height: 1.58;
  border-left: 2px solid var(--lh-gold);
}

.lh-foundation-forces .lh-reading-prose,
.lh-foundation-polarities .lh-reading-prose,
.lh-astro-ai-synthesis .lh-reading-prose,
.lh-kabbalah-ai-synthesis .lh-reading-prose,
.lh-alchemy-profile-reading .lh-reading-prose,
.lh-oracle-global-reading .lh-reading-prose,
.lh-oracle-card-details .lh-reading-prose {
  color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-muted));
}

.lh-kabbalah-ai-synthesis > .lh-reading-journal-action,
.lh-alchemy-profile-reading > .lh-reading-journal-action {
  margin-inline: -22px;
}

.lh-alchemy-profile-reading > .lh-reading-journal-action { margin-bottom: 2px; }

.lh-relationship-journal-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 179, 94, 0.36);
}

.lh-relationship-journal-action p {
  max-width: 760px;
  margin: 0;
}

.lh-journal-hero::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: min(420px, 48%);
  height: 1px;
  background: linear-gradient(90deg, rgba(214,179,94,0.52), transparent);
}

.lh-journal-form-panel,
.lh-journal-summary {
  min-height: 100%;
}

.lh-journal-memory-choice,
.lh-journal-privacy-rule,
.lh-journal-memory-status {
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  padding: 16px;
}

.lh-journal-memory-choice {
  display: grid;
  gap: 14px;
  border-color: color-mix(in srgb, var(--lh-gold) 38%, var(--lh-border));
  background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface-2));
}

.lh-journal-memory-choice .lh-toggle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.lh-journal-memory-choice .lh-toggle-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--lh-gold);
}

.lh-journal-memory-choice .lh-toggle-row strong,
.lh-journal-memory-choice .lh-toggle-row small {
  display: block;
}

.lh-journal-memory-choice .lh-toggle-row small {
  margin-top: 5px;
  color: var(--lh-muted);
  font-weight: 400;
  line-height: 1.5;
}

.lh-journal-privacy-rule {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-color: rgba(214,179,94,0.4);
}

.lh-journal-privacy-rule strong,
.lh-journal-memory-status.is-authorized > span {
  color: var(--lh-gold);
}

.lh-journal-privacy-rule span {
  color: var(--lh-muted);
  line-height: 1.6;
}

.lh-journal-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lh-journal-stat-grid > div,
.lh-journal-latest {
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  padding: 14px;
}

.lh-journal-stat-grid strong {
  display: block;
  color: var(--lh-gold);
  font-family: var(--lh-font-title);
  font-size: 1.8rem;
  line-height: 1;
}

.lh-journal-stat-grid span {
  display: block;
  margin-top: 4px;
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-journal-latest {
  margin-top: 14px;
}

.lh-journal-latest h3,
.lh-journal-latest p {
  margin-top: 0;
}

.lh-section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.lh-section-header h3,
.lh-section-header p {
  margin-top: 0;
}

.lh-journal-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lh-journal-filters button {
  min-height: 40px;
  border: 1px solid var(--lh-border);
  border-radius: 999px;
  background: var(--lh-surface-2);
  color: var(--lh-muted);
  padding: 8px 11px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.lh-journal-filters button.is-active {
  border-color: var(--lh-gold);
  background: rgba(214,179,94,0.14);
  color: var(--lh-text);
}

.lh-journal-timeline {
  display: grid;
  gap: 14px;
}

.lh-journal-entry {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  padding: 14px;
}

.lh-journal-entry.is-filtered-out {
  display: none;
}

.lh-journal-entry-date {
  display: grid;
  align-content: start;
  gap: 3px;
  color: var(--lh-muted);
}

.lh-journal-entry-date strong {
  color: var(--lh-gold);
  font-family: var(--lh-font-title);
  font-size: 1.2rem;
}

.lh-journal-entry-date span {
  font-size: 0.82rem;
}

.lh-journal-entry h3,
.lh-journal-entry p {
  margin-top: 0;
}

.lh-journal-memory-status {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
}

.lh-journal-memory-status > span {
  color: var(--lh-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lh-journal-memory-status p {
  margin-bottom: 0;
  color: var(--lh-text);
}

.lh-journal-memory-status button,
.lh-journal-delete {
  justify-self: start;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--lh-gold);
  padding: 6px 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lh-journal-delete {
  margin-top: 10px;
  color: var(--lh-muted);
  font-size: 0.86rem;
}

.lh-journal-memory-status button:hover,
.lh-journal-memory-status button:focus-visible,
.lh-journal-delete:hover,
.lh-journal-delete:focus-visible {
  color: var(--lh-text);
}

.lh-guide-hero {
  position: relative;
  overflow: hidden;
}

.lh-guide-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: min(420px, 44%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,179,94,0.58));
}

.lh-guide-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.lh-guide-compass,
.lh-guide-direction {
  display: grid;
  gap: 22px;
}

.lh-guide-compass > h3,
.lh-guide-direction > h3 {
  margin: 0;
  color: var(--lh-gold);
  font-family: var(--lh-font-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
}

.lh-guide-signal {
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: var(--lh-surface-2);
  padding: 16px;
}

.lh-guide-signal.is-active {
  border-color: rgba(214,179,94,0.48);
  background: rgba(214,179,94,0.1);
}

.lh-guide-signal.is-missing {
  border-color: rgba(190,90,70,0.42);
}

.lh-guide-signal h3,
.lh-guide-signal p {
  margin-top: 0;
}

.lh-guide-roadmap {
  display: grid;
  gap: 14px;
}

.lh-guide-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  background: linear-gradient(110deg, color-mix(in srgb, var(--lh-gold) 8%, var(--lh-surface-2)), var(--lh-surface-2) 58%);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--lh-gold) 48%, transparent);
}

.lh-guide-step-index {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(214,179,94,0.48);
  border-radius: 50%;
  background: rgba(214,179,94,0.1);
  color: var(--lh-gold);
  font-family: var(--lh-font-title);
  font-size: 1.1rem;
}

.lh-guide-step h3,
.lh-guide-step p {
  margin-top: 0;
}

.lh-guide-step h3 { color: color-mix(in srgb, var(--lh-text) 91%, var(--lh-gold)); font-family: var(--lh-font-display); font-size: clamp(1.35rem, 2vw, 1.9rem); }
.lh-guide-step div:last-child > p:last-child { color: color-mix(in srgb, var(--lh-text) 88%, var(--lh-muted)); font-size: 1.03rem; line-height: 1.7; }

.lh-guide-ai-history {
  margin-top: 16px;
}

.lh-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.lh-tikkun-panel {
  display: grid;
  gap: 24px;
  border-color: color-mix(in srgb, var(--lh-gold) 32%, var(--lh-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 10%, transparent), transparent 52%),
    var(--lh-surface);
}

.lh-tikkun-panel h2,
.lh-tikkun-panel p {
  margin-top: 0;
}

.lh-tikkun-panel h2 {
  color: color-mix(in srgb, var(--lh-text) 90%, var(--lh-gold));
  font-family: var(--lh-font-display);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 500;
}

.lh-tikkun-panel p {
  max-width: 72ch;
  color: color-mix(in srgb, var(--lh-text) 86%, var(--lh-muted));
  line-height: 1.7;
}

.lh-tikkun-current small {
  display: block;
  max-width: 68ch;
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-tikkun-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.lh-tikkun-theme {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  color: var(--lh-text);
  text-align: left;
  background: color-mix(in srgb, var(--lh-surface-2) 92%, var(--lh-gold));
  border: 1px solid var(--lh-border);
  border-radius: 6px;
  cursor: pointer;
}

.lh-tikkun-theme:hover,
.lh-tikkun-theme:focus-visible {
  border-color: color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  outline: none;
}

.lh-tikkun-theme span {
  color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-gold));
  font-family: var(--lh-font-display);
  font-size: 1.18rem;
}

.lh-tikkun-theme small {
  color: var(--lh-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.lh-tikkun-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.lh-tikkun-echo-map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.lh-tikkun-echo-map span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 191, 131, 0.1);
  border: 1px solid rgba(219, 191, 131, 0.28);
  color: rgba(245, 239, 230, 0.86);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.lh-tikkun-echo-map strong {
  color: inherit;
}

/* Phase 6C final overrides: these follow the legacy astrology rules. */
.lh-astro-hero {
  min-height: 680px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.lh-astro-hero-copy {
  width: min(68%, 430px);
}

.lh-astro-hero-signs {
  width: min(100%, 720px);
  margin-top: 0;
  text-align: left;
}

.lh-astro-placement { min-height: 680px; }
.lh-astro-polarities { grid-template-columns: 1fr; }
.lh-astro-polarities > div { min-height: 110px; padding: 16px; }
.lh-astro-polarities dd { color: var(--lh-text); }

/* Phase 6C.1 - hiérarchie, lecture incarnée et roue anticollision. */
.lh-astro-hero {
  min-height: 620px;
}

.lh-astro-hero-stage {
  width: min(72vw, 560px);
}

.lh-astro-hero-copy {
  width: min(62%, 350px);
}

.lh-astro-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 4.1vw, 4rem);
  line-height: 1.02;
}

.lh-astro-hero-lead {
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.62;
}

.lh-astro-hero-movement {
  top: calc(50% - 46px);
  left: calc(50% - 46px);
  width: 92px;
  border-color: color-mix(in srgb, var(--lh-gold) 42%, transparent);
  background: color-mix(in srgb, var(--lh-surface) 90%, transparent);
}

.lh-astro-hero-movement b {
  font-size: 2.35rem;
}

.lh-astro-hero-movement small {
  max-width: 74px;
  font-size: 0.58rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-astro-placement {
  min-height: 610px;
}

.lh-astro-symbol {
  width: 70px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 2.45rem;
  text-shadow: 0 0 20px color-mix(in srgb, var(--lh-gold) 20%, transparent);
}

.lh-astro-role {
  min-height: 0;
  margin: 18px 0 12px;
}

.lh-astro-reading {
  min-height: 112px;
  padding: 18px;
  border-left: 2px solid var(--lh-gold);
  background: color-mix(in srgb, var(--lh-gold) 5%, var(--lh-surface));
  font-size: 1.08rem;
}

.lh-astro-reading strong {
  color: var(--lh-gold);
}

.lh-astro-polarities > div {
  min-height: 86px;
  border-left: 2px solid transparent;
}

.lh-astro-polarities > .is-resource { border-left-color: color-mix(in srgb, var(--lh-gold) 75%, #f4e7bf); }
.lh-astro-polarities > .is-vigilance { border-left-color: color-mix(in srgb, var(--lh-gold) 35%, #b96d5d); }
.lh-astro-polarities > .is-integration { border-left-color: color-mix(in srgb, var(--lh-gold) 50%, #9fae8b); }

.lh-astro-integration {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.lh-astro-integration-copy h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.12;
}

.lh-astro-integration-impact {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid var(--lh-gold);
  color: var(--lh-text) !important;
  background: color-mix(in srgb, var(--lh-gold) 6%, transparent);
  font-family: var(--lh-font-display);
}

.lh-astro-integration-grid {
  grid-template-columns: 1fr;
}

.lh-astro-integration-grid > div {
  min-height: 0;
  padding: 22px 26px;
  border-right: 0;
  border-bottom: 1px solid var(--lh-border);
}

.lh-astro-integration-grid > div:last-child { border-bottom: 0; }
.lh-astro-integration-grid > .is-element { background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface)); }
.lh-astro-integration-grid > .is-watch { background: color-mix(in srgb, #a66352 5%, var(--lh-surface)); }
.lh-astro-integration-grid > .is-question { background: color-mix(in srgb, #c9b67b 4%, var(--lh-surface)); }

.lh-astro-integration-grid strong {
  min-height: 0;
  margin-top: 8px;
}

.lh-element-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.lh-element-heading strong { margin: 0; }

.lh-element-symbol {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
  color: var(--lh-gold);
  overflow: visible;
}

.lh-element-symbol polygon,
.lh-element-symbol line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lh-natal-body-point .lh-natal-body-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1;
}

.lh-natal-body-point text {
  font-size: 29px;
  font-weight: 600;
  paint-order: stroke;
  stroke: var(--lh-surface);
  stroke-width: 4px;
  stroke-linejoin: round;
  transition: filter 180ms ease, font-size 180ms ease;
}

.lh-natal-body-point:hover .lh-natal-body-hit,
.lh-natal-body-point:focus .lh-natal-body-hit,
.lh-natal-body-point.is-selected .lh-natal-body-hit {
  fill: color-mix(in srgb, var(--lh-gold) 7%, transparent);
  stroke: color-mix(in srgb, var(--lh-gold) 42%, transparent);
}

.lh-natal-body-point:hover text,
.lh-natal-body-point:focus text,
.lh-natal-body-point.is-selected text {
  font-size: 33px;
  filter: drop-shadow(0 0 8px color-mix(in srgb, currentColor 48%, transparent));
}

.lh-natal-body-point.is-sun text,
.lh-natal-body-point.is-jupiter text { fill: #dfbd59; }
.lh-natal-body-point.is-moon text,
.lh-natal-body-point.is-neptune text { fill: #d8cba5; }
.lh-natal-body-point.is-mercury text,
.lh-natal-body-point.is-uranus text { fill: #c3ad78; }
.lh-natal-body-point.is-venus text { fill: #d39b81; }
.lh-natal-body-point.is-mars text,
.lh-natal-body-point.is-pluto text { fill: #b96d5d; }
.lh-natal-body-point.is-saturn text,
.lh-natal-body-point.is-mean_node text,
.lh-natal-body-point.is-true_node text { fill: #a99870; }

.lh-natal-aspect-lines .is-conjunction,
.lh-natal-aspect-lines .is-trine,
.lh-natal-aspect-lines .is-sextile { stroke: #baa76f; opacity: 0.45; }
.lh-natal-aspect-lines .is-square,
.lh-natal-aspect-lines .is-opposition { stroke: #a96858; opacity: 0.58; }

.lh-natal-synthesis {
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
}

.lh-natal-synthesis h3 {
  font-size: clamp(2rem, 2.7vw, 3rem);
}

.lh-natal-synthesis > div:last-child p {
  color: var(--lh-text);
}

.lh-natal-synthesis-key {
  margin-top: 8px;
  padding: 18px 20px;
  border-left: 2px solid #b5745f;
  background: color-mix(in srgb, #a96858 7%, var(--lh-surface));
}

.lh-natal-synthesis-key small {
  color: var(--lh-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.lh-natal-synthesis-key p { margin-top: 8px !important; }
.lh-natal-synthesis-key em { display: block; margin-top: 10px; color: var(--lh-gold); font-style: normal; }

.lh-natal-aspects li {
  padding-left: 14px;
  border-left: 2px solid color-mix(in srgb, var(--lh-gold) 35%, transparent);
}

.lh-natal-aspects li.is-square,
.lh-natal-aspects li.is-opposition { border-left-color: #a96858; }
.lh-natal-aspects li.is-trine,
.lh-natal-aspects li.is-sextile { border-left-color: #baa76f; }

.lh-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lh-context-depth {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--lh-border);
  background: color-mix(in srgb, var(--lh-surface) 92%, var(--lh-gold) 8%);
}

.lh-context-depth textarea { min-height: 190px; resize: vertical; }
.lh-context-depth .lh-consent-row { min-height: 96px; }
.lh-context-gate { padding: 14px 16px; border-left: 2px solid var(--lh-gold); color: var(--lh-text); }
.lh-context-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .lh-context-grid { grid-template-columns: 1fr; }
  .lh-context-depth { padding: 16px; }
}


.lh-tikkun-generation {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(219, 191, 131, 0.24);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.045);
}

.lh-tikkun-generation h3,
.lh-tikkun-generation p,
.lh-tikkun-generation small {
  position: relative;
  z-index: 1;
}

.lh-tikkun-generation .lh-btn {
  margin-top: 0.85rem;
}

.lh-tikkun-generation.is-loading {
  border-style: dashed;
}

.lh-tikkun-generation.is-complete {
  background: linear-gradient(135deg, rgba(219, 191, 131, 0.12), rgba(255, 255, 255, 0.045));
}

.lh-tikkun-anchor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.lh-tikkun-anchor {
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lh-tikkun-anchor strong,
.lh-tikkun-anchor span,
.lh-tikkun-practice strong,
.lh-tikkun-practice p,
.lh-tikkun-practice small {
  display: block;
}

.lh-tikkun-anchor span,
.lh-tikkun-practice small {
  margin-top: 0.35rem;
  color: var(--lh-muted);
}

.lh-tikkun-practice {
  padding: 0.95rem;
  border-radius: 1rem;
  background: rgba(219, 191, 131, 0.09);
}

.lh-tikkun-generation blockquote {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(219, 191, 131, 0.7);
  color: var(--lh-text);
  font-style: italic;
}


.lh-tikkun-progress {
  position: relative;
  height: 7px;
  margin: 1rem 0 0.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lh-gold) 14%, var(--lh-surface));
}

.lh-tikkun-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(219, 191, 131, 0.35), var(--lh-gold), rgba(255, 236, 190, 0.9));
  box-shadow: 0 0 18px color-mix(in srgb, var(--lh-gold) 42%, transparent);
  animation: lh-tikkun-progress 2.4s ease-in-out infinite;
}

.lh-tikkun-progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--lh-muted);
  font-size: 0.78rem;
}

.lh-tikkun-progress-steps li {
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.045);
}

@keyframes lh-tikkun-progress {
  0% { transform: translateX(-115%); }
  48% { transform: translateX(70%); }
  100% { transform: translateX(245%); }
}

@media (max-width: 640px) {
  .lh-tikkun-progress-steps { grid-template-columns: 1fr; }
}


.lh-tikkun-writing-toggle {
  margin-top: 0.9rem;
  align-self: flex-start;
}

.lh-tikkun-writing-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  transition: grid-template-rows 260ms ease, opacity 220ms ease, transform 260ms ease;
}

.lh-tikkun-writing-panel > div {
  overflow: hidden;
}

.lh-tikkun-panel.is-writing-open .lh-tikkun-writing-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.lh-tikkun-writing-panel form {
  margin-top: 0.9rem;
  padding: 0.95rem;
  border: 1px solid rgba(219, 191, 131, 0.22);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.16);
}

.lh-tikkun-writing-panel textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1px solid rgba(219, 191, 131, 0.24);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--lh-text);
  font: inherit;
  line-height: 1.55;
}

.lh-tikkun-writing-panel textarea:focus {
  border-color: var(--lh-gold);
  outline: none;
}

.lh-tikkun-writing-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.lh-tikkun-writing-actions > span {
  color: var(--lh-muted);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .lh-tikkun-writing-actions { align-items: stretch; flex-direction: column; }
  .lh-tikkun-writing-actions .lh-btn { width: 100%; }
}

/* Karmic reading: sequential editorial chapters, shared discipline typography. */
.lh-karmic-reading { margin-block: 2rem; padding: clamp(1.2rem, 4vw, 3rem); border: 1px solid var(--lh-border, #8c7953); border-radius: 20px; }
.lh-karmic-reading h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; }
.lh-karmic-reading h4 { font-size: 1.25rem; margin-block: .5rem 1rem; }
.lh-karmic-reading p { line-height: 1.8; }
.lh-karmic-reading header, .lh-karmic-chapter, .lh-karmic-practice { max-width: 76ch; margin-inline: auto; }
.lh-karmic-chapter { padding-block: 1.8rem; border-bottom: 1px solid var(--lh-border, #8c7953); }
.lh-karmic-seal { max-width: 68ch; margin: 2.4rem auto .8rem; padding: 1.5rem 1.8rem; border-left: 2px solid var(--lh-gold); color: color-mix(in srgb, var(--lh-text) 92%, var(--lh-gold)); font: 500 clamp(1.25rem, 2vw, 1.75rem)/1.5 var(--lh-font-display); }
.lh-karmic-practice { padding-block: 2rem; }
.lh-karmic-reading footer { font-size: .8rem; opacity: .75; max-width: 76ch; margin-inline: auto; }
