* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--lh-bg);
}

body.lh-product-body {
  min-height: 100vh;
  margin: 0;
  color: var(--lh-text);
  background: var(--lh-bg);
  font-family: var(--font-interface);
  overflow-x: hidden;
}

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

.lh-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--color-text-inverse);
  background: var(--lh-gold);
  border-radius: var(--lh-radius);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--lh-fast);
}

.lh-skip-link:focus-visible {
  outline: 2px solid var(--lh-text);
  outline-offset: 3px;
  transform: translateY(0);
}

.lh-dashboard-content:focus {
  outline: none;
}

.lh-auth-shell,
.lh-onboarding-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  gap: 32px;
  padding: 40px;
}

.lh-auth-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 500px);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
}

.lh-auth-brand h1,
.lh-onboarding-card h1,
.lh-app-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 600;
}

.lh-auth-brand p,
.lh-muted,
.lh-panel p,
.lh-plan-card p {
  color: var(--lh-muted);
  line-height: 1.6;
}

.lh-auth-brand {
  position: relative;
  display: grid;
  align-content: center;
  min-height: min(760px, calc(100vh - 96px));
  overflow: hidden;
}

.lh-auth-brand h1 {
  width: min(100%, 760px);
}

.lh-brand-title {
  position: relative;
  margin: 0;
}

.lh-brand-signature {
  --lh-brand-mark-size: 1.55em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  max-width: 100%;
  color: var(--lh-seal-color);
  white-space: nowrap;
}

.lh-brand-signature::after {
  position: absolute;
  right: 0;
  bottom: -0.08em;
  width: calc(100% - var(--lh-brand-mark-size) - 0.28em);
  height: 1px;
  background: currentColor;
  opacity: 0.58;
  content: "";
}

.lh-brand-signature-mark {
  width: var(--lh-brand-mark-size);
  height: var(--lh-brand-mark-size);
  flex: 0 0 var(--lh-brand-mark-size);
  overflow: visible;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--lh-seal-color) 18%, transparent));
}

.lh-brand-signature-word {
  color: var(--lh-brand-ink);
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 10px 28px color-mix(in srgb, #000 14%, transparent);
}

html[data-theme="dark"] .lh-brand-signature-word {
  color: #f8f4ea;
  text-shadow: 0 10px 28px color-mix(in srgb, #000 48%, transparent);
}

.lh-brand-signature-hero {
  --lh-brand-mark-size: 1.24em;
  font-size: clamp(3.15rem, 7.4vw, 7.25rem);
}

.lh-brand-signature-navigation {
  --lh-brand-mark-size: 1.36em;
  font-size: 1.55rem;
}

.lh-brand-signature-mobile {
  --lh-brand-mark-size: 1.3em;
  font-size: clamp(1.35rem, 6.4vw, 1.8rem);
}

.lh-auth-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.lh-auth-promise {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--lh-text) !important;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 3.2rem);
  line-height: 1.08 !important;
}

.lh-entry-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  z-index: 1;
  width: min(92%, 54vh, 560px);
  min-width: 0;
  margin: 0;
  color: var(--lh-seal-color);
  opacity: 0.74;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.lh-entry-seal svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 60px color-mix(in srgb, var(--lh-gold) 18%, transparent));
}

.lh-hermetic-seal-svg {
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  color: var(--lh-seal-color);
}

.lh-hermetic-seal-svg circle,
.lh-hermetic-seal-svg path,
.lh-hermetic-seal-svg rect {
  vector-effect: non-scaling-stroke;
}

.lh-hermetic-seal-main {
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lh-hermetic-seal-main > * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lh-hermetic-seal-draw 12s cubic-bezier(0.65, 0, 0.35, 1) infinite both;
}

.lh-hermetic-seal-triangle { animation-delay: 0.72s !important; }
.lh-hermetic-seal-square { animation-delay: 1.48s !important; }
.lh-hermetic-seal-core { animation-delay: 2.1s !important; }

