:root {
  --assessment-bg: #f5f7fb;
  --assessment-surface: #ffffff;
  --assessment-border: rgba(17, 24, 39, 0.08);
  --assessment-text: #111827;
  --assessment-muted: #677487;
  --assessment-primary: #1d2737;
  --assessment-primary-soft: #eef2f8;
  --assessment-accent: #d7e1f2;
  --assessment-shadow: 0 16px 40px rgba(20, 27, 43, 0.06);
}

body.product-body {
  background:
    radial-gradient(circle at top left, rgba(214, 223, 238, 0.26), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, var(--assessment-bg) 100%);
  color: var(--assessment-text);
}

.assessment-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.assessment-step-card,
.assessment-result-card,
.assessment-lock-card {
  background: var(--assessment-surface);
  border: 1px solid var(--assessment-border);
  border-radius: 24px;
  box-shadow: var(--assessment-shadow);
}

.assessment-step-card {
  padding: 22px 18px;
}

.assessment-step-badge,
.assessment-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef3fb;
  color: #45546a;
  font-size: 12px;
  font-weight: 600;
}

.assessment-step-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.assessment-step-head h1,
.assessment-step-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.assessment-step-head p {
  margin: 0;
  color: var(--assessment-muted);
  font-size: 15px;
  line-height: 1.6;
}

.assessment-step-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.assessment-step-progress__item {
  border-radius: 16px;
  background: #f4f6fa;
  border: 1px solid rgba(17, 24, 39, 0.05);
  padding: 12px;
  color: #718096;
}

.assessment-step-progress__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #9aa4b2;
}

.assessment-step-progress__item span {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.assessment-step-progress__item.is-active {
  background: #eff4fb;
  border-color: rgba(34, 66, 126, 0.12);
}

.assessment-step-progress__item.is-active strong,
.assessment-step-progress__item.is-active span {
  color: var(--assessment-text);
}

.assessment-panel {
  border-radius: 22px;
  border: 1px solid var(--assessment-border);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  padding: 18px 16px;
}

.assessment-panel + .assessment-panel {
  margin-top: 14px;
}

.assessment-panel__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.assessment-panel__desc {
  margin: 0;
  color: var(--assessment-muted);
  font-size: 13px;
  line-height: 1.6;
}

.assessment-upload-zone {
  position: relative;
  border: 1px dashed rgba(34, 45, 68, 0.16);
  background: #f7f9fc;
  border-radius: 22px;
  padding: 20px 16px;
}

.assessment-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.assessment-upload-zone strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.assessment-upload-zone p {
  margin: 0;
  color: var(--assessment-muted);
  font-size: 13px;
  line-height: 1.6;
}

.assessment-inline-note,
.assessment-message,
.assessment-hero-note {
  color: var(--assessment-muted);
  font-size: 13px;
  line-height: 1.6;
}

.assessment-message.is-error {
  color: #b42318;
}

.assessment-meta-list,
.assessment-analysis-list,
.assessment-paywall-list,
.assessment-mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.assessment-meta-item,
.assessment-mini-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7f9fc;
}

.assessment-meta-item strong,
.assessment-mini-item strong {
  font-size: 14px;
}

