/* Shared editorial foundation for the dev redesign. */
#appRoot .lh-kabbalah-tree-stage {
  padding: 32px 16px;
  background: none;
  box-shadow: none;
  border: 0;
}

#appRoot .lh-kabbalah-tree-svg {
  width: min(100%, 560px);
}

#appRoot .lh-kabbalah-tree-path line {
  stroke: var(--lh-gold);
  stroke-width: 1;
  opacity: 0.35;
  filter: none;
}

#appRoot .lh-kabbalah-tree-path.is-active line {
  opacity: 0.75;
  stroke-width: 1.4;
}

#appRoot .lh-kabbalah-tree-path:is(:hover, :focus-visible) line {
  opacity: 1;
  stroke-width: 2.5;
}

#appRoot .lh-kabbalah-tree-node circle {
  fill: var(--lh-bg);
  stroke: var(--lh-gold);
  stroke-width: 1;
  filter: none;
}

#appRoot .lh-kabbalah-tree-node .lh-kabbalah-tree-halo {
  fill: none;
  stroke-width: 0.6;
  opacity: 0.35;
}

#appRoot .lh-kabbalah-tree-node:is(.is-selected, :focus-visible, :hover, .is-card-hovered) circle:not(.lh-kabbalah-tree-halo) {
  stroke-width: 2;
  fill: var(--lh-surface-2);
}

#appRoot .lh-kabbalah-tree-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  fill: var(--lh-text);
}

#appRoot .lh-kabbalah-tree-number {
  font-family: var(--font-display);
  font-size: 14px;
  fill: var(--lh-gold);
}

#appRoot .lh-kabbalah-tree-title {
  font-size: 10px;
  fill: var(--lh-muted);
}

#appRoot .lh-kabbalah-tree-pillar { opacity: 1; }
#appRoot .lh-kabbalah-tree-pillar line {
  stroke: var(--lh-border);
  stroke-width: 0.6;
  stroke-dasharray: 2 7;
}
#appRoot .lh-kabbalah-tree-pillar text {
  fill: var(--lh-muted);
  stroke: none;
  font-size: 9px;
  font-weight: 400;
}

#appRoot .lh-natal-wheel-svg { filter: none; }
#appRoot .lh-natal-body-point text {
  fill: var(--lh-text);
  stroke: var(--lh-bg);
  stroke-width: 3px;
  font-size: 21px;
  paint-order: stroke;
}
#appRoot .lh-natal-body-point:is(:hover, :focus-visible, .is-selected) text {
  fill: var(--lh-gold);
}
#appRoot .lh-natal-body-point:is(.is-true_node, .is-true_south_node) text {
  fill: var(--lh-gold);
}
#appRoot .lh-natal-focus {
  background: none;
  border: 0;
  border-left: 1px solid var(--lh-border);
}
#appRoot .lh-natal-focus h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
}
#appRoot .lh-natal-aspect-lines .is-trine,
#appRoot .lh-natal-aspect-lines .is-sextile { stroke: #638c89; }
#appRoot .lh-natal-aspect-lines .is-square,
#appRoot .lh-natal-aspect-lines .is-opposition { stroke: #b77479; }
.lh-natal-degree-ticks line {
  stroke: var(--lh-gold);
  stroke-width: 0.65;
  opacity: 0.5;
}

.lh-discipline-illustration {
  position: relative;
  width: min(100%, 920px);
  margin: 42px auto;
  overflow: hidden;
  background: #100d0a;
  border: 1px solid color-mix(in srgb, var(--lh-gold) 24%, transparent);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.lh-discipline-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.22), transparent 20%, transparent 80%, rgba(8, 7, 6, 0.26)),
    linear-gradient(180deg, rgba(239, 209, 116, 0.08), transparent 34%, rgba(0, 0, 0, 0.18));
}
.lh-discipline-illustration img {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  display: block;
  object-fit: cover;
}
@media (max-width: 760px) {
  #appRoot .lh-natal-focus {
    border-left: 0;
    border-top: 1px solid var(--lh-border);
  }

  .lh-discipline-illustration {
    margin: 32px auto;
  }

  .lh-discipline-illustration img {
    aspect-ratio: 1.45 / 1;
  }
}
:root {
  --lh-radius: 6px;
  --lh-sidebar-width: 244px;
}

html[data-theme="dark"] {
  --color-bg: #101112;
  --color-surface: #171819;
  --color-surface-raised: #202122;
  --color-text-primary: #f2eee7;
  --color-text-muted: #bebbb4;
  --color-gold: #c6aa6d;
  --color-gold-light: #dfc58e;
  --color-border-subtle: rgba(242, 238, 231, 0.14);
  --color-surface-hover: rgba(198, 170, 109, 0.09);
}

html[data-theme="light"] {
  --color-bg: #fafaf9;
  --color-surface: #ffffff;
  --color-surface-raised: #f0f1ef;
  --color-gold: #80602d;
  --color-gold-light: #80602d;
  --color-gold-dark: #62471f;
  --color-text-inverse: #ffffff;
}

.lh-product-body {
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lh-app-main {
  padding-top: 36px;
}

.lh-app-header {
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--lh-border);
}

.lh-app-header h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.lh-page-context {
  max-width: 64ch;
  font-size: 0.9375rem;
}