@keyframes lh-hermetic-seal-draw {
  0% { opacity: 0; stroke-dashoffset: 1; }
  8% { opacity: 0.88; }
  28%, 76% { opacity: 0.94; stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.lh-auth-panel,
.lh-onboarding-card,
.lh-panel,
.lh-plan-card {
  background: var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  box-shadow: var(--lh-shadow);
}

.lh-auth-panel,
.lh-onboarding-card {
  padding: 32px;
}

.lh-onboarding-card {
  min-width: 0;
  width: 100%;
}

.lh-auth-panel {
  align-self: center;
}

.lh-public-theme-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 60;
}

.lh-public-home {
  min-height: 100vh;
  color: var(--lh-text);
  background: var(--lh-bg);
}

.lh-public-home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 64px;
  padding: 72px 7% 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--lh-border);
}

.lh-public-home-identity {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  animation: lh-public-identity-settle 6.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lh-public-home-seal {
  width: min(100%, 430px);
  margin: 0;
  color: var(--lh-seal-color);
  filter: drop-shadow(0 24px 64px color-mix(in srgb, var(--lh-gold) 22%, transparent));
}

.lh-public-home-seal .lh-hermetic-seal-main > * {
  animation-name: lh-public-seal-draw;
  animation-duration: 5.4s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

.lh-public-home-seal .lh-hermetic-seal-triangle { animation-delay: 0.75s !important; }
.lh-public-home-seal .lh-hermetic-seal-square { animation-delay: 1.5s !important; }
.lh-public-home-seal .lh-hermetic-seal-core { animation-delay: 2.25s !important; }

.lh-public-home-wordmark {
  position: relative;
  max-width: 100%;
  margin: -24px 0 0;
  overflow: hidden;
  color: var(--lh-brand-ink);
  font-family: var(--font-display);
  font-size: 4.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  animation: lh-public-wordmark-write 2.2s 3.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html[data-theme="dark"] .lh-public-home-wordmark {
  color: #f8f4ea;
}

.lh-public-home-wordmark::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--lh-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: lh-public-wordmark-line 1.5s 4.15s ease-out forwards;
}

.lh-public-home-signature {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--lh-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  animation: lh-public-copy-reveal 1.2s 4.8s ease forwards;
}

.lh-public-home-manifesto {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  min-width: 0;
  padding: 48px 52px;
  background: color-mix(in srgb, var(--lh-surface) 94%, transparent);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  box-shadow: var(--lh-shadow);
  opacity: 0;
  transform: translateX(42px);
  animation: lh-public-panel-reveal 1.4s 5.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lh-public-home-manifesto h2 {
  max-width: 680px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.lh-public-home-manifesto > p:not(.lh-kicker) {
  margin: 0 0 18px;
  color: var(--lh-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.lh-public-home-manifesto .lh-public-home-lead {
  color: var(--lh-gold) !important;
  font-family: var(--font-display);
  font-size: 1.48rem !important;
  line-height: 1.42 !important;
}

.lh-public-home-manifesto blockquote {
  margin: 30px 0 0;
  padding: 8px 0 8px 24px;
  color: var(--lh-text);
  border-left: 2px solid var(--lh-gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.48;
}

.lh-public-home-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.lh-public-home-login {
  color: var(--lh-gold);
  text-underline-offset: 5px;
}

.lh-public-home-demo {
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.lh-public-home-map {
  padding: 42px 7% 52px;
  background: var(--lh-surface);
}

.lh-public-home-map > p {
  margin: 0 0 24px;
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-public-home-map dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.lh-public-home-map dl > div {
  min-width: 0;
  padding: 4px 28px 4px 0;
  border-right: 1px solid var(--lh-border);
}

.lh-public-home-map dl > div + div {
  padding-left: 28px;
}

.lh-public-home-map dl > div:last-child {
  border-right: 0;
}

.lh-public-home-map dt {
  margin-bottom: 7px;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.lh-public-home-map dd {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@keyframes lh-public-seal-draw {
  0% { opacity: 0; stroke-dashoffset: 1; }
  10% { opacity: 0.9; }
  64%, 100% { opacity: 0.98; stroke-dashoffset: 0; }
}

@keyframes lh-public-identity-settle {
  0%, 62% { transform: translateX(53%) scale(1.28); }
  100% { transform: translateX(0) scale(1); }
}

@keyframes lh-public-wordmark-write {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes lh-public-wordmark-line {
  to { transform: scaleX(1); }
}

@keyframes lh-public-copy-reveal {
  to { opacity: 1; }
}

@keyframes lh-public-panel-reveal {
  to { opacity: 1; transform: translateX(0); }
}

.lh-kicker {
  margin: 0 0 10px;
  color: var(--lh-gold);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lh-subtle-link,
.lh-auth-links a,
.lh-link-button {
  color: var(--lh-gold);
}

.lh-link-button {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.lh-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--lh-sidebar-width) minmax(0, 1fr);
  overflow-x: clip;
}

.lh-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: var(--lh-sidebar-width);
  height: 100vh;
  padding: 24px;
  background: var(--color-bg-soft);
  border-right: 1px solid var(--lh-border);
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.lh-sidebar-close,
.lh-sidebar-backdrop {
  display: none;
}

.lh-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0;
  color: var(--lh-seal-color);
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.lh-brand-trigger {
  min-height: 44px;
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--lh-seal-color);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lh-mobile-header {
  display: none;
}

.lh-mobile-header-actions {
  display: none;
}

.lh-scroll-top {
  display: none;
}

.lh-menu-icon {
  width: 22px;
  display: grid;
  gap: 4px;
}

.lh-menu-icon i {
  height: 1px;
  display: block;
  background: var(--lh-gold);
  box-shadow: 0 0 12px color-mix(in srgb, var(--lh-gold) 34%, transparent);
}

.lh-app-shell.sidebar-open .lh-menu-icon i:nth-child(1) {
  transform: translateY(5px) rotate(42deg);
}

.lh-app-shell.sidebar-open .lh-menu-icon i:nth-child(2) {
  opacity: 0;
}

.lh-app-shell.sidebar-open .lh-menu-icon i:nth-child(3) {
  transform: translateY(-5px) rotate(-42deg);
}

.lh-sidebar .lh-dashboard-nav {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.lh-sidebar a {
  color: var(--lh-muted);
  text-decoration: none;
}

.lh-dashboard-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--lh-radius);
}

.lh-dashboard-nav a[aria-current="page"],
.lh-dashboard-nav a:hover {
  color: var(--lh-text);
  background: var(--lh-gold-soft);
}

.lh-nav-primary,
.lh-nav-groups,
.lh-nav-utility {
  display: grid;
  gap: 4px;
}

.lh-nav-utility {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 22%, var(--lh-border));
}

.lh-nav-group {
  border-top: 1px solid color-mix(in srgb, var(--lh-gold) 14%, var(--lh-border));
}

.lh-nav-group summary {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label marker"
    "summary marker";
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
  color: color-mix(in srgb, var(--lh-text) 82%, var(--lh-muted));
  border-radius: var(--lh-radius);
  cursor: pointer;
  list-style: none;
}

.lh-nav-group summary::-webkit-details-marker {
  display: none;
}

.lh-nav-group summary::after {
  grid-area: marker;
  align-self: center;
  justify-self: end;
  color: var(--lh-gold);
  content: "+";
}

.lh-nav-group[open] summary::after {
  content: "-";
}

.lh-nav-group summary:hover,
.lh-nav-group[open] summary {
  color: var(--lh-text);
  background: color-mix(in srgb, var(--lh-gold) 7%, transparent);
}

.lh-nav-group summary span {
  grid-area: label;
  display: block;
  font-weight: 650;
}

.lh-nav-group summary small {
  grid-area: summary;
  display: block;
  max-width: 18ch;
  color: var(--lh-muted);
  font-size: 0.65rem;
  line-height: 1.25;
}

.lh-nav-group-links {
  display: grid;
  gap: 2px;
  padding: 2px 0 8px 10px;
}

.lh-nav-group-links a {
  padding-block: 8px;
  color: color-mix(in srgb, var(--lh-muted) 88%, var(--lh-text));
  font-size: 0.92rem;
}

.lh-sidebar .lh-dashboard-nav .lh-name-nav-link,
.lh-mobile-session-menu .lh-name-nav-link {
  color: var(--lh-gold);
  font-family: var(--font-display);
  font-size: 1.08rem;
  text-shadow:
    0 1px 0 color-mix(in srgb, white 12%, transparent),
    0 -1px 0 color-mix(in srgb, black 72%, transparent),
    0 0 14px color-mix(in srgb, var(--lh-gold) 18%, transparent);
}

html[data-theme="dark"] .lh-sidebar .lh-dashboard-nav .lh-name-nav-link,
html[data-theme="dark"] .lh-mobile-session-menu .lh-name-nav-link {
  color: #fffdf8;
  text-shadow:
    1px 1px 0 color-mix(in srgb, var(--lh-gold) 78%, black),
    2px 2px 0 color-mix(in srgb, var(--lh-gold) 52%, black),
    0 0 16px color-mix(in srgb, var(--lh-gold) 18%, transparent);
}

.lh-app-main {
  min-width: 0;
  padding: 24px clamp(24px, 4vw, 52px) 36px;
  transition: padding 360ms ease;
}

.lh-app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.lh-header-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lh-theme-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--lh-gold);
  background: var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  cursor: pointer;
  transition: color var(--lh-fast), background var(--lh-fast), border-color var(--lh-fast), box-shadow var(--lh-fast);
}

.lh-theme-toggle:hover,
.lh-theme-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--lh-gold) 58%, var(--lh-border));
  box-shadow: 0 0 22px color-mix(in srgb, var(--lh-gold) 18%, transparent);
  outline: none;
}

.lh-theme-toggle span {
  grid-area: 1 / 1;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lh-theme-sun {
  color: var(--lh-gold);
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.lh-theme-moon {
  color: #11100e;
  opacity: 0;
  transform: rotate(-18deg) scale(0.72);
}

html[data-theme="light"] .lh-theme-sun {
  opacity: 0;
  transform: rotate(24deg) scale(0.72);
}

html[data-theme="light"] .lh-theme-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.lh-page-context {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--lh-muted);
  line-height: 1.5;
}

.lh-app-header .lh-name-route-title {
  color: var(--lh-gold);
  background: linear-gradient(118deg, #1b1509 0%, #070604 32%, var(--lh-gold) 48%, #181109 64%, #6b4e19 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    1px 1px 0 color-mix(in srgb, var(--lh-gold) 88%, black),
    2px 2px 0 color-mix(in srgb, var(--lh-gold) 68%, black),
    0 -1px 0 color-mix(in srgb, white 22%, transparent),
    0 0 26px color-mix(in srgb, var(--lh-gold) 20%, transparent);
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .lh-app-header .lh-name-route-title {
  background: none;
  color: #fffdf8;
  -webkit-text-fill-color: #fffdf8;
  text-shadow:
    1px 1px 0 color-mix(in srgb, var(--lh-gold) 92%, black),
    2px 2px 0 color-mix(in srgb, var(--lh-gold) 76%, black),
    3px 3px 0 color-mix(in srgb, var(--lh-gold) 56%, black),
    0 -1px 0 color-mix(in srgb, black 78%, transparent),
    0 0 30px color-mix(in srgb, var(--lh-gold) 24%, transparent);
}

.lh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--lh-muted);
  font-size: 0.84rem;
}

.lh-breadcrumb a {
  color: var(--lh-gold);
  text-decoration: none;
}

.lh-user-menu {
  position: relative;
  min-width: 190px;
}

.lh-user-menu summary {
  min-height: 48px;
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  color: var(--lh-text);
  background: var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  cursor: pointer;
  list-style: none;
}

.lh-user-menu summary::-webkit-details-marker {
  display: none;
}

.lh-user-menu summary small {
  color: var(--lh-muted);
}

.lh-user-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: min(260px, 80vw);
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  box-shadow: var(--shadow-elevated);
}

.lh-user-menu-panel p {
  margin: 0;
  color: var(--lh-muted);
  overflow-wrap: anywhere;
}

.lh-user-menu-panel a,
.lh-user-menu-panel button {
  color: var(--lh-text);
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  padding: 10px 12px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.lh-notification-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.lh-notification {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: var(--lh-text);
  background: var(--lh-surface-2);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--lh-radius);
}

.lh-notification span {
  color: var(--lh-muted);
  line-height: 1.45;
}

.lh-notification-quiet {
  border-color: var(--lh-border);
}

.lh-shell-meter,
.lh-shell-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lh-shell-meter {
  justify-content: space-between;
}

.lh-shell-meter span {
  color: var(--lh-muted);
}

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

.lh-shell-pills span {
  padding: 6px 9px;
  color: var(--lh-text);
  background: var(--lh-surface-2);
  border: 1px solid var(--lh-border);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
}

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

.lh-my-space {
  display: grid;
  gap: 22px;
}

.lh-my-space-hero {
  position: relative;
  min-height: 460px;
  display: block;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 82% 50%, color-mix(in srgb, var(--lh-gold) 13%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--lh-gold) 8%, transparent), transparent 42%),
    var(--lh-surface);
  border: 1px solid var(--lh-border);
  border-radius: var(--lh-radius);
  box-shadow: var(--lh-shadow);
}

.lh-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: min(620px, 51%);
}

.lh-hero-copy h2 {
  margin: 0;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 7vw, 6.7rem);
  font-weight: 500;
  line-height: 0.95;
}

.lh-hero-copy h2 span {
  color: var(--lh-gold);
}

.lh-hero-copy > p:not(.lh-kicker) {
  max-width: 820px;
  margin: 0;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  line-height: 1.18;
}

.lh-hero-actions,
.lh-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lh-hero-meta span {
  padding: 7px 0;
  color: var(--lh-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lh-hero-meta span + span::before {
  margin: 0 10px 0 2px;
  color: var(--lh-gold);
  content: "•";
}

.lh-orbit-visual {
  position: absolute;
  top: -2%;
  right: clamp(-120px, -5vw, -56px);
  bottom: 0;
  z-index: 0;
  width: min(54%, 780px);
  min-height: 360px;
  display: grid;
  place-items: center;
  opacity: 0.9;
  pointer-events: none;
}

.lh-my-space-hero {
  min-height: min(68vh, 700px);
}

.lh-metatron-svg {
  --metatron-circle-opacity: 0.72;
  --metatron-line-opacity: 0.52;
  --metatron-spine-opacity: 0.72;
  --metatron-figure-opacity: 1;
  width: min(100%, 620px);
  aspect-ratio: 1;
  overflow: visible;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--lh-gold) 24%, transparent));
  transform: scale(1.02);
}

