@media (min-width: 901px) and (max-width: 1050px) {
  .lh-auth-shell {
    --lh-mobile-entry-seal-size: min(78vw, 42vh, 380px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .lh-auth-brand {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 0 34px;
    overflow: visible;
  }

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

  .lh-auth-promise {
    max-width: 620px;
    font-size: clamp(2rem, 5.4vw, 3.2rem);
  }

  .lh-entry-seal {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: var(--lh-mobile-entry-seal-size);
    margin: 24px auto 0;
    transform: none;
  }

  .lh-auth-panel {
    width: min(100%, 560px);
    justify-self: center;
    padding: 28px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .lh-name-constellation-reading {
    grid-template-columns: 1fr;
  }

  .lh-astro-section-header,
  .lh-astro-placement-grid {
    grid-template-columns: 1fr;
  }

  .lh-astro-placement {
    min-height: 0;
  }

  .lh-foundation-forces,
  .lh-energy-grid,
  .lh-name-correspondences > div {
    grid-template-columns: 1fr;
  }

  .lh-foundation-forces article,
  .lh-name-correspondences article {
    min-height: 0;
  }

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

  .lh-cycle-now-grid,
  .lh-cycle-detail-columns,
  .lh-cycle-compass,
  .lh-kabbalah-firstname-note {
    grid-template-columns: 1fr;
  }

  .lh-cycle-now-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--lh-border);
  }

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

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

  .lh-name-correspondence-tarot,
  .lh-name-arcane-flip-card,
  .lh-name-arcane-flip-inner {
    min-height: min(680px, 72vw);
  }

  .lh-kabbalah-firstname-note .lh-btn {
    justify-self: start;
  }
}

@media (min-width: 1201px) and (max-width: 1500px) {
  .lh-astro-placement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lh-astro-placement {
    min-height: 0;
  }

  .lh-astro-placement:last-child {
    grid-column: 1 / -1;
  }

  .lh-energy-card summary,
  .lh-profile-number-card summary {
    grid-template-columns: minmax(72px, 0.24fr) minmax(0, 1fr);
    gap: 14px;
  }

  .lh-energy-card .lh-energy-number,
  .lh-profile-number-card summary > strong {
    min-width: 1.25em;
    font-size: clamp(3.6rem, 4.5vw, 5rem);
  }
}

@media (max-width: 900px) {
  .lh-public-home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 76px 18px 38px;
    overflow: visible;
  }

  .lh-public-home-identity {
    animation: lh-public-mobile-identity-settle 5.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .lh-public-home-seal {
    width: min(78%, 330px);
  }

  .lh-public-home-wordmark {
    margin-top: -18px;
    font-size: 3.55rem;
  }

  .lh-public-home-signature {
    max-width: 300px;
    font-size: 0.75rem;
  }

  .lh-public-home-manifesto {
    width: 100%;
    padding: 30px 24px;
    transform: translateY(28px);
  }

  .lh-public-home-manifesto h2 {
    font-size: 2.25rem;
  }

  .lh-public-home-manifesto .lh-public-home-lead {
    font-size: 1.32rem !important;
  }

  .lh-public-home-manifesto blockquote {
    padding-left: 18px;
    font-size: 1.22rem;
  }

  .lh-public-home-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .lh-public-home-actions .lh-btn,
  .lh-public-home-login,
  .lh-public-home-demo {
    width: 100%;
    text-align: center;
  }

  .lh-public-home-map {
    padding: 34px 24px 44px;
  }

  .lh-public-home-map dl {
    grid-template-columns: 1fr;
  }

  .lh-public-home-map dl > div,
  .lh-public-home-map dl > div + div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--lh-border);
  }

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

  @keyframes lh-public-mobile-identity-settle {
    0%, 68% { transform: scale(1.16); }
    100% { transform: scale(1); }
  }

  .lh-intention-priority {
    grid-template-columns: 1fr;
  }

  .lh-intention-priority small {
    grid-column: 1;
  }

  .lh-auth-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .lh-auth-brand {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 0 34px;
    overflow: visible;
  }

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

  .lh-brand-signature-hero {
    --lh-brand-mark-size: 1.16em;
    gap: 0.22em;
    font-size: clamp(2.5rem, 12.2vw, 4.8rem);
  }

  .lh-brand-signature-hero::after {
    width: calc(100% - var(--lh-brand-mark-size) - 0.22em);
  }

  .lh-auth-promise {
    max-width: min(100%, 520px);
    font-size: clamp(1.55rem, 8vw, 2.45rem);
  }

  .lh-entry-seal {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(78vw, 42vh, 380px);
    min-width: 0;
    margin: 20px auto 0;
    opacity: 0.7;
    transform: none;
  }

  .lh-auth-panel {
    position: relative;
    z-index: 3;
    align-self: stretch;
    margin-top: -220px;
    padding: 116px 24px 24px;
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--lh-surface) 8%, transparent) 0,
      color-mix(in srgb, var(--lh-surface) 34%, transparent) 104px,
      color-mix(in srgb, var(--lh-surface) 74%, transparent) 224px,
      color-mix(in srgb, var(--lh-surface) 92%, transparent) 340px
    );
    box-shadow:
      0 22px 70px color-mix(in srgb, #000 26%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--lh-text) 5%, transparent);
    -webkit-backdrop-filter: blur(9px) saturate(112%);
    backdrop-filter: blur(9px) saturate(112%);
    overflow: hidden;
  }

  html[data-theme="light"] .lh-auth-panel {
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--lh-surface) 18%, transparent) 0,
      color-mix(in srgb, var(--lh-surface) 48%, transparent) 104px,
      color-mix(in srgb, var(--lh-surface) 82%, transparent) 224px,
      color-mix(in srgb, var(--lh-surface) 94%, transparent) 340px
    );
  }

  .lh-onboarding-shell {
    padding: 14px;
  }

  .lh-onboarding-card {
    padding: 22px 18px;
  }

  .lh-public-theme-toggle {
    top: 14px;
    right: 14px;
  }

  .lh-public-theme-toggle .lh-theme-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    background: color-mix(in srgb, var(--lh-surface) 88%, transparent);
    backdrop-filter: blur(10px);
  }

  .lh-app-shell {
    display: block;
    padding-bottom: 0;
  }

  .lh-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: min(82vw, var(--lh-sidebar-width));
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
    visibility: hidden;
    box-shadow: var(--lh-shadow);
    transition:
      opacity 360ms ease,
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 420ms;
  }

  .lh-sidebar-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--lh-text);
    background: color-mix(in srgb, var(--lh-surface-2) 88%, transparent);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }

  .lh-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    padding: 0;
    background: rgb(0 0 0 / 58%);
    border: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 320ms ease, visibility 0s linear 320ms;
  }

  .lh-app-shell.sidebar-open .lh-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 320ms ease, visibility 0s linear 0s;
  }

  .lh-app-shell.sidebar-open .lh-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    transition:
      opacity 360ms ease,
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }

  .lh-app-main {
    padding: calc(96px + env(safe-area-inset-top, 0px)) 18px 28px;
  }

  .lh-mobile-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 28;
    min-height: calc(74px + env(safe-area-inset-top, 0px));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: env(safe-area-inset-top, 0px) 18px 0;
    background: color-mix(in srgb, var(--lh-bg) 82%, transparent);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(14px) saturate(118%);
    backdrop-filter: blur(14px) saturate(118%);
    transition:
      min-height 260ms cubic-bezier(0.22, 1, 0.36, 1),
      background 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease;
  }

  html.lh-mobile-header-scrolled .lh-mobile-header {
    min-height: calc(60px + env(safe-area-inset-top, 0px));
    background: color-mix(in srgb, var(--lh-bg) 94%, transparent);
    border-bottom-color: color-mix(in srgb, var(--lh-gold) 28%, var(--lh-border));
    box-shadow: 0 12px 32px color-mix(in srgb, #000 16%, transparent);
  }

  html[data-theme="light"] .lh-mobile-header {
    background: color-mix(in srgb, #fff 84%, transparent);
  }

  html[data-theme="light"].lh-mobile-header-scrolled .lh-mobile-header {
    background: color-mix(in srgb, #fff 96%, transparent);
    box-shadow: 0 10px 28px rgba(50, 42, 28, 0.1);
  }

  .lh-mobile-header-actions {
    min-height: 60px;
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: min-height 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.lh-mobile-header-scrolled .lh-mobile-header-actions {
    min-height: 52px;
  }

  .lh-mobile-header-actions .lh-theme-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    background: color-mix(in srgb, var(--lh-surface) 86%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .lh-mobile-header-actions .lh-theme-toggle span {
    font-size: 1.35rem;
  }

  .lh-scroll-top {
    position: fixed;
    right: 18px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 26;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--lh-gold) 54%, var(--lh-border));
    border-radius: 50%;
    color: var(--lh-gold);
    background: color-mix(in srgb, var(--lh-bg) 88%, transparent);
    box-shadow: 0 10px 28px color-mix(in srgb, #000 24%, transparent);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .lh-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .lh-scroll-top span {
    font-size: 1.65rem;
    line-height: 1;
    transform: translateY(-1px);
  }

  html[data-theme="light"] .lh-scroll-top {
    background: color-mix(in srgb, #fff 94%, transparent);
    box-shadow: 0 10px 24px rgba(50, 42, 28, 0.14);
  }

  .lh-app-header .lh-theme-toggle {
    display: none;
  }

  .lh-app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .lh-header-actions {
    width: 100%;
  }

  .lh-user-menu {
    min-width: 0;
    flex: 1;
  }

  .lh-user-menu-panel {
    right: auto;
    left: 0;
    width: 100%;
  }

  .lh-brand-trigger {
    display: inline-flex;
    min-height: 60px;
    margin: 0;
    transition: min-height 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms ease;
  }

  html.lh-mobile-header-scrolled .lh-brand-trigger {
    min-height: 52px;
  }

  .lh-brand-signature-mobile {
    transform-origin: left center;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.lh-mobile-header-scrolled .lh-brand-signature-mobile {
    transform: scale(0.9);
  }

  .lh-dashboard-grid,
  .lh-my-space-hero,
  .lh-choice-grid,
  .lh-plan-grid,
  .lh-premium-grid,
  .lh-ai-context-bar,
  .lh-stat-grid,
  .lh-section-nav,
  .lh-mini-stats,
  .lh-energy-grid,
  .lh-profile-number-grid,
  .lh-firstname-energy-readings,
  .lh-name-hero,
  .lh-name-primary-reading,
  .lh-name-tension,
  .lh-name-correspondences > div {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-firstname-note {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-firstname-note .lh-btn {
    justify-self: start;
  }

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

  .lh-plan-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 26px 20px;
  }

  .lh-readings-resume {
    grid-template-columns: 1fr;
  }

  .lh-readings-resume > div:first-child {
    padding: 0 20px;
  }

  .lh-reading-card-featured {
    margin: 0 20px;
  }

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

  .lh-birth-location-fields {
    grid-template-columns: 1fr;
  }

  .lh-profile-reveal {
    min-height: min(790px, calc(100svh - 76px));
  }

  .lh-profile-reveal-visual {
    --lh-reveal-visual-size: min(58vh, 78vw, 430px);
    --lh-reveal-visual-margin-top: clamp(36px, 8vh, 72px);
    --lh-reveal-visual-margin-bottom: clamp(64px, 12vh, 104px);
    width: var(--lh-reveal-visual-size);
    max-width: 430px;
    min-width: 0;
    margin: var(--lh-reveal-visual-margin-top) auto var(--lh-reveal-visual-margin-bottom);
  }

  .lh-profile-reveal .lh-written-title {
    padding-inline: 8px;
    line-height: 1.02;
  }

  .lh-profile-reveal-copy {
    width: min(100%, 36rem);
    margin-bottom: 22px;
    padding-inline: 10px;
    text-align: center;
  }

  .lh-consent-invitation {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .lh-consent-toggle {
    min-width: 0;
    justify-self: start;
  }

  .lh-consent-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .lh-foundation-forces,
  .lh-foundation-polarities,
  .lh-foundation-loading,
  .lh-foundation-pending {
    grid-template-columns: 1fr;
  }

  .lh-foundation-forces article {
    min-height: 0;
  }

  .lh-foundation-loading > div {
    width: 72px;
    height: 72px;
  }

  .lh-written-title {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
    line-height: 0.98;
  }

  .lh-reveal-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
  }

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

  .lh-reveal-card {
    min-height: 178px;
  }

  .lh-plan-price {
    min-height: 66px;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: baseline;
    white-space: nowrap;
  }

  .lh-plan-price strong {
    flex: 0 0 auto;
    font-size: clamp(2.85rem, 11vw, 4rem);
    line-height: 1;
  }

  .lh-plan-price span {
    flex: 0 0 auto;
  }

  .lh-plan-note {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 auto;
    min-height: 1.45em;
    line-height: 1.45;
  }

  .lh-plan-features {
    flex: 1 0 auto;
  }

  .lh-my-space-hero {
    min-height: 0;
    padding: 24px;
  }

  .lh-hero-copy {
    max-width: none;
  }

  .lh-hero-copy h2 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .lh-hero-copy > p:not(.lh-kicker) {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }

  .lh-orbit-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    min-height: 220px;
    order: -1;
  }

  .lh-metatron-svg {
    transform: scale(0.96);
  }

  .lh-expand-card summary {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .lh-expand-card summary strong {
    font-size: 1.55rem;
  }

  .lh-name-page {
    gap: 36px;
  }

  .lh-name-hero {
    min-height: 0;
    gap: 16px;
    padding: 24px;
  }

  .lh-name-hero-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .lh-name-opening {
    font-size: clamp(1.35rem, 6.4vw, 1.85rem);
  }

  .lh-name-seal {
    width: min(100%, 410px);
    order: -1;
  }

  .lh-name-signature {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lh-name-signature span {
    min-width: 0;
    padding: 12px 10px;
  }

  .lh-name-signature span + span {
    padding-left: 10px;
  }

  .lh-name-signature strong {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .lh-name-primary-reading article,
  .lh-name-tension article {
    padding: 26px 4px;
  }

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

  .lh-name-oracle-line {
    padding-left: 20px;
  }

  .lh-name-correspondences article {
    min-height: 0;
    padding: 26px 20px;
  }

  .lh-name-disclosure > summary {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lh-name-disclosure > div:not(.lh-name-layer-tabs) {
    padding-right: 0;
  }

  .lh-name-dossier > div {
    grid-template-columns: 1fr;
  }

  .lh-name-revelation-entry {
    grid-template-rows: minmax(210px, 38svh) auto;
    min-height: calc(100svh - 68px);
    padding: 12px 14px 22px;
  }

  .lh-name-revelation-seal {
    width: min(36svh, 84vw);
  }

  .lh-name-revelation-copy h1,
  .lh-name-revelation-copy h2 {
    font-size: 2.15rem;
  }

  .lh-name-generation-progress {
    padding: 16px;
  }

  .lh-name-generation-progress ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lh-name-revelation-cta {
    width: 100%;
  }

  .lh-name-revelation-shell > header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .lh-name-revelation-shell .lh-brand-link {
    font-size: 1.2rem;
  }

  .lh-name-revelation-back {
    display: none;
  }

  .lh-name-revelation-shell .lh-user-menu {
    display: none;
  }

  .lh-name-switcher {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .lh-name-switcher button {
    padding-inline: 8px;
  }

  .lh-name-switcher > div button {
    min-width: 132px;
  }

  .lh-name-constellation-reading,
  .lh-name-constellation-grid {
    grid-template-columns: 1fr;
  }

  .lh-name-constellation-score {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .lh-name-constellation-total {
    min-height: 176px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label number" "caption number";
    justify-items: start;
    padding: 24px;
    text-align: left;
  }

  .lh-name-constellation-total > span { grid-area: label; }
  .lh-name-constellation-total > strong { grid-area: number; }
  .lh-name-constellation-total > small { grid-area: caption; }

  .lh-name-constellation-list {
    padding: 8px 14px;
  }

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

  .lh-name-repeated-vibrations article {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .lh-name-repeated-number {
    width: 60px;
    font-size: 2.15rem;
  }

  .lh-energy-card summary {
    grid-template-columns: minmax(72px, 0.26fr) minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

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

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

  .lh-energy-card .lh-energy-number {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .lh-energy-expanded {
    padding: 0 18px 18px;
  }

  .lh-energy-reading-map {
    grid-template-columns: 1fr;
  }

  .lh-energy-reading-map article {
    min-height: 0;
  }

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

  .lh-firstname-energy-bridge {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .lh-firstname-locked .lh-btn {
    width: 100%;
  }

  .lh-firstname-energy-mark {
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    gap: 12px;
    min-height: 0;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--lh-gold) 34%, transparent);
  }

  .lh-firstname-energy-mark strong {
    font-size: 4.4rem;
  }

  .lh-firstname-energy-readings section,
  .lh-firstname-energy-readings section + section {
    padding: 18px 0;
    border-left: 0;
  }

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

  .lh-daily-oracle {
    grid-template-columns: 1fr;
  }

  .lh-daily-oracle-card {
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    justify-items: start;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--lh-border);
  }

  .lh-daily-oracle-card img {
    width: min(100%, 140px);
    max-height: 235px;
  }

  .lh-daily-oracle-card figcaption {
    text-align: left;
  }

  .lh-daily-oracle-content {
    padding: 28px 22px;
  }

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

  .lh-monthly-oracle-seal {
    margin-top: 4px !important;
    padding: 14px 15px;
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .lh-daily-oracle-readings {
    grid-template-columns: 1fr;
  }

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

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

  .lh-almanac-depth > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .lh-almanac-depth-body {
    grid-template-columns: 1fr;
  }

  .lh-almanac-depth-body section,
  .lh-almanac-depth-body section:nth-of-type(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .lh-almanac-depth-body section + section {
    border-top: 1px solid color-mix(in srgb, var(--lh-gold) 24%, transparent);
  }

  .lh-monthly-challenge-grid {
    grid-template-columns: 1fr;
  }

  .lh-monthly-oracle-challenges article,
  .lh-monthly-oracle-challenges article + article {
    padding: 16px 0;
    border-left: 0;
  }

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

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

  .lh-profile-number-card summary {
    grid-template-columns: minmax(72px, 0.26fr) minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .lh-profile-number-card summary > strong {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .lh-profile-number-expanded {
    padding: 0 18px 18px;
  }

  .lh-profile-reading-map {
    grid-template-columns: 1fr;
  }

  .lh-profile-reading-map article {
    min-height: 0;
  }

  .lh-mobile-session-menu {
    display: block;
    margin: 32px 0 0;
    padding: 12px;
    background: var(--lh-surface);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
  }

  .lh-mobile-session-menu summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--lh-gold);
    cursor: pointer;
  }

  .lh-mobile-session-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .lh-mobile-session-menu .lh-dashboard-nav {
    gap: 10px;
  }

  .lh-mobile-session-menu .lh-nav-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lh-mobile-session-menu .lh-nav-groups,
  .lh-mobile-session-menu .lh-nav-utility {
    grid-column: 1 / -1;
  }

  .lh-mobile-session-menu .lh-nav-group {
    background: color-mix(in srgb, var(--lh-surface-2) 78%, transparent);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
  }

  .lh-mobile-session-menu .lh-nav-group summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label marker"
      "summary marker";
    padding: 11px 12px;
  }

  .lh-mobile-session-menu .lh-nav-group summary small {
    max-width: none;
  }

  .lh-mobile-session-menu .lh-nav-group-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 10px 10px;
  }

  .lh-mobile-session-menu a {
    padding: 10px;
    color: var(--lh-muted);
    background: var(--lh-surface-2);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    text-decoration: none;
  }

  .lh-mobile-session-menu a[aria-current="page"] {
    color: var(--lh-text);
    border-color: var(--lh-gold);
  }

  .lh-data-row {
    grid-template-columns: 1fr;
  }

  .lh-settings-summary .lh-data-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "value"
      "meta";
  }

  .lh-settings-summary .lh-data-row > small {
    text-align: left;
  }

  .lh-oracle-reading-panel {
    grid-template-columns: 1fr;
  }

  .lh-oracle-reading-card {
    justify-items: start;
  }

  .lh-oracle-reading-card img,
  .lh-oracle-reading-card span {
    width: min(48vw, 168px);
  }

  .lh-astro-placement-grid {
    grid-template-columns: 1fr;
  }

  .lh-astro-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .lh-astro-orbit {
    width: min(72vw, 320px);
    margin: 12px 0 18px;
  }

  .lh-astro-orbit i {
    width: 68px;
    transform: translate(-50%, -50%) rotate(var(--astro-angle)) translateX(120px) rotate(calc(-1 * var(--astro-angle)));
  }

  .lh-astro-trust,
  .lh-astro-section-header,
  .lh-astro-integration {
    grid-template-columns: 1fr;
  }

  .lh-astro-integration-copy {
    border-right: 0;
    border-bottom: 1px solid var(--lh-border);
  }

  .lh-astro-integration-grid {
    grid-template-columns: 1fr;
  }

  .lh-astro-integration-grid > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--lh-border);
  }

  .lh-astro-integration-grid > div:last-child {
    border-bottom: 0;
  }

  .lh-astro-integration-grid strong,
  .lh-astro-role,
  .lh-astro-reading {
    min-height: 0;
  }

  .lh-astro-placement {
    min-height: 0;
  }

  .lh-astro-correspondence-grid,
  .lh-astro-method-grid {
    grid-template-columns: 1fr;
  }

  .lh-astro-calculation,
  .lh-natal-chart-header,
  .lh-natal-aspects {
    grid-template-columns: 1fr;
  }

  .lh-natal-chart-meta {
    justify-content: flex-start;
  }

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

  .lh-natal-placements > div:nth-child(3n) {
    border-right: 1px solid var(--lh-border);
  }

  .lh-natal-placements > div:nth-child(2n) {
    border-right: 0;
  }

  .lh-kabbalah-tradition {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-path-step {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-tree,
  .lh-kabbalah-focus-grid,
  .lh-kabbalah-reading,
  .lh-kabbalah-balance {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-focus {
    min-height: 0;
  }

  .lh-kabbalah-seph-card {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-arcane-card img,
  .lh-kabbalah-arcane-symbol {
    width: min(58vw, 210px);
  }

  .lh-alchemy-reading-header,
  .lh-alchemy-generation {
    grid-template-columns: min(20vw, 72px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .lh-alchemy-work-grid,
  .lh-alchemy-support {
    grid-template-columns: 1fr;
  }

  .lh-alchemy-formula {
    justify-items: start;
  }

  .lh-alchemy-formula small {
    text-align: left;
  }

  .lh-alchemy-work-grid section,
  .lh-alchemy-work-grid section:first-child,
  .lh-alchemy-support > div,
  .lh-alchemy-support > div + div {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--lh-border);
  }

  .lh-alchemy-work-grid section:first-child,
  .lh-alchemy-support > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .lh-alchemy-phase-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lh-alchemy-metal-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .lh-alchemy-metal-track::before {
    top: 14px;
    bottom: 14px;
    left: 9px;
    width: 1px;
    height: auto;
  }

  .lh-alchemy-metal-step {
    grid-template-columns: 20px minmax(0, 1fr);
    justify-items: start;
    gap: 4px 14px;
    padding: 0 0 22px;
    text-align: left;
  }

  .lh-alchemy-metal-step:last-child {
    padding-bottom: 0;
  }

  .lh-alchemy-metal-node {
    grid-row: 1 / span 3;
    width: 19px;
    margin: 3px 0 0;
  }

  .lh-alchemy-metal-step strong,
  .lh-alchemy-metal-step small,
  .lh-alchemy-metal-step p {
    grid-column: 2;
    max-width: none;
  }

  .lh-alchemy-metal-cursor {
    top: 4px;
    left: -18px;
  }

  .lh-alchemy-principle-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .lh-alchemy-principle-track::before {
    top: 14px;
    bottom: 14px;
    left: 9px;
    width: 1px;
    height: auto;
  }

  .lh-alchemy-principle-step {
    grid-template-columns: 20px minmax(0, 1fr);
    justify-items: start;
    gap: 4px 14px;
    padding: 0 0 24px;
    text-align: left;
  }

  .lh-alchemy-principle-step:last-child {
    padding-bottom: 0;
  }

  .lh-alchemy-principle-node {
    grid-row: 1 / span 3;
    width: 20px;
    margin: 3px 0 0;
  }

  .lh-alchemy-principle-step strong,
  .lh-alchemy-principle-step small,
  .lh-alchemy-principle-step p {
    grid-column: 2;
    max-width: none;
  }

  .lh-alchemy-principle-cursor {
    top: 4px;
    left: -18px;
  }

  .lh-relationship-duo,
  .lh-relationship-reading,
  .lh-relationship-arcane-card,
  .lh-relationship-movement-details,
  .lh-relationship-inner-grid {
    grid-template-columns: 1fr;
  }

  .lh-relationship-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .lh-relationship-fields {
    grid-template-columns: 1fr;
  }

  .lh-relationship-arcane-img,
  .lh-relationship-arcane-symbol {
    width: min(42vw, 140px);
  }

  .lh-relationship-arcane-flip {
    height: min(72dvh, 660px);
    min-height: 480px;
  }

  .lh-relationship-arcane-face {
    padding: 18px;
  }

  .lh-relationship-arcane-face.is-back p {
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .lh-section-header {
    display: grid;
  }

  .lh-relationship-journal-action {
    display: grid;
  }

  .lh-module-journal-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lh-module-journal-actions button {
    min-width: 0;
    padding-inline: 4px;
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .lh-reading-journal-action {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .lh-reading-journal-action .lh-btn { width: 100%; }

  .lh-journal-filters {
    justify-content: flex-start;
  }

  .lh-journal-entry {
    grid-template-columns: 1fr;
  }

  .lh-journal-entry-date {
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  .lh-encyclopedia-toolbar {
    min-width: 0;
  }

  .lh-encyclopedia-filters {
    justify-content: flex-start;
  }

  .lh-guide-step {
    grid-template-columns: 1fr;
  }

  .lh-entry-button {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
  }

  .lh-entry-button small {
    grid-column: 2;
  }

  .lh-entry-list-img {
    width: 72px;
    grid-row: span 2;
  }

  .lh-encyclopedia-detail-layout,
  .lh-encyclopedia-detail-layout.has-media {
    grid-template-columns: 1fr;
  }

  .lh-encyclopedia-entry,
  .lh-natal-house-implications {
    grid-template-columns: 1fr;
  }

  .lh-encyclopedia-hero-img {
    position: static;
    width: min(280px, 100%);
    justify-self: center;
  }

  .lh-hermetism-symbol:not(.is-compact) {
    position: static;
    width: min(280px, 100%);
    justify-self: center;
  }

  .lh-chart-row {
    grid-template-columns: 1fr;
  }

  .lh-cycle-focus,
  .lh-cycle-row {
    grid-template-columns: 1fr;
  }

  .lh-cycle-focus > strong {
    width: 64px;
  }

  .lh-chart-meta {
    justify-content: flex-start;
  }

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

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

  .lh-cycles-page {
    gap: 38px;
  }

  .lh-cycles-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lh-cycle-emblem {
    width: min(230px, 58vw);
    justify-self: center;
  }

  .lh-cycle-now-grid,
  .lh-cycle-compass,
  .lh-cycle-detail-columns,
  .lh-cycle-timeline {
    grid-template-columns: 1fr;
  }

  .lh-cycle-now-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--lh-border);
  }

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

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

@media (min-width: 901px) and (max-width: 1180px) {
  .lh-public-home-hero {
    grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
    gap: 34px;
    padding-right: 4%;
    padding-left: 4%;
  }

  .lh-public-home-wordmark {
    font-size: 3.8rem;
  }

  .lh-public-home-manifesto {
    padding: 38px;
  }

  .lh-public-home-manifesto h2 {
    font-size: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-public-home-identity,
  .lh-public-home-seal .lh-hermetic-seal-main > *,
  .lh-public-home-wordmark,
  .lh-public-home-wordmark::after,
  .lh-public-home-signature,
  .lh-public-home-manifesto {
    animation: none !important;
  }

  .lh-public-home-identity {
    transform: none;
  }

  .lh-public-home-seal .lh-hermetic-seal-main > * {
    opacity: 0.98;
    stroke-dashoffset: 0;
  }

  .lh-public-home-wordmark {
    clip-path: none;
  }

  .lh-public-home-wordmark::after {
    transform: scaleX(1);
  }

  .lh-public-home-signature,
  .lh-public-home-manifesto {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .lh-cycles-hero {
    padding-top: 10px;
  }

  .lh-cycles-hero h2 {
    font-size: 2.65rem;
  }

  .lh-cycles-hero > div:first-child > p:not(.lh-kicker) {
    font-size: 1.15rem;
  }

  .lh-cycle-now h3,
  .lh-cycle-compass h3,
  .lh-cycles-depth h3 {
    font-size: 2.15rem;
  }

  .lh-cycles-depth > header {
    padding: 24px 20px 26px;
  }

  .lh-cycles-depth > header h3 {
    font-size: 2rem;
  }

  .lh-cycles-depth > header > p:not(.lh-kicker) {
    font-size: 1rem;
    line-height: 1.68;
  }

  .lh-cycle-now-card,
  .lh-cycle-compass-intro,
  .lh-cycle-compass-actions {
    padding: 24px 20px;
  }

  .lh-cycle-now-card > strong {
    font-size: 4rem;
  }

  .lh-cycle-compass-actions .lh-btn {
    width: 100%;
  }

  .lh-choice-grid,
  .lh-reveal-stat-grid {
    grid-template-columns: 1fr;
  }

  .lh-readings-page {
    gap: 34px;
  }

  .lh-readings-intro h2 {
    font-size: 2.8rem;
  }

  .lh-readings-resume {
    gap: 18px;
    padding: 24px 0;
  }

  .lh-readings-resume > div:first-child,
  .lh-reading-card-featured {
    margin-right: 0;
    margin-left: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .lh-readings-group > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .lh-readings-group > header p {
    text-align: left;
  }

  .lh-reading-card-grid {
    grid-template-columns: 1fr;
  }

  .lh-journey-copy h3 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .lh-journey-copy > p:not(.lh-kicker) {
    display: none;
  }

  .lh-journey-stages { margin-top: 14px; }
  .lh-journey-stages li { padding-right: 2px; padding-left: 7px; }
  .lh-journey-stages small { font-size: 0.52rem; }

  .lh-journey-next {
    padding: 14px;
  }

  .lh-reading-card {
    min-height: 210px;
  }

  .lh-reveal-card {
    min-height: 178px;
  }

  .lh-profile-reveal .lh-written-title {
    max-width: 100%;
    font-size: clamp(2.1rem, 10.5vw, 3.2rem);
  }

  .lh-astrology-page {
    gap: 14px;
  }

  .lh-astro-hero,
  .lh-astro-section,
  .lh-astro-integration-copy {
    padding: 24px 18px;
  }

  .lh-astro-hero h1 {
    font-size: 3rem;
  }

  .lh-astro-hero-signs {
    grid-template-columns: 1fr;
  }

  .lh-astro-hero-signs span {
    min-height: 72px;
  }

  .lh-astro-orbit {
    width: min(78vw, 280px);
  }

  .lh-astro-orbit i {
    width: 58px;
    transform: translate(-50%, -50%) rotate(var(--astro-angle)) translateX(103px) rotate(calc(-1 * var(--astro-angle)));
    font-size: 1.45rem;
  }

  .lh-astro-trust,
  .lh-astro-placement,
  .lh-astro-depth > summary,
  .lh-astro-depth-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .lh-astro-section-header h2,
  .lh-astro-integration h2 {
    font-size: 2.35rem;
  }

  .lh-astro-placement > header {
    grid-template-columns: 1fr;
  }

  .lh-astro-polarities > div {
    min-height: 0;
  }

  .lh-astro-depth > summary strong {
    font-size: 1.2rem;
  }

  .lh-astro-calculation,
  .lh-natal-chart-header,
  .lh-natal-aspects {
    padding: 22px 18px;
  }

  .lh-natal-angles,
  .lh-natal-placements {
    grid-template-columns: 1fr;
  }

  .lh-natal-angles > div,
  .lh-natal-placements > div,
  .lh-natal-placements > div:nth-child(2n),
  .lh-natal-placements > div:nth-child(3n) {
    border-right: 0;
  }

  .lh-natal-aspects li {
    align-items: start;
  }

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

  .lh-kabbalah-tree-stage {
    min-height: 0;
    padding-inline: 4px;
  }

  .lh-encyclopedia-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .lh-encyclopedia-dialog-shell {
    max-height: calc(100dvh - 18px);
  }

  .lh-kabbalah-tree-name {
    font-size: 12px;
  }

  .lh-kabbalah-tree-title {
    font-size: 10px;
  }

  .lh-kabbalah-ai-synthesis,
  .lh-kabbalah-focus {
    padding: 18px;
  }

  .lh-kabbalah-active-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .lh-kabbalah-balance-keys {
    grid-template-columns: 1fr;
  }

  .lh-kabbalah-tree-path-label,
  .lh-kabbalah-tree-pillar text {
    font-size: 9px;
  }

  .lh-kabbalah-arcane-card,
  .lh-kabbalah-arcane-inner {
    height: 600px;
  }

  .lh-kabbalah-arcane-face {
    padding: 18px;
  }
}

@media (max-width: 900px) {
  .lh-astro-hero {
    min-height: 600px;
  }

  .lh-astro-hero-stage {
    width: min(82vw, 560px);
  }

  .lh-natal-explorer,
  .lh-natal-synthesis {
    grid-template-columns: 1fr;
  }

  .lh-natal-wheel-svg {
    max-height: min(78vh, 680px);
  }

  .lh-natal-focus {
    min-height: 0;
  }

  .lh-natal-point-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lh-astro-hero {
    min-height: 500px;
    padding: 28px 12px 22px;
  }

  .lh-astro-hero-stage {
    width: min(90vw, 430px);
  }

  .lh-astro-hero-copy {
    width: 58%;
  }

  .lh-astro-hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .lh-astro-hero-lead {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .lh-astro-hero-movement {
    top: calc(50% - 34px);
    left: calc(50% - 34px);
    width: 68px;
  }

  .lh-astro-hero-movement b { font-size: 1.7rem; }
  .lh-astro-hero-movement small { max-width: 54px; font-size: 0.48rem; }

  .lh-astro-symbol {
    width: auto;
    justify-self: start;
    font-size: 2.7rem;
  }

  .lh-astro-reading {
    padding: 15px;
    font-size: 1rem;
  }

  .lh-astro-integration-copy h2,
  .lh-natal-synthesis h3 {
    font-size: 2rem;
  }

  .lh-natal-explorer {
    gap: 20px;
    padding: 18px 12px;
  }

  .lh-natal-wheel-wrap > p {
    padding: 0 12px;
  }

  .lh-natal-focus {
    padding: 20px 16px;
  }

  .lh-natal-focus-heading {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .lh-natal-focus-heading > span {
    width: 52px;
    font-size: 1.6rem;
  }

  .lh-natal-focus-layers,
  .lh-natal-focus-polarities {
    grid-template-columns: 1fr;
  }

  .lh-natal-point-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lh-natal-point-nav button {
    min-height: 86px;
    padding: 11px;
  }

  .lh-natal-synthesis {
    padding: 28px 18px;
  }

  .lh-natal-house-reading {
    padding: 28px 18px;
  }

  .lh-natal-house-stats,
  .lh-natal-house-map {
    grid-template-columns: 1fr;
  }

  .lh-natal-house-map div {
    min-height: 74px;
  }

  .lh-natal-empty-house-readings > article,
  .lh-natal-concentration-reading {
    grid-template-columns: 1fr;
  }

  .lh-natal-empty-house-number {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 8px;
  }

  .lh-natal-empty-house-number strong {
    font-size: 2.8rem;
  }

  .lh-natal-concentration-reading {
    padding: 24px 18px;
  }

  .lh-natal-aspects li {
    display: grid;
  }

  .lh-astro-precision-note { text-align: left; }

  .lh-astro-ai-movements,
  .lh-astro-ai-resolution { grid-template-columns: 1fr; }

  .lh-astro-ai-movements article,
  .lh-astro-ai-resolution article { border-right: 0; border-bottom: 1px solid var(--lh-border); }

  .lh-astro-ai-status { align-items: flex-start; flex-wrap: wrap; }
  .lh-astro-ai-status .lh-btn { width: 100%; margin-left: 0; }
}

@media (max-width: 700px) {
  .lh-journal-cover-stage {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px 30px;
  }

  .lh-journal-cover-visual {
    width: min(76vw, 300px);
    justify-self: center;
  }

  .lh-journal-cover-copy { text-align: center; }

  .lh-journal-cover-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .lh-journal-cover-copy blockquote {
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    border-left: 0;
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .lh-journal-cover-copy > p:not(.lh-kicker) {
    margin-right: auto;
    margin-left: auto;
  }

  .lh-journal-cover-copy .lh-btn { width: 100%; }

  .lh-journal-close {
    position: static;
    width: fit-content;
  }

  .lh-history-panel .lh-section-header,
  .lh-history-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .lh-history-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .lh-history-filters button {
    width: 100%;
  }

  .lh-history-controls .lh-btn,
  .lh-guide-actions .lh-btn {
    width: 100%;
  }

  .lh-guide-signal-grid {
    grid-template-columns: 1fr;
  }

  .lh-guide-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }

  .lh-guide-step-index {
    width: 40px;
  }
}

@media (max-width: 1100px) {
  .lh-grimoire-spread { grid-template-columns: 1fr; }
  .lh-grimoire-spread::after { display: none; }
  .lh-grimoire-page { min-height: 0; }
  .lh-grimoire-year { border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--lh-grimoire-accent) 34%, transparent); box-shadow: none; }
  .lh-grimoire-month-page { box-shadow: none; }
  .lh-grimoire-month-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .lh-grimoire-open { gap: 14px; }
  .lh-grimoire-toolbar { align-items: flex-start; }
  .lh-grimoire-toolbar .lh-btn { min-height: 42px; padding-inline: 14px; }
  .lh-grimoire-page { padding: 24px 18px; }
  .lh-grimoire-year { gap: 24px; }
  .lh-grimoire-year header h2 { font-size: 4.2rem; }
  .lh-grimoire-month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .lh-grimoire-month-heading h2 { font-size: clamp(3.2rem, 17vw, 4.8rem); }
  .lh-grimoire-oracle figure { width: min(62vw, 210px); }
  .lh-grimoire-challenges article { grid-template-columns: 34px minmax(0, 1fr); }
  .lh-grimoire-challenge-toggle { grid-column: 2; justify-self: start; }
  .lh-grimoire-challenge-response { grid-column: 1 / -1; }
  .lh-grimoire-challenge-actions { align-items: stretch; flex-direction: column; }
  .lh-grimoire-challenge-actions .lh-btn { width: 100%; }
  .lh-grimoire-empty-month { grid-template-columns: minmax(100px, 138px) minmax(0, 1fr); gap: 18px; }
  .lh-grimoire-section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lh-journal-month-entry-body { padding-left: 0; }

  .lh-grimoire-saved-reading > summary {
    grid-template-columns: 30px 56px minmax(0, 1fr);
    gap: 10px;
  }

  .lh-grimoire-reading-revelation img {
    width: 48px;
  }

  .lh-grimoire-oracle-spread {
    justify-content: flex-start;
    min-height: 145px;
  }

  .lh-grimoire-oracle-spread li {
    flex-basis: 54px;
  }

  .lh-oracle-question-card,
  .lh-oracle-question-face-front > span,
  .lh-oracle-question-face {
    min-height: 245px;
  }

  .lh-oracle-question-face-front > span,
  .lh-oracle-question-face {
    padding: 18px 20px;
  }

  .lh-oracle-question-face-front {
    padding: 0;
  }

  .lh-oracle-question-face-front strong {
    font-size: 1.16rem;
    line-height: 1.28;
  }

  .lh-oracle-question-face-back textarea {
    min-height: 145px;
    font-size: 1.03rem;
  }

  .lh-grimoire-month-page > .lh-journey-history > header { display: grid; gap: 8px; }
  .lh-grimoire-saved-card { grid-template-columns: 52px minmax(0, 1fr); padding: 12px; }
  .lh-grimoire-saved-card > img,
  .lh-grimoire-saved-card-placeholder { width: 52px; }
  .lh-grimoire-card-response { grid-column: 1 / -1; }
  .lh-grimoire-card-response .lh-grimoire-challenge-actions { align-items: stretch; flex-direction: column; }
  .lh-grimoire-card-response .lh-btn { width: 100%; }
}

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

  .lh-profile-reveal-visual,
  .lh-profile-reveal-header .lh-kicker,
  .lh-written-letter,
  .lh-reveal-card,
  .lh-profile-reveal-copy,
  .lh-profile-reveal-actions {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation-delay: 0s !important;
  }

  .lh-profile-reveal-visual {
    display: none !important;
  }
}