.lh-sidebar .lh-dashboard-nav {
  gap: 20px;
}

.lh-dashboard-nav a {
  min-height: 44px;
  font-size: 0.9375rem;
}

.lh-dashboard-nav a[aria-current="page"] {
  box-shadow: inset 2px 0 var(--lh-gold);
}

.lh-nav-group summary small {
  max-width: 24ch;
  font-size: 0.75rem;
  line-height: 1.5;
}

.lh-btn {
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

.lh-form input,
.lh-form select,
.lh-form textarea {
  font-size: 1rem;
}

.lh-my-space {
  gap: 40px;
}

.lh-my-space-hero {
  min-height: 340px;
  padding: 24px 0 40px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--lh-border);
  border-radius: 0;
  box-shadow: none;
}

.lh-hero-copy {
  max-width: min(680px, 68%);
  gap: 22px;
}

.lh-hero-copy h2 {
  font-size: 3.5rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.lh-hero-copy > p:not(.lh-kicker) {
  max-width: 52ch;
  font-size: 1.5rem;
  line-height: 1.55;
}

.lh-my-space-hero .lh-orbit-visual {
  width: 28%;
  min-height: 0;
  top: 32px;
  right: 0;
  bottom: 32px;
  opacity: 0.65;
}

.lh-my-space .lh-dashboard-grid {
  gap: 36px;
}

.lh-my-space .lh-dashboard-grid > .lh-panel {
  padding: 0 0 32px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--lh-border);
  border-radius: 0;
  box-shadow: none;
}

.lh-energy-card {
  background: var(--lh-surface);
  border-radius: 4px;
}

.lh-energy-card:hover,
.lh-energy-card:focus-within,
.lh-energy-card[open] {
  box-shadow: none;
  transform: none;
}

.lh-energy-card summary,
.lh-energy-card[open] summary {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 24px 16px;
}

.lh-energy-card .lh-energy-number {
  min-width: 0;
  font-size: 3.5rem;
  text-shadow: none;
}

.lh-energy-copy h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.lh-energy-copy small {
  font-size: 0.75rem;
}

.lh-energy-copy p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.lh-daily-oracle {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
}

.lh-daily-oracle-card {
  align-content: start;
  padding: 8px 28px 24px 0;
  background: none;
  border: 0;
}

.lh-daily-oracle-content {
  padding: 0 0 0 32px;
  border-left: 1px solid var(--lh-border);
  gap: 28px;
}

.lh-daily-oracle-content h2 {
  max-width: 30ch;
  font-size: 2.25rem;
  line-height: 1.18;
}

.lh-daily-oracle-readings {
  grid-template-columns: minmax(0, 1fr);
}

.lh-daily-oracle-readings section,
.lh-daily-oracle-readings section + section {
  padding: 24px 0 0;
  border-left: 0;
}

.lh-daily-oracle-readings p {
  max-width: 68ch;
  font-size: 1.25rem;
  line-height: 1.65;
}

.lh-reading-pause {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: min(100%, 520px);
  min-height: 88px;
  margin: 0 auto;
  color: var(--lh-gold);
  pointer-events: none;
}

.lh-reading-pause::before,
.lh-reading-pause::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

.lh-reading-pause .lh-hermetic-seal-svg {
  width: 88px;
  height: 88px;
  color: inherit;
  opacity: 0.65;
}

.lh-reading-pause .lh-hermetic-seal-main {
  stroke-width: 1;
  filter: none;
}

.lh-reading-pause .lh-hermetic-seal-main > * {
  animation: none;
  stroke-dashoffset: 0;
}

@media (max-width: 1100px) {
  .lh-energy-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .lh-app-main {
    padding: 24px 20px 40px;
  }

  .lh-app-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .lh-app-header h1 {
    font-size: 2.25rem;
  }

  .lh-my-space-hero {
    display: grid;
    gap: 18px;
    min-height: 0;
    padding: 8px 0 28px;
  }

  .lh-hero-copy {
    max-width: 100%;
    gap: 18px;
  }

  .lh-hero-copy h2 {
    font-size: 2.75rem;
  }

  .lh-hero-copy > p:not(.lh-kicker) {
    font-size: 1.375rem;
  }

  .lh-my-space-hero .lh-orbit-visual {
    position: relative;
    inset: auto;
    order: -1;
    display: grid;
    width: min(100%, 320px);
    min-height: 240px;
    margin: 0 auto -2px;
    opacity: 0.9;
  }

  .lh-my-space-hero .lh-metatron-svg {
    --metatron-circle-opacity: 0.82;
    --metatron-line-opacity: 0.56;
    --metatron-spine-opacity: 0.88;
    --metatron-figure-opacity: 0.94;
    width: min(100%, 300px);
    transform: scale(0.98);
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--lh-gold) 22%, transparent));
  }

  .lh-daily-oracle {
    grid-template-columns: minmax(0, 1fr);
  }

  .lh-daily-oracle-card {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    padding: 0 0 24px;
    gap: 20px;
  }

  .lh-daily-oracle-card img {
    width: 112px;
    max-height: 200px;
  }

  .lh-daily-oracle-content {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--lh-border);
  }

  .lh-daily-oracle-content h2 {
    font-size: 1.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-product-body *,
  .lh-product-body *::before,
  .lh-product-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
