:root {
  --phala-ink: #28150f;
  --phala-deep: #4a170d;
  --phala-rust: #9a2f17;
  --phala-orange: #e9470a;
  --phala-gold: #e49a2e;
  --phala-cream: #fff8ef;
  --phala-paper: #fffdf9;
  --phala-muted: #806b5d;
  --phala-line: rgba(92, 48, 25, .13);
  --phala-shadow: 0 18px 55px rgba(73, 36, 16, .09);
}

* { box-sizing: border-box; }

.marketing-body,
.intake-body {
  min-height: 100%;
  height: auto;
  overflow: auto;
  margin: 0;
  color: var(--phala-ink);
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 206, 145, .16), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(255, 187, 116, .13), transparent 26%),
    #fffdfa;
}

.marketing-page,
.intake-page {
  width: min(1540px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 28px 18px;
}

.marketing-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--phala-ink);
  text-decoration: none;
}

.marketing-brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(91, 27, 8, .18);
}

.marketing-brand strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 34px;
  letter-spacing: .08em;
  font-weight: 400;
}

.marketing-brand small {
  display: block;
  margin-top: 5px;
  color: var(--phala-orange);
  font-size: 14px;
}

.marketing-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 15px;
  font-weight: 600;
}

.marketing-nav a,
.marketing-nav > span {
  color: #17120f;
  text-decoration: none;
  white-space: nowrap;
}

.future-link { opacity: .66; }
.future-link small { display: block; color: var(--phala-rust); font-size: 8px; text-align: center; }

.marketing-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 13px;
  color: white !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #ed4a0a, #d52f02);
  box-shadow: 0 13px 27px rgba(219, 54, 3, .20);
}

.marketing-cta.compact { min-height: 50px; padding: 0 22px; font-size: 15px; }
.marketing-cta span { font-size: 24px; font-weight: 400; }

.marketing-carousel {
  position: relative;
  margin-top: 8px;
  outline: none;
}

.marketing-carousel:focus-visible .marketing-carousel-viewport {
  box-shadow: 0 0 0 3px rgba(233, 71, 10, .18), var(--phala-shadow);
}

.marketing-carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--phala-shadow);
}

.marketing-carousel-track {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform .72s cubic-bezier(.22, .74, .18, 1);
  will-change: transform;
}

.landing-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.story-panel,
.workspace-preview-panel,
.feature-panel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(171, 111, 64, .12);
  background: rgba(255, 252, 248, .78);
}

.story-panel { border-radius: 20px; }
.workspace-preview-panel { padding: 26px 46px 24px; border-radius: 20px; }
.feature-panel { padding: 28px 54px; border-radius: 20px; }

