.npt-test {
  --npt-bg: #fbf5ef;
  --npt-card: #fffaf6;
  --npt-ink: #2d2623;
  --npt-muted: #746760;
  --npt-line: rgba(72, 51, 43, 0.16);
  --npt-accent: #764737;
  --npt-accent-dark: #503126;
  --npt-soft: #f1dfd2;
  --npt-danger: #b84a3c;
  --npt-danger-bg: #fff0ed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 980px;
  margin: 0 auto;
  color: var(--npt-ink);
  line-height: 1.62;
}

.npt-test * {
  box-sizing: border-box;
}

.npt-hero {
  background: radial-gradient(circle at top left, rgba(118, 71, 55, 0.16), transparent 34%), linear-gradient(135deg, #fffaf6, #f6e8dd);
  border: 1px solid var(--npt-line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  margin: 0 0 26px;
  box-shadow: 0 20px 50px rgba(54, 37, 29, 0.08);
}

.npt-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(118, 71, 55, 0.12);
  color: var(--npt-accent-dark);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.npt-hero h2 {
  margin: 0 0 14px;
  color: var(--npt-ink);
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.npt-intro,
.npt-note {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--npt-muted);
  font-size: 1.02rem;
}

.npt-lead {
  color: var(--npt-ink);
  font-size: 1.13rem;
}

.npt-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 4px solid rgba(118, 71, 55, 0.45);
  border-radius: 18px;
}

.npt-form {
  margin: 0 0 30px;
}

.npt-question-list {
  display: grid;
  gap: 16px;
}

.npt-question {
  margin: 0;
  padding: 20px;
  background: var(--npt-card);
  border: 1px solid var(--npt-line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(54, 37, 29, 0.055);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.npt-question:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(54, 37, 29, 0.075);
}

.npt-question legend {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  color: var(--npt-ink);
  font-size: 1.04rem;
  font-weight: 750;
}

.npt-question legend span {
  color: var(--npt-accent);
}

.npt-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.npt-option {
  position: relative;
  cursor: pointer;
}

.npt-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.npt-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  height: 100%;
  padding: 10px 9px;
  border: 1px solid rgba(72, 51, 43, 0.17);
  border-radius: 16px;
  background: #fff;
  color: #4d423e;
  font-size: 0.88rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.25;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.npt-option input:checked + span {
  background: var(--npt-accent);
  border-color: var(--npt-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(118, 71, 55, 0.18);
}

.npt-option input:focus-visible + span {
  outline: 3px solid rgba(118, 71, 55, 0.28);
  outline-offset: 2px;
}

.npt-question.npt-missing {
  border-color: rgba(184, 74, 60, 0.9);
  box-shadow: 0 0 0 4px rgba(184, 74, 60, 0.12), 0 14px 32px rgba(54, 37, 29, 0.08);
}

.npt-question.npt-missing legend {
  color: #8f3128;
}

.npt-save-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 14px;
  padding: 15px 16px;
  background: #fffaf6;
  border: 1px solid var(--npt-line);
  border-radius: 18px;
  color: var(--npt-muted);
  font-size: 0.96rem;
}

.npt-save-consent input {
  margin-top: 5px;
  accent-color: var(--npt-accent);
}

.npt-warning {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--npt-danger-bg);
  color: #8f3128;
  font-weight: 750;
}

.npt-warning.npt-visible {
  display: block;
}

.npt-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}

.npt-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.npt-button:hover {
  transform: translateY(-1px);
}

.npt-primary {
  background: var(--npt-accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(118, 71, 55, 0.22);
}

.npt-primary:hover {
  background: var(--npt-accent-dark);
}

.npt-secondary {
  background: #fff;
  color: var(--npt-accent-dark);
  border: 1px solid var(--npt-line);
}

.npt-results {
  display: none;
  margin-top: 34px;
}

.npt-results.npt-visible {
  display: block;
}

.npt-result-highlight {
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  background: linear-gradient(135deg, #3f2c28, #7b4a3a);
  color: #fff;
  box-shadow: 0 22px 44px rgba(54, 37, 29, 0.18);
}

.npt-profile-title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.npt-profile-text,
.npt-save-status {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
}

.npt-save-status {
  margin-top: 12px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.72);
}

.npt-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin: 22px 0 26px;
}

.npt-chart-card,
.npt-summary-box,
.npt-score-card {
  background: var(--npt-card);
  border: 1px solid var(--npt-line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(54, 37, 29, 0.055);
}

.npt-chart-card {
  padding: 20px;
}

.npt-chart-card h3,
.npt-summary-box h3,
.npt-results > h3 {
  margin: 0 0 14px;
  color: var(--npt-ink);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.npt-radar {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}

.npt-duiding-card {
  display: flex;
  flex-direction: column;
}

.npt-short-text {
  color: var(--npt-muted);
  margin: 0 0 18px;
}

.npt-mini-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: auto;
}

.npt-mini-metrics div {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--npt-line);
}

.npt-mini-metrics strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--npt-accent-dark);
}

.npt-mini-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--npt-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.npt-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 22px;
}

.npt-score-card {
  padding: 18px;
}

.npt-score-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
}

.npt-score-head h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--npt-ink);
}

.npt-score-head strong {
  color: var(--npt-accent-dark);
  font-size: 1.22rem;
}

.npt-level {
  margin-bottom: 10px;
  color: var(--npt-accent);
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.npt-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadbd0;
  margin: 0 0 12px;
}

.npt-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a36b56, #5b352b);
}

.npt-score-card p,
.npt-summary-box p {
  margin: 0;
  color: var(--npt-muted);
}

.npt-summary-box {
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 30px;
}

.npt-small-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--npt-line);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .npt-options {
    grid-template-columns: 1fr;
  }

  .npt-option span {
    justify-content: flex-start;
    min-height: 48px;
    text-align: left;
  }

  .npt-visual-grid,
  .npt-score-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .npt-hero,
  .npt-question,
  .npt-chart-card,
  .npt-summary-box,
  .npt-score-card,
  .npt-result-highlight {
    border-radius: 20px;
  }

  .npt-hero,
  .npt-question,
  .npt-chart-card,
  .npt-summary-box,
  .npt-score-card {
    padding: 16px;
  }

  .npt-button {
    width: 100%;
  }
}
