/* AstroDestiny birth-details layout: intro sits above form on both chart/map views. */
body.astro-workspace-page #top > section#birth-form.content-grid:not(.workspace-view-hidden) {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:28px !important;
  width:100% !important;
  max-width:1500px !important;
  margin:0 auto !important;
  padding:56px clamp(18px,3vw,44px) 48px !important;
  box-sizing:border-box !important;
}
body.astro-workspace-page #birth-form .section-intro {
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto !important;
  text-align:left;
}
body.astro-workspace-page #birth-form .section-intro p {
  max-width:900px !important;
}
body.astro-workspace-page #birth-form .mini-facts {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  max-width:1000px;
  margin-top:25px !important;
}
body.astro-workspace-page #birth-form .form-card {
  width:100% !important;
  max-width:1120px !important;
  min-width:0 !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
body.astro-workspace-page #birth-form .form-card form,
body.astro-workspace-page #birth-form .form-card .two-fields {
  min-width:0;
}
body.astro-workspace-page #birth-form .form-card input,
body.astro-workspace-page #birth-form .form-card select {
  max-width:100%;
  box-sizing:border-box;
}
body.astro-workspace-page #map-section,
body.astro-workspace-page #city-discovery,
body.astro-workspace-page #vedic-location-analysis,
body.astro-workspace-page #advanced-astro-tools,
body.astro-workspace-page #location-intelligence {
  width:100%;
  max-width:1500px;
  min-width:0;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}
body.astro-workspace-page #city-discovery,
body.astro-workspace-page #vedic-location-analysis,
body.astro-workspace-page #advanced-astro-tools,
body.astro-workspace-page #location-intelligence {
  padding-left:clamp(18px,3vw,44px);
  padding-right:clamp(18px,3vw,44px);
}
@media(max-width:760px) {
  body.astro-workspace-page #birth-form.content-grid:not(.workspace-view-hidden) {
    padding:30px 14px !important;
  }
  body.astro-workspace-page #birth-form .mini-facts {
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* Ensure the requested location and relocation workspaces remain readable. */
body.astro-workspace-page #advanced-astro-tools h2,
body.astro-workspace-page #advanced-astro-tools h3,
body.astro-workspace-page #location-intelligence h2,
body.astro-workspace-page #city-discovery h2,
body.astro-workspace-page #vedic-location-analysis h2 {
  color:var(--ink, #edf1f7);
}
body.astro-workspace-page #advanced-astro-tools .premium-card,
body.astro-workspace-page #location-intelligence .location-intel-heading {
  min-width:0;
}
