body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0;background:#fff;color:#111}
.container{max-width:980px;margin:40px auto;padding:0 20px}
h1,h2,h3{margin:0 0 14px 0}
p{line-height:1.5}
.table{width:100%;border-collapse:collapse;margin:18px 0}
.table th,.table td{border-bottom:1px solid #e5e5e5;padding:10px 8px;vertical-align:top}
.table th{font-weight:600;text-align:left}
.num{width:90px;padding:6px}
.actions{display:flex;gap:10px;margin-top:18px}
.button{display:inline-block;padding:10px 14px;border-radius:8px;background:#111;color:#fff;text-decoration:none;border:0;cursor:pointer}
.button.secondary{background:#f1f1f1;color:#111}
.hint{color:#555;font-size:0.95em;margin-top:24px}
img.chart{max-width:100%;height:auto;border:1px solid #eee;border-radius:8px}
img.chart-tall{max-width:100%;height:auto}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.card{border:1px solid #e9e9e9;border-radius:10px;padding:14px}
.small{color:#555;font-size:0.95em}

.pointsbar{display:flex;gap:18px;align-items:center;margin:12px 0 6px 0;padding:10px 12px;border:1px solid #e9e9e9;border-radius:10px;background:#fafafa}
.error{margin:12px 0;padding:10px 12px;border:1px solid #b00020;border-radius:10px;background:#fff5f6;color:#b00020;font-weight:600}
button.button:disabled{opacity:0.45;cursor:not-allowed}


.introbox{margin:12px 0 12px 0;padding:12px 14px;border:1px solid #e9e9e9;border-radius:12px;background:#fcfcfc}
.introbox p{margin:6px 0}

.note{margin:12px 0 12px 0;padding:12px 14px;border:1px solid #e9e9e9;border-radius:12px;background:#fcfcfc}
.note p{margin:6px 0}

.defs{margin:6px 0 18px 0}
.defs-title{font-weight:700;margin:0 0 6px 0}
.stmt{font-weight:600}
.expl{margin-top:6px;color:#555;font-size:0.92em;line-height:1.35}
.dimdesc{margin-top:6px;color:#444;font-size:0.92em;line-height:1.35}

/* Optional respondent name field in the points bar */
.namebox{margin-left:auto;display:inline-flex;gap:8px;align-items:center;font-size:14px}
input.name{padding:6px 8px;border:1px solid #ddd;border-radius:6px;width:180px}

.meta{display:flex;gap:18px;flex-wrap:wrap;color:#555;margin:6px 0 14px 0;font-size:14px}
.download-link{margin:16px 0 24px 0}
.download-link a{font-weight:700}


/* Plain-English explainer under formal definition */
.plain{ margin-top:6px; padding:8px 10px; border-left:3px solid #cfd8dc; background:#f7f9fa; color:#263238; font-size:0.92em; line-height:1.25em; }


.theme-card {
  border: 1px solid #d9d9d9;
  background: #fafafa;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 0 0 1rem 0;
}

.theme-role {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  margin-bottom: 0.2rem;
}

.theme-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.theme-text {
  margin: 0;
}

.profile-structure-intro ul {
  margin-top: 0.6rem;
  margin-bottom: 0.2rem;
}

.profile-structure-intro li {
  margin-bottom: 0.35rem;
}


.archetype-hero {
  border: 1px solid #d9d9d9;
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.25rem 0;
}

.archetype-kicker {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 0.25rem;
}

.archetype-name {
  font-size: 1.8rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.archetype-subtext {
  margin: 0;
  color: #444;
}


.snapshot-section {
  margin: 0 0 1.75rem 0;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.snapshot-card {
  border: 1px solid #d9d9d9;
  background: #fafafa;
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.snapshot-card-wide {
  grid-column: span 2;
}

.snapshot-kicker {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 0.3rem;
}

.snapshot-title {
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.snapshot-title-small {
  font-size: 1.35rem;
}

.snapshot-text {
  margin: 0;
}

.snapshot-list {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

@media (max-width: 800px) {
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card-wide {
    grid-column: span 1;
  }
}
