/* Vystopia Diagnostic v2 - Reveal Page
 * Public participant-facing page. Plain, readable styling that doesn't
 * assume anything about the site's own theme.
 */

.vystopia-reveal-v2-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2b2b2b;
  line-height: 1.65;
}

.vystopia-v2-heading {
  text-align: center;
  margin-bottom: 0.25rem;
}

.vystopia-v2-heading .vystopia-v2-name {
  font-weight: 700;
}

.vystopia-v2-subheading {
  text-align: center;
  color: #6b6862;
  margin: 1.5rem 0;
}

.vystopia-v2-opening {
  margin-bottom: 1rem;
}

.vystopia-v2-opening p,
.vystopia-v2-summary p,
.vystopia-v2-bridge p {
  margin: 0 0 1rem;
}

.vystopia-v2-opening p:last-child,
.vystopia-v2-summary p:last-child,
.vystopia-v2-bridge p:last-child {
  margin-bottom: 0;
}

.vystopia-v2-summary {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2ded3;
}

.vystopia-v2-bridge {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2ded3;
  font-style: italic;
  color: #6b6862;
}

/* Hero section - profile type is a full-width heading at the top, then
 * the radar chart, then the dimension tabs and detail card, all stacked
 * full width beneath it. (Previously a two-column layout with the profile
 * type in a narrow left rail and the graph/tabs/descriptor confined to a
 * right column - changed to this single stacked column at every width so
 * the tabs and descriptor read as full-width sections under the title and
 * graph, not squeezed into a side column.) */
.vystopia-v2-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.vystopia-v2-hero-left {
  text-align: center;
  border-right: none;
  border-bottom: 1px solid #e2ded3;
  padding-bottom: 1.5rem;
}

.vystopia-v2-hero-right {
  padding-left: 0;
}

.vystopia-v2-profile-type-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a877e;
  margin-bottom: 0.5rem;
}

.vystopia-v2-profile-type-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.2;
}

.vystopia-v2-profile-type-tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: #4a5d6b;
  margin-top: 0.6rem;
}

.vystopia-v2-error {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b6862;
  font-size: 1.05rem;
}

.vystopia-v2-graph-wrap {
  text-align: center;
}

.vystopia-v2-svg {
  width: 100%;
  max-width: 640px;
  min-width: 220px;
  display: block;
  margin: 0 auto;
}

.vystopia-v2-axis-label:hover,
circle[data-dim]:hover {
  opacity: 0.8;
}

.vystopia-v2-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.vystopia-v2-tab {
  border: 1px solid #c9c6bd;
  background: #fff;
  color: #2b2b2b;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.vystopia-v2-tab:hover:not(.active) {
  background: #f0ede4;
}

.vystopia-v2-tab.active {
  background: #4a5d6b;
  border-color: #4a5d6b;
  color: #fff;
}

.vystopia-v2-descriptor {
  background: #faf9f6;
  border: 1px solid #e2ded3;
  border-radius: 10px;
  padding: 1.5rem;
  line-height: 1.65;
}

.vystopia-v2-descriptor h3 {
  margin-top: 0;
}

.vystopia-v2-descriptor p {
  margin: 0 0 1rem;
}

.vystopia-v2-descriptor p:last-child {
  margin-bottom: 0;
}