@media (max-width: 1500px) {
  .lh-orbit-visual {
    right: clamp(-42px, -2vw, -18px);
    width: min(44%, 660px);
  }
}

@media (max-width: 1120px) {
  .lh-hero-copy {
    max-width: min(600px, 54%);
  }

  .lh-orbit-visual {
    right: clamp(20px, 3vw, 36px);
    width: min(38%, 540px);
  }
}

.lh-metatron-svg[data-variant="subtle"] {
  --metatron-circle-opacity: 0.68;
  --metatron-line-opacity: 0.42;
  --metatron-spine-opacity: 0.78;
  --metatron-figure-opacity: 0.86;
}

.lh-metatron-svg[data-variant="entry"] {
  --metatron-circle-opacity: 0.78;
  --metatron-line-opacity: 0.46;
  --metatron-spine-opacity: 0.82;
  --metatron-figure-opacity: 0.9;
}

.lh-metatron-svg circle,
.lh-metatron-svg line,
.lh-metatron-svg polygon,
.lh-metatron-svg rect {
  fill: none;
  stroke: var(--lh-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lh-metatron-fruit circle {
  opacity: calc(var(--metatron-circle-opacity) * 0.72);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lh-metatron-circle 24s ease-in-out infinite both;
}

.lh-metatron-fruit circle:nth-child(1) { animation-delay: 0s; }
.lh-metatron-fruit circle:nth-child(2) { animation-delay: 0.08s; }
.lh-metatron-fruit circle:nth-child(3) { animation-delay: 0.16s; }
.lh-metatron-fruit circle:nth-child(4) { animation-delay: 0.24s; }
.lh-metatron-fruit circle:nth-child(5) { animation-delay: 0.32s; }
.lh-metatron-fruit circle:nth-child(6) { animation-delay: 0.4s; }
.lh-metatron-fruit circle:nth-child(7) { animation-delay: 0.48s; }
.lh-metatron-fruit circle:nth-child(8) { animation-delay: 0.56s; }
.lh-metatron-fruit circle:nth-child(9) { animation-delay: 0.64s; }
.lh-metatron-fruit circle:nth-child(10) { animation-delay: 0.72s; }
.lh-metatron-fruit circle:nth-child(11) { animation-delay: 0.8s; }
.lh-metatron-fruit circle:nth-child(12) { animation-delay: 0.88s; }
.lh-metatron-fruit circle:nth-child(13) { animation-delay: 0.96s; }

.lh-metatron-lines line {
  opacity: calc(var(--metatron-line-opacity) * 0.62);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lh-metatron-line 24s ease-in-out infinite both;
}

.lh-metatron-spines line {
  filter: url("#metatronGlow");
  opacity: calc(var(--metatron-spine-opacity) * 0.65);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lh-metatron-spine 24s ease-in-out infinite both;
}

.lh-metatron-lines line:nth-child(odd) {
  animation-delay: 4s;
}

.lh-metatron-lines line:nth-child(even) {
  animation-delay: 4.28s;
}

.lh-metatron-spines line:nth-child(odd) {
  animation-delay: 5.15s;
}

.lh-metatron-spines line:nth-child(even) {
  animation-delay: 5.42s;
}

.lh-metatron-figure {
  opacity: 0;
  filter: url("#metatronGlow");
  animation: lh-metatron-figure 24s ease-in-out infinite both;
}

.lh-metatron-figure line,
.lh-metatron-figure polygon,
.lh-metatron-figure rect {
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.lh-metatron-merkaba { animation-delay: 5s; }
.lh-metatron-icosa { animation-delay: 7.4s; }
.lh-metatron-dodeca { animation-delay: 9.8s; }
.lh-metatron-octa { animation-delay: 12.2s; }
.lh-metatron-hexa { animation-delay: 14.6s; }
.lh-metatron-tetra { animation-delay: 17s; }

@keyframes lh-metatron-circle {
  0% { opacity: calc(var(--metatron-circle-opacity) * 0.5); stroke-dashoffset: 0.94; }
  6%, 78% { opacity: var(--metatron-circle-opacity); stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes lh-metatron-line {
  0% { opacity: calc(var(--metatron-line-opacity) * 0.48); stroke-dashoffset: 0.94; }
  12% { opacity: calc(var(--metatron-line-opacity) * 0.64); stroke-dashoffset: 0.72; }
  25%, 78% { opacity: var(--metatron-line-opacity); stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes lh-metatron-spine {
  0% { opacity: 0; stroke-dashoffset: 1; }
  12% { opacity: calc(var(--metatron-spine-opacity) * 0.45); stroke-dashoffset: 0.78; }
  24%, 76% { opacity: var(--metatron-spine-opacity); stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes lh-metatron-figure {
  0%, 2% {
    opacity: 0;
  }
  10%, 12% {
    opacity: var(--metatron-figure-opacity);
  }
  20%, 24% {
    opacity: var(--metatron-figure-opacity);
  }
  34%, 100% {
    opacity: 0;
  }
}

.lh-metatron-figure line,
.lh-metatron-figure polygon,
.lh-metatron-figure rect {
  animation: lh-metatron-figure-draw 24s ease-in-out infinite both;
}

.lh-metatron-merkaba line,
.lh-metatron-merkaba polygon,
.lh-metatron-merkaba rect { animation-delay: 5s; }
.lh-metatron-icosa line,
.lh-metatron-icosa polygon,
.lh-metatron-icosa rect { animation-delay: 7.4s; }
.lh-metatron-dodeca line,
.lh-metatron-dodeca polygon,
.lh-metatron-dodeca rect { animation-delay: 9.8s; }
.lh-metatron-octa line,
.lh-metatron-octa polygon,
.lh-metatron-octa rect { animation-delay: 12.2s; }
.lh-metatron-hexa line,
.lh-metatron-hexa polygon,
.lh-metatron-hexa rect { animation-delay: 14.6s; }
.lh-metatron-tetra line,
.lh-metatron-tetra polygon,
.lh-metatron-tetra rect { animation-delay: 17s; }

@keyframes lh-metatron-figure-draw {
  0%, 2% {
    stroke-dashoffset: 1;
  }
  11%, 25% {
    stroke-dashoffset: 0;
  }
  34%, 100% {
    stroke-dashoffset: 1;
  }
}

.lh-panel {
  padding: 24px;
}

.lh-panel-wide {
  grid-column: 1 / -1;
}

.lh-mobile-session-menu {
  display: none;
}