.story-copy { position: relative; z-index: 2; width: 58%; padding: 86px 8% 0; }
.story-copy h1,
.workspace-preview-panel h2,
.feature-panel h2,
.marketing-bottom-cta h2,
.intake-intro h1,
.module-page-hero h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
.story-copy h1 { margin: 0; font-size: clamp(46px, 4.2vw, 70px); line-height: 1.18; }
.story-copy em,
.workspace-preview-panel h2 em,
.feature-panel h2 em,
.intake-intro h1 em { color: var(--phala-orange); font-style: normal; }
.story-divider { display: block; margin: 22px 0; color: var(--phala-orange); letter-spacing: 1em; }
.story-copy p { max-width: 440px; color: #4f423b; font-size: 17px; line-height: 1.72; }

.constellation { position: absolute; right: 42px; top: 70px; width: 100px; height: 80px; opacity: .42; }
.constellation::before,
.constellation::after { content: ""; position: absolute; height: 1px; background: #e7a358; transform-origin: left; }
.constellation::before { width: 70px; left: 8px; top: 28px; transform: rotate(27deg); }
.constellation::after { width: 55px; left: 58px; top: 61px; transform: rotate(-64deg); }
.constellation i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #e97025; }
.constellation i:nth-child(1) { left: 5px; top: 25px; }.constellation i:nth-child(2) { left: 66px; top: 56px; }.constellation i:nth-child(3) { left: 82px; top: 8px; }.constellation i:nth-child(4) { left: 96px; top: 72px; }

.horizon-art {
  position: absolute;
  inset: auto 0 0;
  height: 305px;
  overflow: hidden;
  background:
    linear-gradient(155deg, transparent 42%, rgba(216, 115, 50, .25) 43%, rgba(160, 74, 31, .26) 68%, transparent 69%),
    linear-gradient(25deg, transparent 36%, rgba(244, 167, 93, .28) 37%, rgba(195, 98, 40, .32) 68%, transparent 69%),
    linear-gradient(180deg, #fff7e8, #f8c884);
}
.horizon-sun { position: absolute; width: 92px; height: 92px; left: 45%; bottom: 56px; border-radius: 50%; background: #fff4c5; box-shadow: 0 0 40px #fff0ba; }
.horizon-person { position: absolute; left: 31%; bottom: 0; width: 16px; height: 102px; border-radius: 8px 8px 0 0; background: #522818; z-index: 2; }
.horizon-person::before { content: ""; position: absolute; left: 1px; top: -14px; width: 12px; height: 12px; border-radius: 50%; background: #522818; }
.horizon-wheel { position: absolute; right: 9%; top: 16px; width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(213, 91, 22, .38); border-radius: 50%; color: #d36e27; font-size: 82px; }

.workspace-preview-panel > h2 { margin: 0 0 24px; text-align: center; font-size: 35px; line-height: 1.25; }
.dashboard-preview { width: min(1120px, 100%); height: 500px; margin: 0 auto; display: grid; grid-template-columns: 155px 1fr; overflow: hidden; border: 1px solid var(--phala-line); border-radius: 14px; background: white; box-shadow: 0 16px 38px rgba(74, 31, 14, .09); }
.preview-sidebar { padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--phala-line); background: #fffbf5; }
.preview-sidebar strong { margin-bottom: 9px; font-family: Georgia, serif; font-size: 14px; letter-spacing: .12em; }
.preview-sidebar span { padding: 7px 9px; border-radius: 7px; font-size: 9px; font-weight: 700; }
.preview-sidebar span.active { color: var(--phala-orange); background: #fff0e5; }
.preview-main { padding: 22px; min-width: 0; }
.preview-greeting strong { display: block; font-size: 18px; }.preview-greeting small { color: var(--phala-muted); font-size: 10px; }
.preview-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 10px; }
.preview-metrics span { padding: 13px 10px; border: 1px solid var(--phala-line); border-radius: 9px; background: #fffdf9; }
.preview-metrics b,.preview-metrics em { display: block; font-size: 9px; }.preview-metrics em { margin-top: 7px; color: #278150; font-style: normal; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview-grid > div { min-height: 222px; padding: 14px; border: 1px solid var(--phala-line); border-radius: 10px; }
.preview-grid b { font-size: 12px; }.preview-grid p { color: var(--phala-muted); font-size: 9px; line-height: 1.5; }
.preview-grid i { display: block; margin: 12px 0; padding-left: 12px; border-left: 2px solid #e9a45f; color: #6d594d; font-size: 9px; font-style: normal; }
.preview-grid button { width: 100%; margin-top: 18px; padding: 12px; display: flex; justify-content: space-between; border: 1px solid var(--phala-line); border-radius: 9px; background: white; color: #9b887c; font-size: 8px; }
.preview-grid button span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--phala-orange); }
.preview-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }.preview-quick span { padding: 11px 5px; border: 1px solid var(--phala-line); border-radius: 8px; text-align: center; font-size: 7px; }
.feature-panel h2 { margin: 34px 0 20px; text-align: center; font-size: 42px; line-height: 1.25; }
.feature-list { width: min(760px, 100%); margin: 0 auto; display: grid; gap: 0; }
.feature-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--phala-line); }
.feature-list > div:last-child { border-bottom: 0; }
.feature-list > div > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #d54b0e; background: #fff0df; font-size: 24px; }
.feature-list p { margin: 0; }.feature-list strong { display: block; margin-bottom: 5px; font-size: 16px; }.feature-list small { color: #5d5048; font-size: 13px; line-height: 1.55; }
.coming-soon-badge { display: inline-block; margin-left: 7px; padding: 3px 7px; border-radius: 999px; color: var(--phala-orange); background: #fff0de; font: 700 8px/1 "DM Sans", sans-serif; vertical-align: 2px; }

.carousel-arrow { position: absolute; z-index: 5; top: calc(50% - 28px); width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(116, 66, 37, .14); border-radius: 50%; color: #2d211b; background: rgba(255, 253, 249, .95); box-shadow: 0 10px 26px rgba(69, 33, 14, .12); font: 400 38px/1 Georgia, serif; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.carousel-arrow:hover { transform: scale(1.06); box-shadow: 0 13px 32px rgba(69, 33, 14, .16); }
.carousel-arrow:focus-visible { outline: 3px solid rgba(233, 71, 10, .22); outline-offset: 2px; }
.carousel-previous { left: -18px; }.carousel-next { right: -18px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 13px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #eadfd4; cursor: pointer; transition: width .22s ease, border-radius .22s ease, background .22s ease; }
.carousel-dots button.is-active { width: 25px; border-radius: 999px; background: var(--phala-orange); }
.carousel-dots button:focus-visible { outline: 2px solid rgba(233, 71, 10, .35); outline-offset: 3px; }
.carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .marketing-carousel-track { transition: none; }
}

.marketing-bottom-cta { position: relative; min-height: 190px; margin-top: 18px; padding: 30px 280px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--phala-line); border-radius: 16px; text-align: center; background: linear-gradient(90deg, #fffaf3, #fffdf9, #fff8ed); }
.marketing-bottom-cta h2 { margin: 4px 0 8px; font-size: 31px; }.marketing-bottom-cta p { margin: 0 0 18px; color: #554941; font-size: 13px; }.marketing-bottom-cta .marketing-cta { min-height: 52px; margin: auto; }
.telescope-art,.zodiac-watermark { position: absolute; color: rgba(231, 116, 40, .25); font-size: 150px; }.telescope-art { left: 55px; transform: rotate(-20deg); }.zodiac-watermark { right: 55px; }
.marketing-footer { padding: 15px 2px 0; display: flex; justify-content: space-between; color: #8a776a; font-size: 11px; }

/* Focused birth-detail intake */
.intake-page { position: relative; overflow: hidden; }
.intake-header { position: relative; z-index: 3; }
.intake-main { position: relative; z-index: 2; width: min(1250px, 100%); margin: 48px auto 0; text-align: center; }
.intake-intro { width: min(760px, 100%); margin: auto; }
.intake-kicker { color: var(--phala-rust); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.intake-intro h1 { margin: 14px 0; font-size: 46px; }
.ornament-rule { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--phala-orange); }.ornament-rule i { width: 64px; height: 1px; background: #dfb27d; }
.intake-intro > p { margin: 18px auto; max-width: 730px; color: #39414e; font-size: 18px; line-height: 1.65; }
.privacy-pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid rgba(204, 98, 36, .16); border-radius: 12px; background: rgba(255, 249, 240, .86); font-size: 13px; }
.privacy-pill span { color: var(--phala-orange); font-size: 20px; }
.intake-composer-card { width: min(1180px, 100%); margin: 34px auto 0; padding: 18px; border: 1px solid rgba(210, 110, 43, .18); border-radius: 20px; background: rgba(255,255,255,.87); box-shadow: 0 25px 60px rgba(88, 44, 19, .10); text-align: left; }
.intake-composer-card form { padding: 8px 10px 2px; border: 1px solid rgba(224, 133, 70, .25); border-radius: 15px; }
.intake-composer-card label { display: block; padding: 10px 10px 0; color: #51473f; font-size: 15px; font-weight: 700; }
.intake-composer-card textarea { width: 100%; min-height: 110px; padding: 14px 10px; resize: vertical; border: 0; outline: 0; color: #29211d; background: transparent; font: 18px/1.5 "DM Sans", sans-serif; }
.intake-composer-card textarea::placeholder { color: #9b8e85; }
.intake-requirements { margin: 0 10px 12px; padding: 11px 12px; border: 1px solid rgba(198, 115, 58, .16); border-radius: 12px; background: rgba(255, 250, 244, .72); }
.intake-requirements p { margin: 0 0 9px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; color: #796a60; font-size: 11px; }
.intake-requirements p strong { color: #4f4037; font-size: 12px; }
.intake-requirements ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.intake-requirements li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(124, 91, 72, .13); border-radius: 999px; color: #756960; background: #fff; font-size: 11px; font-weight: 700; transition: color .16s ease, border-color .16s ease, background .16s ease; }
.intake-requirements li i { color: #b29f91; font-style: normal; }
.intake-requirements li[data-state="included"] { color: #26734a; border-color: rgba(44, 139, 88, .24); background: #f3fbf6; }
.intake-requirements li[data-state="included"] i { color: #23915a; }
.intake-example { margin: 0; padding: 0 10px 14px; color: #626776; font-size: 13px; }.intake-example strong { color: var(--phala-orange); }
.intake-toolbar { padding: 10px 7px 7px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(92, 48, 25, .08); }
.intake-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.intake-tools button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; color: #55473e; background: #fffaf4; font-size: 12px; font-weight: 700; }.intake-tools button span { color: var(--phala-orange); margin-right: 5px; }
.intake-send { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; color: white; background: linear-gradient(135deg, #ed4a0a, #cf2e03); font-weight: 800; box-shadow: 0 10px 22px rgba(220, 55, 3, .20); }.intake-send:disabled { opacity: .55; cursor: wait; }
.intake-status { min-height: 28px; padding: 4px 10px; color: #7b695c; font-size: 12px; }.intake-status[data-kind="error"] { color: #a52b1f; }.intake-status[data-kind="working"] { color: #9b5218; }.intake-status[data-kind="help"] { color: #27734b; }
.smart-help-card { width: min(950px, 100%); margin: 14px auto 0; padding: 18px; border: 1px solid rgba(213, 127, 65, .18); border-radius: 14px; color: #5b4b42; background: #fffaf3; text-align: left; }.smart-help-card strong { display: block; margin-bottom: 10px; color: var(--phala-deep); }.smart-help-card span { display: inline-block; margin: 4px 12px 4px 0; font-size: 12px; font-weight: 700; }.smart-help-card p { margin-bottom: 0; font-size: 12px; }
.intake-trust-row { width: min(1160px, 100%); margin: 38px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }.intake-trust-row > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; }.intake-trust-row > div > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #a74a13; background: #fff3e5; font-size: 20px; }.intake-trust-row p { margin: 0; }.intake-trust-row strong { display: block; font-size: 13px; }.intake-trust-row small { color: #74675f; font-size: 10px; }
.intake-sun-art,.intake-zodiac-art { position: absolute; color: rgba(232, 132, 66, .10); font-size: 300px; pointer-events: none; }.intake-sun-art { left: -170px; top: -20px; }.intake-zodiac-art { right: -120px; top: -35px; }
.intake-footer { margin-top: 50px; padding: 16px; color: #88776b; text-align: center; font-size: 11px; }
.continue-workspace-link { padding: 10px 14px; border: 1px solid rgba(219, 78, 10, .18); border-radius: 999px; color: var(--phala-orange) !important; }
.intake-progress-pill { padding: 10px 14px; border: 1px solid rgba(219, 78, 10, .18); border-radius: 999px; color: var(--phala-orange); font-size: 12px; font-weight: 800; white-space: nowrap; }
.intake-progress-card { width: min(1030px, 100%); margin: 28px auto 0; padding: 20px; border: 1px solid rgba(203, 104, 40, .18); border-radius: 20px; background: rgba(255, 253, 249, .94); box-shadow: 0 18px 45px rgba(88, 44, 19, .07); text-align: left; }
.intake-progress-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }.intake-progress-card > header span { color: #a44824; font-size: 9px; font-weight: 900; letter-spacing: .13em; }.intake-progress-card > header h2 { margin: 5px 0 0; color: #3d2017; font: 700 22px/1.2 "Libre Baskerville", serif; }.intake-progress-card > header > strong { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border: 6px solid #ee921f; border-radius: 50%; color: #4a2418; background: white; font-size: 14px; }
.intake-profile-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.intake-profile-grid article { min-height: 58px; padding: 10px 12px; display: grid; grid-template-columns: 92px minmax(0, 1fr) 18px; gap: 9px; align-items: center; border: 1px solid rgba(117, 78, 55, .12); border-radius: 11px; background: #fffaf3; }.intake-profile-grid small { color: #8b7467; font-size: 10px; font-weight: 750; }.intake-profile-grid strong { overflow: hidden; color: #4b3429; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.intake-profile-grid i { color: #9e8a7d; font-style: normal; text-align: center; }.intake-profile-grid article[data-state="ready"] { background: linear-gradient(135deg, #fbfffc, #f1faf4); }.intake-profile-grid article[data-state="ready"] strong,.intake-profile-grid article[data-state="ready"] i { color: #23804b; }
.intake-clarification { margin: 14px 0 0; padding: 13px 15px; border: 1px solid #efbca9; border-radius: 12px; color: #842315; background: #fff0ea; font-size: 12px; line-height: 1.5; }.intake-clarification strong { display: block; margin-bottom: 3px; }
.intake-generation-gate { margin-top: 14px; padding: 15px; display: grid; gap: 10px; border: 1px solid rgba(214, 70, 15, .22); border-radius: 13px; background: linear-gradient(135deg, #fffaf3, #fff0df); }.intake-generation-gate p { margin: 0; color: #785f51; font-size: 12px; line-height: 1.5; }.intake-generation-gate p strong { display: block; color: #5a2315; }.intake-generation-gate > button,.intake-generation-gate > a { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; color: white; background: linear-gradient(135deg, #e7490c, #c93208); box-shadow: 0 10px 22px rgba(203,54,8,.17); font: 800 12px "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }.intake-generation-gate > button:disabled { opacity: .62; cursor: wait; }.intake-generation-gate > small { color: #745f53; font-size: 11px; text-align: center; }.intake-generation-gate > small a { color: #9a301c; font-weight: 800; }

/* Persistent authenticated-ready product shell */
.phala-os.workspace-mode { padding: 0 !important; gap: 0 !important; background: #fbf7f1; }
.workspace-frame { flex: 1; min-height: 0; display: grid; grid-template-columns: 205px minmax(0, 1fr); padding: 12px 14px 6px; gap: 0; }
.workspace-sidebar { min-height: 0; padding: 16px 12px 12px; display: flex; flex-direction: column; border: 1px solid var(--phala-line); border-right: 0; border-radius: 22px 0 0 22px; background: #fffdf9; box-shadow: -8px 15px 36px rgba(69, 34, 14, .05); z-index: 10; }
.workspace-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 16px; color: var(--phala-ink); text-decoration: none; }.workspace-brand img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }.workspace-brand strong { display: block; font-family: Georgia, serif; font-size: 18px; letter-spacing: .09em; }.workspace-brand small { color: #8a7667; font-size: 9px; }
.workspace-nav { display: flex; flex-direction: column; gap: 3px; min-height: 0; overflow-y: auto; }
.workspace-nav button { width: 100%; min-height: 37px; padding: 0 10px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 9px; color: #3e312b; background: transparent; text-align: left; font-size: 11px; font-weight: 750; }.workspace-nav button span { width: 18px; color: #765849; text-align: center; font-size: 14px; }.workspace-nav button:hover { background: #fff6ea; }.workspace-nav button.is-active { color: var(--phala-orange); background: #fff0e3; }.workspace-nav button.is-active span { color: var(--phala-orange); }
.workspace-user-card { width: 100%; margin-top: auto; padding: 11px 5px 0; display: grid; grid-template-columns: 34px 1fr 22px; gap: 8px; align-items: center; border: 0; border-top: 1px solid var(--phala-line); color: inherit; background: transparent; text-align: left; cursor: pointer; }.workspace-user-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, #5b160c, #dc4a12); font-size: 12px; font-weight: 900; }.workspace-user-card p { min-width: 0; margin: 0; }.workspace-user-card strong,.workspace-user-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.workspace-user-card strong { font-size: 10px; }.workspace-user-card small { margin-top: 3px; color: #8b786c; font-size: 8px; }.workspace-user-card > em { color: #81695b; font-style: normal; text-align: center; transition: transform .18s ease; }.workspace-user-card[aria-expanded="true"] > em { transform: rotate(180deg); }
.workspace-user-card:hover { background: #fff7ed; }.workspace-user-card:focus-visible { outline: 2px solid rgba(233, 71, 10, .22); outline-offset: 2px; border-radius: 10px; }
.workspace-sidebar { position: relative; }
.workspace-account-menu { position: absolute; z-index: 120; left: 10px; bottom: 66px; width: 250px; max-width: calc(100vw - 24px); padding: 9px; border: 1px solid var(--phala-line); border-radius: 17px; background: rgba(255, 253, 249, .98); box-shadow: 0 18px 48px rgba(55, 26, 12, .20); transform-origin: bottom left; }
.workspace-account-menu[hidden] { display: none; }
.workspace-account-head { padding: 8px 8px 11px; display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; border-bottom: 1px solid var(--phala-line); }.workspace-account-head p { min-width: 0; margin: 0; }.workspace-account-head strong,.workspace-account-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.workspace-account-head strong { font-size: 11px; }.workspace-account-head small { margin-top: 3px; color: #8a776b; font-size: 8px; }
.workspace-account-items { padding-top: 7px; display: grid; gap: 2px; }.workspace-account-items button,.workspace-account-items > a { min-height: 36px; padding: 0 9px; display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center; border: 0; border-radius: 9px; color: #3f312a; background: transparent; text-align: left; text-decoration: none; font-size: 10px; font-weight: 700; cursor: pointer; }.workspace-account-items button > span,.workspace-account-items > a > span { color: #7b5a49; text-align: center; font-size: 13px; }.workspace-account-items button > em { padding: 3px 6px; border-radius: 999px; color: #a3421d; background: #fff0df; font-size: 7px; font-style: normal; }.workspace-account-items button:hover,.workspace-account-items > a:hover { background: #fff3e7; }.workspace-account-items hr { width: 100%; margin: 5px 0; border: 0; border-top: 1px solid var(--phala-line); }.workspace-menu-form { margin: 0; }.workspace-menu-form button { width: 100%; }
.workspace-account-message { margin: 5px 3px 2px; padding: 8px; border-radius: 9px; color: #745e50; background: #fff4e8; font-size: 8px; line-height: 1.45; }.workspace-account-message[hidden] { display: none; }
.workspace-content { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--phala-line); border-radius: 0 22px 22px 0; background: #fffaf4; box-shadow: 12px 15px 36px rgba(69, 34, 14, .06); }
.workspace-mode[data-horoscope-ready="false"] .workspace-frame { grid-template-columns: minmax(0, 1fr); }
.workspace-mode[data-horoscope-ready="false"] .workspace-sidebar { display: none; }
.workspace-mode[data-horoscope-ready="false"] .workspace-content { border-radius: 22px; }
.workspace-mode[data-horoscope-ready="false"] .mobile-menu-button { display: none; }
.guest-workspace-banner[hidden] { display: none !important; }
.workspace-topbar { min-height: 68px; padding: 9px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--phala-line); background: rgba(255,255,255,.62); }.workspace-topbar > div:nth-child(2) { min-width: 0; }.workspace-breadcrumb { color: #9b897d; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }.workspace-topbar h1 { margin: 2px 0 0; font-size: 17px; letter-spacing: -.025em; }.workspace-topbar-actions { display: flex; align-items: center; gap: 12px; }.workspace-online { color: #7d6d63; font-size: 9px; font-weight: 700; }.workspace-online i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #35a667; box-shadow: 0 0 0 3px rgba(53,166,103,.12); }.workspace-new-session { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--phala-line); border-radius: 999px; color: #6f2a19; background: white; font-size: 10px; font-weight: 800; }.workspace-new-session span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #fff1df; }.mobile-menu-button { display: none; border: 0; background: transparent; font-size: 20px; }
.workspace-view-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; }.workspace-view { position: absolute; inset: 0; display: none; min-height: 0; overflow: hidden; }.workspace-view.is-active { display: block; }.advisor-view.is-active { display: flex; }
.workspace-privacy { min-height: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #8c796c; font-size: 8px; }

/* Dashboard */
.dashboard-scroll,.module-page-scroll { height: 100%; overflow-y: auto; padding: 20px 24px 28px; }
.dashboard-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.dashboard-kicker,.module-page-hero > span { color: #a44a23; font-size: 8px; font-weight: 900; letter-spacing: .14em; }.dashboard-welcome h2 { margin: 6px 0 4px; font-size: 24px; letter-spacing: -.04em; }.dashboard-welcome h2 em { color: #eb8a20; font-style: normal; }.dashboard-welcome p { margin: 0; color: #7b6a60; font-size: 11px; }.dashboard-readiness-pill { padding: 8px 12px; border-radius: 999px; color: #267948; background: #e9f6ed; font-size: 9px; font-weight: 850; }
.dashboard-status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 12px; }.dashboard-status-grid article { min-height: 94px; padding: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; border: 1px solid var(--phala-line); border-radius: 13px; background: #fffdf9; }.dashboard-status-grid article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--phala-orange); background: #fff0df; }.dashboard-status-grid p { margin: 0; min-width: 0; }.dashboard-status-grid small,.dashboard-status-grid strong,.dashboard-status-grid em { display: block; }.dashboard-status-grid small { color: #8d786b; font-size: 7px; text-transform: uppercase; }.dashboard-status-grid strong { margin-top: 5px; font-size: 11px; }.dashboard-status-grid em { margin-top: 5px; color: #7d6d63; font-size: 8px; font-style: normal; }
.dashboard-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.dashboard-card { min-height: 240px; padding: 17px; border: 1px solid var(--phala-line); border-radius: 14px; background: #fffdf9; }.dashboard-card header { display: flex; justify-content: space-between; align-items: flex-start; }.dashboard-card header small { color: #977b69; font-size: 7px; font-weight: 850; letter-spacing: .12em; }.dashboard-card h3 { margin: 3px 0 0; font-size: 14px; }.dashboard-card header button { border: 0; color: var(--phala-orange); background: transparent; font-size: 9px; font-weight: 800; }
.dashboard-empty-list { min-height: 165px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8d786b; text-align: center; }.dashboard-empty-list > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--phala-orange); background: #fff2e3; font-size: 20px; }.dashboard-empty-list strong { margin-top: 10px; color: #4a362c; font-size: 11px; }.dashboard-empty-list p { max-width: 330px; margin: 6px 0 0; font-size: 9px; line-height: 1.5; }
.dashboard-question-box { width: 100%; min-height: 64px; margin-top: 20px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(230, 119, 51, .18); border-radius: 12px; color: #9c8a7e; background: white; font-size: 10px; }.dashboard-question-box span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--phala-orange); }.recent-question-list { margin-top: 12px; }.recent-question-list p { color: #8a786c; font-size: 9px; }.recent-question-list button { width: 100%; padding: 8px 0; display: grid; grid-template-columns: 14px 1fr; gap: 4px; border: 0; border-bottom: 1px solid rgba(92,48,25,.07); color: #5d4940; background: none; text-align: left; font-size: 9px; }.recent-question-list button span { color: var(--phala-orange); }.recent-question-list button strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-quick-section { margin-top: 12px; }.dashboard-quick-section > small { color: #8f796b; font-size: 7px; font-weight: 850; letter-spacing: .12em; }.dashboard-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }.dashboard-quick-grid button { min-height: 67px; padding: 11px; display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; border: 1px solid var(--phala-line); border-radius: 12px; color: #3c2b23; background: #fffdf9; text-align: left; }.dashboard-quick-grid button > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--phala-orange); background: #fff0df; }.dashboard-quick-grid p { margin: 0; }.dashboard-quick-grid strong,.dashboard-quick-grid small { display: block; }.dashboard-quick-grid strong { font-size: 10px; }.dashboard-quick-grid small { margin-top: 3px; color: #8b796d; font-size: 7px; }

/* Existing conversation + evidence, now inside the shell */
.workspace-mode .advisor-view .os-main { width: 100% !important; height: 100%; margin: 0 !important; padding: 10px !important; gap: 10px !important; grid-template-columns: minmax(350px, .92fr) minmax(420px, 1.08fr) !important; border: 0 !important; border-radius: 0 !important; background: #fff9f1 !important; box-shadow: none !important; }
.workspace-mode .advisor-view .os-main::before,.workspace-mode .advisor-view .os-main::after { display: none !important; }
.workspace-mode .conversation-shell,.workspace-mode .living-shell { border-radius: 16px !important; background: #fffdf9 !important; box-shadow: 0 8px 28px rgba(75,35,16,.055) !important; }
.workspace-mode .panel-header { height: 52px; padding: 0 15px; }.workspace-mode .message-stream { padding: 14px; }.workspace-mode .composer { padding: 12px; }.workspace-mode .evidence-canvas { padding: 14px; }
.workspace-mode.canvas-unlocked .advisor-view .os-main,.workspace-mode.chat-open:not(.canvas-locked) .advisor-view .os-main { width: 100% !important; display: grid !important; grid-template-columns: minmax(350px, .92fr) minmax(420px, 1.08fr) !important; padding: 10px !important; background: #fff9f1 !important; }
.workspace-mode.canvas-locked .advisor-view .os-main { width: 100% !important; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; padding: 10px !important; background: #fff9f1 !important; }
.workspace-mode.canvas-locked .conversation-shell,.workspace-mode.canvas-locked.chat-open .conversation-shell { display: flex !important; position: relative !important; inset: auto !important; width: auto !important; height: auto !important; max-width: none !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important; flex-direction: column !important; }
.workspace-mode.canvas-locked .living-shell,.workspace-mode.canvas-locked.chat-open .living-shell { display: none !important; }
.workspace-mode.canvas-locked .message-stream { display: flex !important; }
.workspace-mode.canvas-locked .composer { position: relative !important; display: block !important; }
.workspace-mode.canvas-locked .message,.workspace-mode.canvas-locked .message-user,.workspace-mode.canvas-locked .message:not(:first-child) { display: grid !important; }.workspace-mode.canvas-locked .message-avatar,.workspace-mode.canvas-locked .message-meta { display: flex !important; }.workspace-mode.canvas-locked .message-bubble { max-width: 100% !important; padding: 13px !important; }.workspace-mode.canvas-locked .composer textarea { min-height: 88px !important; }.workspace-mode.canvas-locked .composer-actions { display: flex !important; }.workspace-mode.canvas-locked .voice-button,.workspace-mode.canvas-locked .send-button { display: inline-flex !important; }
.workspace-mode .phala-marketing-backdrop { display: none !important; }

/* Keep verified location evidence intact while presenting a compact user label. */
.workspace-mode .life-map-ready-profile-layout { grid-template-columns: minmax(0, 1fr) 118px; gap: 12px; }
.workspace-mode .life-map-ready-ring { width: 112px; height: 112px; }
.workspace-mode .life-map-profile-row { min-height: 48px; grid-template-columns: 86px minmax(0, 1fr) 20px; gap: 7px; }
.workspace-mode .life-map-profile-row strong { overflow-wrap: anywhere; word-break: normal; }

/* Review/confirmation button rendered by phala.js */
.profile-confirmation-box { margin-top: 14px; padding: 14px; border: 1px solid rgba(221, 110, 43, .24); border-radius: 15px; background: linear-gradient(135deg, #fffdf8, #fff2e2); }.profile-confirmation-box strong { display: block; color: #5a1d12; font-size: 13px; }.profile-confirmation-box p { margin: 6px 0 12px !important; color: #79675c !important; font-size: 10px !important; }.confirm-profile-button { width: 100%; min-height: 42px; border: 0; border-radius: 11px; color: white; background: linear-gradient(135deg, #e84a0c, #c83208); font-size: 11px; font-weight: 850; box-shadow: 0 10px 22px rgba(203,54,8,.17); }

/* Module pages */
.module-page-hero { padding: 22px 24px; border: 1px solid var(--phala-line); border-radius: 17px; background: linear-gradient(135deg, #fffdf9, #fff2e3); }.module-page-hero h2 { margin: 7px 0 6px; font-size: 32px; }.module-page-hero p { margin: 0; color: #78675c; font-size: 12px; }
.module-live-content { margin-top: 14px; }
.module-live-content:empty { display: none; }
.module-live-content .saved-chart-library { margin: 0; }
.module-live-content .real-chart-tabs { flex-wrap: wrap; }
.module-live-content .foundation-chart-scene.active { grid-template-columns: minmax(300px, .82fr) minmax(250px, 1.18fr); }
.module-status-card { margin-top: 14px; padding: 22px; display: grid; grid-template-columns: 50px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--phala-line); border-radius: 16px; background: #fffdf9; }.module-status-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--phala-orange); background: #fff0df; font-size: 22px; }.module-status-card small { color: #967968; font-size: 8px; font-weight: 850; letter-spacing: .12em; }.module-status-card h3 { margin: 5px 0; font-size: 16px; }.module-status-card p { margin: 0; color: #7c6a5f; font-size: 11px; line-height: 1.5; }.module-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }.module-actions button,.module-actions a { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid rgba(218,105,41,.22); border-radius: 10px; color: #8c3117; background: #fff8ef; text-decoration: none; font-size: 10px; font-weight: 800; }

/* Calculated horoscope pages. Internal audit evidence remains in JSON;
   these surfaces present only understandable, read-only horoscope data. */
.horoscope-data-notice { margin-bottom: 12px; padding: 13px 15px; display: grid; grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: 16px; align-items: center; border: 1px solid var(--phala-line); border-radius: 13px; background: #fffdf9; }.horoscope-data-notice strong { color: #532517; font-size: 11px; }.horoscope-data-notice p { margin: 0; color: #78685f; font-size: 10px; line-height: 1.5; }.horoscope-data-notice.release { border-color: rgba(42, 142, 84, .20); background: linear-gradient(135deg, #fbfffc, #f1faf4); }.horoscope-data-notice.warning { border-color: rgba(224, 139, 34, .26); background: #fff8e9; }
.horoscope-data-section { margin-top: 12px; padding: 18px; border: 1px solid var(--phala-line); border-radius: 16px; background: #fffdf9; box-shadow: 0 8px 24px rgba(72, 35, 17, .035); }.horoscope-data-section > header { margin-bottom: 13px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.horoscope-data-section > header small { display: block; color: #9a6f59; font-size: 7px; font-weight: 900; letter-spacing: .14em; }.horoscope-data-section > header h3 { margin: 4px 0 0; color: #3e251d; font-size: 16px; }.horoscope-data-section > header > span { padding: 5px 9px; border-radius: 999px; color: #8a4b2c; background: #fff1df; font-size: 8px; font-weight: 800; white-space: nowrap; }.horoscope-data-section > header > span.status-final { color: #237a46; background: #e9f7ed; }.horoscope-data-section > header > span.status-provisional { color: #925b19; background: #fff1d7; }
.horoscope-fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }.horoscope-fact-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }.horoscope-fact-grid article { min-height: 72px; padding: 12px; border: 1px solid rgba(128, 77, 46, .12); border-radius: 11px; background: linear-gradient(145deg, #fff, #fff9f0); }.horoscope-fact-grid small,.horoscope-fact-grid strong { display: block; }.horoscope-fact-grid small { color: #8f786b; font-size: 8px; text-transform: uppercase; }.horoscope-fact-grid strong { margin-top: 7px; color: #42291f; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.horoscope-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }.horoscope-summary-grid article { min-height: 112px; padding: 13px; border: 1px solid rgba(128, 77, 46, .12); border-radius: 12px; background: #fffaf3; }.horoscope-summary-grid article > span { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 50%; color: var(--phala-orange); background: #fff0df; }.horoscope-summary-grid small,.horoscope-summary-grid strong,.horoscope-summary-grid p { display: block; }.horoscope-summary-grid small { color: #8d7568; font-size: 8px; text-transform: uppercase; }.horoscope-summary-grid strong { margin-top: 5px; color: #48281d; font-size: 12px; }.horoscope-summary-grid p { margin: 5px 0 0; color: #806f65; font-size: 9px; line-height: 1.45; }
.dasha-current-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }.dasha-current-grid article { min-height: 95px; padding: 13px; border: 1px solid rgba(128, 77, 46, .13); border-radius: 12px; background: linear-gradient(145deg, #fffdf9, #fff3e4); }.dasha-current-grid small,.dasha-current-grid strong { display: block; }.dasha-current-grid small { color: #947464; font-size: 8px; text-transform: uppercase; }.dasha-current-grid strong { margin-top: 7px; color: #5b2517; font-size: 16px; }.dasha-current-grid p { margin: 7px 0 0; color: #7c6b62; font-size: 8px; line-height: 1.45; }
.horoscope-table-wrap { width: 100%; overflow-x: auto; border: 1px solid rgba(128, 77, 46, .12); border-radius: 11px; }.horoscope-data-table { width: 100%; border-collapse: collapse; min-width: 610px; background: white; }.horoscope-data-table th,.horoscope-data-table td { padding: 10px 11px; border-bottom: 1px solid rgba(128, 77, 46, .09); color: #5e493f; text-align: left; font-size: 9px; white-space: nowrap; }.horoscope-data-table th { color: #866859; background: #fff7ed; font-size: 7px; letter-spacing: .06em; text-transform: uppercase; }.horoscope-data-table tbody tr:last-child td { border-bottom: 0; }.horoscope-data-table td strong { color: #43271d; font-size: 10px; }.motion-pill { padding: 4px 7px; border-radius: 999px; color: #287548; background: #ebf7ee; font-size: 8px; font-weight: 750; }.motion-pill.retrograde { color: #9b531b; background: #fff0dc; }
.horoscope-yoga-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.horoscope-yoga-grid article { min-height: 100px; padding: 13px; border: 1px solid rgba(128, 77, 46, .12); border-radius: 12px; background: #fffaf3; }.horoscope-yoga-grid small,.horoscope-yoga-grid strong { display: block; }.horoscope-yoga-grid small { color: #9a725f; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.horoscope-yoga-grid strong { margin-top: 5px; color: #45271e; font-size: 12px; }.horoscope-yoga-grid p { margin: 7px 0 0; color: #78685e; font-size: 9px; line-height: 1.5; }.horoscope-data-footnote { margin: 11px 2px 0; color: #88776c; font-size: 8px; line-height: 1.5; }

@media (max-width: 1180px) {
  .marketing-bottom-cta { padding: 30px 170px; }
  .workspace-frame { grid-template-columns: 175px minmax(0,1fr); }.workspace-mode .advisor-view .os-main,.workspace-mode.canvas-unlocked .advisor-view .os-main,.workspace-mode.chat-open:not(.canvas-locked) .advisor-view .os-main { grid-template-columns: minmax(320px,.9fr) minmax(370px,1.1fr) !important; }.workspace-mode.canvas-locked .advisor-view .os-main { grid-template-columns: minmax(0,1fr) !important; }
  .horoscope-fact-grid.five,.dasha-current-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.horoscope-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .marketing-page,.intake-page { padding: 14px; }.marketing-header { min-height: 62px; }.marketing-brand img { width: 50px; height: 50px; border-radius: 13px; }.marketing-brand strong { font-size: 24px; }.marketing-brand small { font-size: 10px; }.marketing-nav { gap: 16px; }.marketing-nav > a:not(.marketing-cta),.marketing-nav > span { display: none; }.story-panel,.workspace-preview-panel,.feature-panel { min-height: 590px; border-radius: 16px; }.workspace-preview-panel { padding: 26px 24px 22px; }.dashboard-preview { height: 455px; grid-template-columns: 120px 1fr; }.marketing-bottom-cta { padding: 28px 35px; }.telescope-art,.zodiac-watermark { opacity: .3; }
  .intake-main { margin-top: 28px; }.intake-intro h1 { font-size: 36px; }.intake-intro > p { font-size: 15px; }.intake-trust-row { grid-template-columns: repeat(2,1fr); }
  .workspace-frame { grid-template-columns: 1fr; padding: 0; }.workspace-sidebar { position: fixed; inset: 0 auto 24px 0; width: 220px; z-index: 100; border-radius: 0 18px 18px 0; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 18px 0 45px rgba(50,20,8,.18); }.workspace-sidebar.is-open { transform: translateX(0); }.workspace-content { border: 0; border-radius: 0; }.mobile-menu-button { display: block; }.workspace-online { display: none; }
  .workspace-mode .advisor-view .os-main,.workspace-mode.canvas-locked .advisor-view .os-main,.workspace-mode.canvas-unlocked .advisor-view .os-main,.workspace-mode.chat-open .advisor-view .os-main { grid-template-columns: 1fr !important; overflow-y: auto !important; }.workspace-mode .conversation-shell,.workspace-mode .living-shell { min-height: 620px !important; }.workspace-mode .living-shell { margin-bottom: 10px; }
  .dashboard-status-grid { grid-template-columns: repeat(2,1fr); }.dashboard-main-grid { grid-template-columns: 1fr; }.dashboard-quick-grid { grid-template-columns: repeat(2,1fr); }
  .module-status-card { grid-template-columns: 48px 1fr; }.module-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .horoscope-fact-grid,.horoscope-fact-grid.five,.dasha-current-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .marketing-nav .marketing-cta { padding: 0 14px; min-height: 42px; font-size: 12px; }.marketing-carousel { margin-top: 12px; }.carousel-arrow { width: 42px; height: 42px; top: calc(50% - 21px); font-size: 30px; }.carousel-previous { left: -8px; }.carousel-next { right: -8px; }.story-copy { width: 100%; padding: 55px 30px 0; }.story-copy h1 { font-size: 38px; }.story-copy p { max-width: 300px; font-size: 14px; }.horizon-art { height: 260px; }.horizon-wheel { right: 18px; width: 130px; height: 130px; font-size: 58px; }.workspace-preview-panel { padding: 25px 14px 16px; }.workspace-preview-panel > h2 { margin: 20px 20px 18px; font-size: 24px; }.dashboard-preview { height: 480px; grid-template-columns: 72px 1fr; }.preview-sidebar { padding: 12px 5px; }.preview-sidebar strong { font-size: 9px; }.preview-sidebar span { padding: 5px 4px; font-size: 6px; }.preview-main { padding: 11px; }.preview-greeting strong { font-size: 12px; }.preview-metrics { grid-template-columns: repeat(2, 1fr); margin: 10px 0 8px; }.preview-metrics span { padding: 8px 6px; }.preview-grid { grid-template-columns: 1fr; }.preview-grid > div { min-height: 170px; }.preview-grid > div:first-child { display: none; }.preview-quick { grid-template-columns: repeat(2, 1fr); }.feature-panel { padding: 24px; }.feature-panel h2 { margin-top: 34px; font-size: 29px; }.feature-list { grid-template-columns: 1fr; }.feature-list > div { grid-template-columns: 46px 1fr; gap: 12px; padding: 14px 0; }.feature-list > div > span { width: 42px; height: 42px; }.marketing-bottom-cta { padding: 25px 18px; }.telescope-art,.zodiac-watermark { display: none; }.marketing-footer { flex-direction: column; gap: 5px; }
  .intake-header .marketing-nav { display: none; }.intake-intro h1 { font-size: 31px; }.intake-requirements p { align-items: flex-start; flex-direction: column; gap: 4px; }.intake-toolbar { align-items: stretch; flex-direction: column; }.intake-send { width: 100%; }.intake-tools { justify-content: center; }.intake-trust-row { grid-template-columns: 1fr; }.intake-sun-art,.intake-zodiac-art { font-size: 180px; }
  .workspace-topbar { padding: 8px 10px; }.workspace-topbar h1 { font-size: 14px; }.workspace-new-session { padding: 0 9px; }.workspace-new-session span { display: none; }.dashboard-scroll,.module-page-scroll { padding: 14px; }.dashboard-welcome { flex-direction: column; }.dashboard-status-grid,.dashboard-quick-grid { grid-template-columns: 1fr; }.dashboard-card { min-height: 210px; }.module-page-hero { padding: 18px; }.module-page-hero h2 { font-size: 26px; }
  .workspace-mode .advisor-view .os-main,.workspace-mode.canvas-locked .advisor-view .os-main,.workspace-mode.canvas-unlocked .advisor-view .os-main,.workspace-mode.chat-open .advisor-view .os-main { padding: 6px !important; }.workspace-mode .conversation-shell,.workspace-mode .living-shell { min-height: calc(100vh - 105px) !important; border-radius: 13px !important; }
  .horoscope-data-notice { grid-template-columns: 1fr; gap: 6px; }.horoscope-data-section { padding: 14px; }.horoscope-fact-grid,.horoscope-fact-grid.five,.horoscope-summary-grid,.dasha-current-grid,.horoscope-yoga-grid { grid-template-columns: 1fr; }
}

/* Conversational controls: compact, unmistakable, and stateful. */
.workspace-mode .send-button,
.workspace-mode.canvas-locked.chat-open .send-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #a73720, #7e2416) !important;
}
.send-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.send-icon { display: block; font-size: 22px; font-weight: 900; line-height: 1; }
.stop-icon { display: none; font-size: 13px; line-height: 1; }
.composer.is-processing .send-button {
  opacity: 1 !important;
  color: #fff !important;
  background: #74685f !important;
  cursor: progress !important;
}
.composer.is-processing .send-icon { display: none; }
.composer.is-processing .stop-icon { display: block; animation: phala-processing-pulse 1.15s ease-in-out infinite; }
@keyframes phala-processing-pulse { 0%,100% { opacity: .45; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }

.clarification-actions {
  max-width: 680px; margin: -3px 0 16px 55px; display: flex; flex-wrap: wrap; gap: 8px;
}
.clarification-actions button {
  min-height: 38px; padding: 0 15px; border: 1px solid #ddb899; border-radius: 999px;
  color: #7d2b19; background: #fffaf4; font: 750 12px "DM Sans", sans-serif; cursor: pointer;
  box-shadow: 0 5px 15px rgba(93, 48, 27, .06);
}
.clarification-actions button:hover,.clarification-actions button:focus-visible {
  border-color: #bb5634; background: #fff0df; outline: none;
}
.save-workspace-card { display: grid !important; grid-template-columns: 48px 1fr !important; gap: 14px !important; }
.save-workspace-link { display: inline-flex; margin-top: 12px; min-height: 38px; padding: 0 16px; align-items: center; border-radius: 999px; color: #fff; background: #9a301c; font-weight: 800; text-decoration: none; }
/* Account, privacy, and recovery surfaces */
.auth-body {
  margin: 0;
  min-height: 100vh;
  color: #35170f;
  background: radial-gradient(circle at 50% 0, #fffaf4 0, #fbf3e9 54%, #f5eadf 100%);
  font-family: "DM Sans", sans-serif;
}

.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-header {
  min-height: 82px; padding: 14px clamp(22px, 4vw, 62px); display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid #eadbcf; background: rgba(255, 253, 249, .88);
}
.auth-header > a:last-child, .auth-secondary-link { color: #8e301d; font-weight: 700; text-decoration: none; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 42px 20px; }
.auth-card {
  width: min(100%, 520px); box-sizing: border-box; padding: clamp(28px, 5vw, 48px);
  border: 1px solid #ead6c6; border-radius: 28px; background: rgba(255, 253, 249, .96);
  box-shadow: 0 24px 80px rgba(91, 43, 23, .10);
}
.auth-card h1 { margin: 8px 0 12px; font: 700 clamp(30px, 5vw, 46px)/1.08 "Libre Baskerville", serif; }
.auth-card > p { color: #795f52; line-height: 1.6; }
.auth-kicker { color: #a43b22; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.auth-form { display: grid; gap: 17px; margin-top: 24px; }
.auth-form label { display: grid; gap: 8px; color: #56382c; font-weight: 700; }
.auth-form label small { color: #8c7468; font-size: 12px; font-weight: 500; }
.auth-form input:not([type="checkbox"]) {
  box-sizing: border-box; width: 100%; min-height: 48px; border: 1px solid #dec5b4; border-radius: 13px;
  padding: 11px 13px; color: #35170f; background: #fff; font: inherit; outline: none;
}
.auth-form input:focus { border-color: #d6451b; box-shadow: 0 0 0 3px rgba(214, 69, 27, .12); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 58px !important; }
.password-toggle {
  position: absolute; top: 50%; right: 8px; display: grid; place-items: center;
  width: 38px; min-width: 38px; height: 36px; min-height: 36px; padding: 0;
  transform: translateY(-50%); border: 0; border-radius: 10px;
  color: #8e301d; background: #fff1e4; cursor: pointer;
}
.password-toggle:hover,.password-toggle:focus-visible { background: #ffe5d1; outline: 2px solid rgba(214, 69, 27, .18); }
.password-eye-icon { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-eye-slash { opacity: 0; transition: opacity .15s ease; }
.password-toggle[aria-pressed="true"] .password-eye-slash { opacity: 1; }
.auth-consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 500 !important; line-height: 1.45; }
.auth-consent input { margin-top: 3px; accent-color: #d63d12; }
.auth-primary, .auth-danger, .account-action-row button {
  border: 0; border-radius: 13px; min-height: 48px; padding: 0 20px; cursor: pointer;
  font: 800 14px "DM Sans", sans-serif;
}
.auth-primary { display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: #d8370d; box-shadow: 0 12px 26px rgba(190, 52, 17, .2); }
.auth-link-button { margin-top: 24px; text-decoration: none; }
.auth-danger { color: #fff; background: #8f2519; }
.auth-error, .auth-success { margin: 18px 0; padding: 13px 15px; border-radius: 12px; line-height: 1.45; }
.auth-error { color: #842315; background: #fff0ea; border: 1px solid #efbca9; }
.auth-success { color: #175a36; background: #edf9f1; border: 1px solid #b9dfc5; }
.auth-secondary-link { display: inline-block; margin-top: 22px; }
.auth-status-card { text-align: center; }
.auth-status-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; color: #d63d12; background: #fff0df; font-size: 25px; }
.auth-footer { padding: 18px; color: #8c7468; text-align: center; font-size: 12px; }
.account-card { width: min(100%, 680px); }
.account-action-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 0; padding: 18px; border: 1px solid #ead7c7; border-radius: 16px; }
.account-action-row div { display: grid; gap: 4px; }
.account-action-row small { color: #8c7468; line-height: 1.4; }
.account-action-row button { color: #8e301d; border: 1px solid #e0bda7; background: #fffaf4; }
.account-action-row .auth-secondary-link { margin: 0; padding: 9px 14px; border: 1px solid #e0bda7; border-radius: 999px; }
.consent-history { margin: 22px 0; padding: 16px; border-radius: 14px; background: #fbf6ef; }
.consent-history summary { cursor: pointer; font-weight: 800; }
.consent-history p { color: #795f52; font-size: 13px; }
.danger-zone { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e6cbc0; }
.danger-zone h2 { font: 700 22px "Libre Baskerville", serif; }
.legal-card h2 { margin: 26px 0 7px; font: 700 20px "Libre Baskerville", serif; }
.legal-card p { color: #6f574c; line-height: 1.65; }
.marketing-footer a,.auth-consent a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }

.intake-edit-details { width: min(1180px, 100%); margin: 26px auto 0; }
.intake-edit-details > summary {
  width: fit-content; margin: 0 auto; padding: 10px 18px; cursor: pointer; list-style: none;
  border: 1px solid #e4c5ad; border-radius: 999px; color: #8d311e; background: #fffaf4;
  font-size: 13px; font-weight: 800;
}
.intake-edit-details > summary::-webkit-details-marker { display: none; }
.intake-edit-details[open] > summary { margin-bottom: 12px; }
.intake-edit-details .intake-composer-card { margin-top: 0; }
.stage-zero-disclosure { padding-top: 8px; border-top: 1px solid rgba(172, 88, 42, .16); line-height: 1.45; }
.intake-send:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.guest-workspace-banner {
  margin: 12px 18px 0; padding: 13px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; border: 1px solid #e5bd91; border-radius: 14px;
  color: #5b2b1e; background: linear-gradient(135deg, #fff7e8, #fff0dc);
}
.guest-workspace-banner div { display: grid; gap: 3px; }
.guest-workspace-banner strong { font-size: 13px; }
.guest-workspace-banner span { color: #80685c; font-size: 11px; }
.guest-workspace-banner a {
  flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; color: #fff; background: #97321e;
  font-size: 11px; font-weight: 800; text-decoration: none;
}

.horoscope-library-card { width: min(100%, 780px); }
.horoscope-library-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.horoscope-library-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px;
  border: 1px solid #ead7c7; border-radius: 16px; background: #fffdfa;
}
.horoscope-library-item.is-active { border-color: #d96a3b; background: #fff7ed; }
.horoscope-library-item > div { display: grid; gap: 4px; }
.horoscope-library-item small { color: #9b5c43; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.horoscope-library-item strong { color: #3b1c14; font-size: 17px; }
.horoscope-library-item span { color: #846d61; font-size: 12px; }
.horoscope-library-item button {
  min-height: 40px; padding: 0 17px; border: 1px solid #ddb899; border-radius: 999px;
  color: #8d311e; background: #fffaf4; font-weight: 800; cursor: pointer;
}
.horoscope-library-new { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid #ead7c7; }
.horoscope-library-new h2 { margin: 0; font: 700 22px "Libre Baskerville", serif; }
.horoscope-library-new label { display: grid; gap: 7px; color: #56382c; font-weight: 700; }
.horoscope-library-new input,.horoscope-library-new select {
  min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #dec5b4;
  border-radius: 12px; color: #35170f; background: #fff; font: inherit;
}

@media (max-width: 620px) {
  .auth-header { align-items: flex-start; gap: 12px; }
  .auth-header .marketing-brand small { display: none; }
  .account-action-row { align-items: stretch; flex-direction: column; }
  .intake-profile-grid { grid-template-columns: 1fr; }
  .horoscope-library-item { align-items: stretch; flex-direction: column; }
  .guest-workspace-banner { align-items: stretch; flex-direction: column; }
  .guest-workspace-banner a { text-align: center; }
}