.assessment-meta-item span,
.assessment-mini-item p {
  margin: 0;
  color: var(--assessment-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.assessment-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assessment-field--full {
  grid-column: 1 / -1;
}

.assessment-field label {
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
}

.assessment-field input,
.assessment-field select,
.assessment-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  background: #fff;
  min-height: 52px;
  padding: 0 14px;
  font: inherit;
  color: var(--assessment-text);
  box-sizing: border-box;
}

.assessment-field textarea {
  min-height: 108px;
  padding: 14px;
  resize: vertical;
}

.assessment-field input:focus,
.assessment-field select:focus,
.assessment-field textarea:focus {
  outline: none;
  border-color: rgba(34, 66, 126, 0.22);
  box-shadow: 0 0 0 4px rgba(48, 88, 164, 0.08);
}

.assessment-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.assessment-actions .cta-primary,
.assessment-actions .cta-secondary,
.assessment-actions .ghost-button {
  width: 100%;
  justify-content: center;
}

.assessment-actions .ghost-button {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #f5f7fb;
  color: #253044;
  font-weight: 600;
  box-shadow: none;
}

.assessment-actions .ghost-button:hover {
  transform: none;
  background: #eef2f7;
  border-color: rgba(17, 24, 39, 0.14);
}

.assessment-actions .cta-primary {
  min-height: 54px;
  border-radius: 18px;
}

.assessment-question-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.assessment-question-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.assessment-question-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.assessment-question-head p {
  margin: 6px 0 0;
  color: var(--assessment-muted);
  font-size: 14px;
  line-height: 1.6;
}

.assessment-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.assessment-progress__bar {
  width: 100%;
  height: 8px;
  background: #e8edf5;
  border-radius: 999px;
  overflow: hidden;
}

.assessment-progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #232b38 0%, #35455f 100%);
  border-radius: inherit;
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assessment-option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.assessment-option {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  display: block;
  text-align: left;
  color: var(--assessment-text);
  transition:
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assessment-option:active {
  transform: scale(0.985);
}

.assessment-option.is-selected {
  border-color: rgba(33, 48, 72, 0.26);
  background: #f2f6fc;
}

.assessment-option__copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.55;
}

.assessment-option__copy p {
  margin: 0;
  color: var(--assessment-muted);
  font-size: 13px;
  line-height: 1.6;
}

.assessment-result-card {
  padding: 22px 18px;
}

.assessment-result-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.assessment-result-hero h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.assessment-result-hero p {
  margin: 0;
  color: var(--assessment-muted);
  font-size: 15px;
  line-height: 1.65;
}

.assessment-result-grid {
  display: grid;
  gap: 12px;
}

.assessment-result-grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assessment-result-block {
  padding: 16px;
  border-radius: 18px;
  background: #f7f9fc;
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.assessment-result-block strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #667487;
}

.assessment-result-block h2,
.assessment-result-block h3,
.assessment-result-block p {
  margin: 0;
}

.assessment-result-block h2 {
  font-size: 28px;
  line-height: 1.08;
}

.assessment-result-block h3 {
  font-size: 18px;
  line-height: 1.2;
}

.assessment-result-block p {
  color: var(--assessment-muted);
  font-size: 13px;
  line-height: 1.6;
}

.assessment-lock-card {
  padding: 20px 18px;
  background: linear-gradient(180deg, #232b38 0%, #1a2230 100%);
  color: #f9fbff;
}

.assessment-lock-card h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.assessment-lock-card p {
  margin: 0;
  color: rgba(243, 247, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.assessment-lock-card .assessment-result-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #f9fbff;
}

.assessment-paywall-list .assessment-mini-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.assessment-paywall-list .assessment-mini-item strong {
  color: #f9fbff;
}

.assessment-paywall-list .assessment-mini-item p {
  color: rgba(243, 247, 255, 0.74);
  text-align: left;
}

.assessment-radar-wrap {
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(180deg, #fcfdff 0%, #f3f6fb 100%);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.assessment-radar-chart {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.assessment-radar-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.assessment-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 14px;
}

.assessment-price-row strong {
  font-size: 30px;
  line-height: 1;
}

.assessment-price-row span {
  display: block;
  font-size: 13px;
  color: rgba(243, 247, 255, 0.74);
}

.assessment-unlock-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.assessment-unlock-actions .cta-primary,
.assessment-unlock-actions .cta-secondary {
  width: 100%;
  justify-content: center;
}

.assessment-micro-copy {
  color: rgba(243, 247, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 10px;
}

.assessment-preview-lock {
  position: relative;
  overflow: hidden;
}

.assessment-preview-lock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.15) 0%, rgba(248, 250, 253, 0.92) 100%);
  pointer-events: none;
}

.assessment-preview-lock__hint {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #425066;
  background: #eef3fb;
}

@media (min-width: 768px) {
  .assessment-shell {
    max-width: 620px;
    margin: 0 auto;
  }

  .assessment-actions {
    flex-direction: row;
  }

  .assessment-actions .cta-primary,
  .assessment-actions .cta-secondary,
  .assessment-actions .ghost-button {
    width: auto;
    flex: 1 1 0;
  }

  .assessment-unlock-actions {
    flex-direction: row;
  }

  .assessment-unlock-actions .cta-primary,
  .assessment-unlock-actions .cta-secondary {
    width: auto;
    flex: 1 1 0;
  }
}

.membership-lock-note {
  margin-top: 10px;
  color: rgba(243, 247, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.membership-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
