.mindset-level-test-page {
  min-height: 100vh;
  background: #171311;
}

.mindset-assessment {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 160px 0 120px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 113, 43, 0.2), transparent 32%),
    radial-gradient(circle at 88% 68%, rgba(118, 89, 232, 0.22), transparent 34%),
    linear-gradient(145deg, #201a17 0%, #100d0c 48%, #191421 100%);
  color: #fff;
}

.assessment-bg,
.assessment-bg i,
.assessment-bg b {
  position: absolute;
  pointer-events: none;
}

.assessment-bg {
  inset: 0;
}

.assessment-bg::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  content: "";
}

.assessment-bg i {
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 42% 58% 61% 39%;
  animation: assessmentDrift 18s ease-in-out infinite;
}

.assessment-bg i:nth-child(1) { top: 8%; left: -8%; }
.assessment-bg i:nth-child(2) { top: 28%; right: -8%; width: 520px; height: 520px; animation-delay: -6s; }
.assessment-bg i:nth-child(3) { bottom: -12%; left: 24%; width: 440px; height: 440px; animation-delay: -12s; }
.assessment-bg b { top: 16%; right: 13%; width: 12px; height: 12px; border-radius: 50%; background: #ff8a50; box-shadow: 0 0 55px 18px rgba(255, 105, 42, 0.5); animation: assessmentPulse 4s ease-in-out infinite; }

.assessment-shell {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.assessment-intro {
  max-width: 850px;
  margin: 0 auto 48px;
  text-align: center;
}

.assessment-intro .eyebrow {
  justify-content: center;
  color: #ff9d6c !important;
}

.assessment-intro h1 {
  margin: 0;
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.067em;
}

.assessment-intro h1 em {
  color: #ff9c69;
  font-style: normal;
}

.assessment-intro > p:last-child {
  max-width: 720px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.assessment-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 52px 130px rgba(0, 0, 0, 0.38);
  color: #201b19;
}

.assessment-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid #eee7e2;
  background: rgba(255, 253, 251, 0.85);
  color: #766e69;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assessment-topbar span { display: inline-flex; align-items: center; gap: 8px; }
.assessment-topbar span em { font-style: normal; }
.assessment-topbar span i { width: 8px; height: 8px; border-radius: 50%; background: #25a766; box-shadow: 0 0 0 6px rgba(37, 167, 102, 0.1); }

.assessment-step {
  display: none;
  padding: 54px 64px 64px;
}

.assessment-step.is-active {
  display: block;
  animation: assessmentStepIn 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.assessment-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

.assessment-step-heading > span {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: #fff0e7;
  color: #f05a1a;
  font-weight: 850;
}

.assessment-step-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.assessment-step-heading p {
  margin: 8px 0 0;
  color: #77706c;
  line-height: 1.6;
}

.level-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.level-choice {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  min-height: 116px;
  padding: 22px;
  border: 1px solid #e9e2dd;
  border-radius: 22px;
  background: #fff;
  color: #28211e;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.level-choice:hover,
.level-choice:focus-visible {
  border-color: #ff8a50;
  box-shadow: 0 18px 40px rgba(75, 47, 35, 0.1);
  outline: none;
  transform: translateY(-4px);
}

.level-choice strong {
  display: grid;
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: #fff1e9;
  color: #ef5a1d;
  font-size: 19px;
}

.level-choice span { align-self: end; font-weight: 820; }
.level-choice small { color: #887e78; font-size: 11px; font-weight: 650; text-transform: uppercase; }

.adaptive-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid #2a211e;
  border-radius: 26px;
  background: linear-gradient(135deg, #2b231f, #171210);
  box-shadow: 0 22px 48px rgba(34, 22, 18, 0.15);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adaptive-choice:hover,
.adaptive-choice:focus-visible { outline: none; transform: translateY(-3px); box-shadow: 0 28px 55px rgba(34, 22, 18, 0.24); }
.adaptive-choice span { display: grid; gap: 5px; }
.adaptive-choice span b { width: max-content; padding: 5px 8px; border-radius: 999px; background: #ff6b2b; font-size: 9px; letter-spacing: 0.08em; }
.adaptive-choice span strong { font-size: 20px; }
.adaptive-choice span small { max-width: 570px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }
.adaptive-choice em { flex: 0 0 auto; padding: 14px 18px; border-radius: 15px; background: #fff; color: #1f1917; font-style: normal; font-weight: 800; }

.assessment-back {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  background: none;
  color: #746b66;
  font-weight: 750;
  cursor: pointer;
}

.assessment-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.assessment-fields label,
.writing-field {
  display: grid;
  gap: 9px;
  color: #4d4541;
  font-size: 13px;
  font-weight: 750;
}

.assessment-fields label b { color: #ef5a1d; }
.assessment-fields label small { color: #9b918b; font-weight: 550; }

.assessment-fields input,
.assessment-fields select,
.writing-field textarea {
  width: 100%;
  border: 1px solid #ded6d1;
  border-radius: 16px;
  background: #fff;
  color: #201b19;
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.assessment-fields input,
.assessment-fields select { height: 56px; padding: 0 16px; }
.writing-field textarea { min-height: 240px; padding: 18px; resize: vertical; line-height: 1.7; }
.assessment-fields input:focus,
.assessment-fields select:focus,
.writing-field textarea:focus { border-color: #ff7d3d; box-shadow: 0 0 0 4px rgba(255, 101, 34, 0.1); }

.assessment-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.assessment-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 24px 0;
  color: #6f6762;
  font-size: 12px;
  line-height: 1.55;
}

.assessment-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #ff6422; }
.assessment-consent a { color: #e85113; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }

.assessment-primary {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #ff7132, #ef4e0c);
  box-shadow: 0 16px 34px rgba(239, 78, 12, 0.22);
  color: #fff;
  font-weight: 820;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.assessment-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(239, 78, 12, 0.3); }
.assessment-primary:disabled { cursor: not-allowed; opacity: 0.48; }
.assessment-primary[hidden],
.assessment-secondary-link[hidden],
.speaking-control[hidden] { display: none; }

.assessment-message { display: none; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.assessment-message:not(:empty) { display: block; }
.assessment-message.is-error { background: #fff0ef; color: #a52920; }
.assessment-message.is-loading { background: #f4f0ff; color: #5e49a6; }
.assessment-message.is-success { background: #eaf8ef; color: #176f49; }

.question-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  color: #837871;
  font-size: 12px;
  font-weight: 750;
}

.question-progress span b { color: #ef5a1d; font-size: 16px; }
.question-progress span em { font-style: normal; }
.question-progress > div { height: 7px; overflow: hidden; border-radius: 999px; background: #eee8e4; }
.question-progress > div i { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff6422, #8b6cf2); transition: width 0.4s ease; }
.question-progress > small { padding: 7px 10px; border-radius: 999px; background: #f4f0ff; color: #6d54c8; text-transform: uppercase; letter-spacing: 0.06em; }

.question-level { margin: 50px 0 12px; color: #ef5a1d; font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.assessment-question h2 { max-width: 850px; min-height: 96px; margin: 0 0 28px; font-size: clamp(28px, 3.5vw, 45px); line-height: 1.18; letter-spacing: -0.045em; }

.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.answer-option { display: flex; min-height: 76px; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid #e6dfda; border-radius: 18px; background: #fff; color: #2e2723; text-align: left; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.answer-option:hover { border-color: #ffb087; transform: translateY(-2px); }
.answer-option.is-selected { border-color: #ff6a29; background: #fff5ef; box-shadow: 0 0 0 3px rgba(255, 100, 34, 0.09); }
.answer-option span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #f5f0ed; color: #776d67; font-weight: 850; }
.answer-option.is-selected span { background: #ff6422; color: #fff; }
.answer-option b { font-size: 14px; line-height: 1.45; }

.writing-prompt { margin-bottom: 24px; padding: 22px 24px; border: 1px solid #eadfd8; border-radius: 20px; background: linear-gradient(135deg, #fff3ec, #f5f0ff); }
.writing-prompt b { color: #ee591b; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.writing-prompt p { margin: 8px 0 0; font-size: 17px; font-weight: 700; line-height: 1.55; }
.writing-field { margin-bottom: 24px; }
.writing-field > small { justify-self: end; color: #9b918b; }
.writing-field > small.is-ready { color: #1f8c59; }

.speaking-call {
  --speaking-level: 0;
  position: relative;
  overflow: hidden;
  padding: 24px 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 18%, rgba(128, 92, 232, 0.35), transparent 31%),
    radial-gradient(circle at 8% 90%, rgba(255, 104, 39, 0.23), transparent 30%),
    linear-gradient(145deg, #261b31, #15111d 54%, #211723);
  box-shadow: 0 28px 65px rgba(32, 20, 42, 0.25);
  color: #fff;
}

.speaking-call::before {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.speaking-call > * { position: relative; z-index: 1; }

.speaking-call-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speaking-call-top span { display: inline-flex; align-items: center; gap: 8px; }
.speaking-call-top span i { width: 7px; height: 7px; border-radius: 50%; background: #42d58c; box-shadow: 0 0 0 6px rgba(66, 213, 140, 0.1); }
.speaking-call-top time { color: #fff; font-variant-numeric: tabular-nums; }

.speaking-call-person { display: grid; justify-items: center; margin: 20px auto 16px; text-align: center; }
.speaking-call-person h3 { margin: 13px 0 2px; font-size: 21px; }
.speaking-call-person p { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 10px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }

.speaking-call-avatar {
  width: 118px;
  height: 118px;
  display: grid;
  position: relative;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.speaking-call-avatar::before,
.speaking-call-avatar::after,
.speaking-call-avatar > i,
.speaking-call-avatar > b {
  position: absolute;
  border: 1px solid rgba(158, 126, 255, 0.27);
  border-radius: 50%;
  content: "";
}

.speaking-call-avatar::before { inset: -13px; }
.speaking-call-avatar::after { inset: -25px; opacity: 0.45; }
.speaking-call-avatar > i { inset: -38px; opacity: 0.22; }
.speaking-call-avatar > b { inset: -51px; opacity: 0.1; }
.speaking-call.is-recording .speaking-call-avatar::before { animation: speakingRing 1.8s ease-out infinite; }
.speaking-call.is-recording .speaking-call-avatar::after { animation: speakingRing 1.8s 0.55s ease-out infinite; }
.speaking-call-avatar img { width: 76px; height: 86px; position: relative; z-index: 2; object-fit: contain; object-position: center; }

.speaking-chat { max-width: 720px; margin: 0 auto; }
.speaking-chat-label { display: block; margin: 0 0 7px 14px; color: #c7b9f7; font-size: 8px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.speaking-chat > div { display: grid; grid-template-columns: 46px 1fr; gap: 13px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 19px 19px 19px 6px; background: rgba(255, 255, 255, 0.08); }
.speaking-chat p { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 14px; line-height: 1.55; }
.speaking-chat button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 13px; color: #fff; background: #7453dc; cursor: pointer; }
.speaking-chat button:hover { background: #8869e8; }
.speaking-chat button:disabled { opacity: 0.55; cursor: wait; }
.speaking-chat svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.speaking-wave { height: 34px; display: flex; justify-content: center; align-items: center; gap: 5px; margin: 18px auto 2px; }
.speaking-wave i { width: 4px; height: 8px; border-radius: 999px; background: linear-gradient(#a98fff, #ff7b45); opacity: 0.45; transform: scaleY(0.55); }
.speaking-call.is-recording .speaking-wave i { opacity: 1; animation: speakingWave 0.8s ease-in-out infinite alternate; }
.speaking-call.is-speaking .speaking-wave i { opacity: 1; animation: speakingWave 0.95s ease-in-out infinite alternate; }
.speaking-call.is-recording .speaking-wave i:nth-child(2n) { animation-delay: -0.35s; }
.speaking-call.is-recording .speaking-wave i:nth-child(3n) { animation-delay: -0.6s; }
.speaking-call.is-speaking .speaking-wave i:nth-child(2n) { animation-delay: -0.4s; }
.speaking-call.is-speaking .speaking-wave i:nth-child(3n) { animation-delay: -0.7s; }

.speaking-record-status { margin: 0; color: rgba(255, 255, 255, 0.57); font-size: 11px; text-align: center; }
.speaking-call-controls { display: flex; justify-content: center; gap: 22px; margin-top: 20px; }
.speaking-control { display: grid; justify-items: center; gap: 7px; border: 0; color: rgba(255, 255, 255, 0.74); background: transparent; cursor: pointer; }
.speaking-control > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ff7132, #ed4b0c); box-shadow: 0 12px 28px rgba(239, 78, 12, 0.3); }
.speaking-control.speaking-stop > span { background: linear-gradient(145deg, #ee4f55, #bd242c); }
.speaking-control.speaking-reset > span { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.speaking-control svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.speaking-control b { font-size: 10px; }
.speaking-call audio { width: min(520px, 100%); display: block; height: 42px; margin: 20px auto 0; }
.speaking-call audio[hidden] { display: none; }

.speaking-evaluation { max-width: 720px; margin: 20px auto 0; padding: 18px; border: 1px solid rgba(66, 213, 140, 0.24); border-radius: 19px; background: rgba(66, 213, 140, 0.08); }
.speaking-evaluation[hidden] { display: none; }
.speaking-evaluation > span { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #9df1c6; background: rgba(66, 213, 140, 0.13); font-size: 10px; font-weight: 850; }
.speaking-evaluation p { margin: 12px 0; color: rgba(255, 255, 255, 0.83); font-size: 13px; line-height: 1.6; }
.speaking-metrics,
.result-speaking-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 14px 0; }
.speaking-metrics span,
.result-speaking-metrics span { display: grid; gap: 4px; padding: 9px; border-radius: 11px; font-size: 8px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.speaking-metrics span { color: rgba(255, 255, 255, 0.53); background: rgba(255, 255, 255, 0.07); }
.speaking-metrics b { color: #fff; font-size: 13px; }
.speaking-evaluation small { display: block; color: rgba(255, 255, 255, 0.53); line-height: 1.55; }
.speaking-evaluation em { font-style: normal; }

.speaking-privacy { margin: 15px 5px 0; color: #817873; font-size: 10px; line-height: 1.55; text-align: center; }
.speaking-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; }
.assessment-secondary-link { min-height: 48px; padding: 0 12px; border: 0; color: #756b66; background: transparent; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.result-speaking-feedback { margin: 0 0 20px; padding: 24px 26px; border: 1px solid #ded8f2; border-radius: 22px; background: linear-gradient(145deg, #f5f1ff, #fff); }
.result-speaking-feedback[hidden] { display: none; }
.result-speaking-feedback > p:not(.eyebrow) { color: #625a69; line-height: 1.7; }
.result-speaking-metrics span { color: #807789; background: rgba(115, 81, 215, 0.07); }
.result-speaking-metrics b { color: #4e3f78; font-size: 13px; }
.result-speaking-feedback small { display: block; margin-top: 15px; padding: 13px 15px; border-radius: 13px; color: #756e7a; background: rgba(115, 81, 215, 0.07); line-height: 1.55; }

.assessment-result { position: relative; }
.result-celebration { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.result-celebration i { position: absolute; width: 10px; height: 10px; border-radius: 3px; background: #ff7a3b; animation: confettiFloat 5s ease-in-out infinite; }
.result-celebration i:nth-child(1) { top: 5%; left: 8%; transform: rotate(25deg); }
.result-celebration i:nth-child(2) { top: 12%; right: 10%; background: #8568ec; animation-delay: -2s; }
.result-celebration i:nth-child(3) { top: 35%; right: 4%; background: #f1b94d; animation-delay: -3.5s; }
.result-kicker { margin: 0 0 18px; color: #ef5a1d; font-size: 12px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }

.result-level { position: relative; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 26px; padding: 28px 32px; border-radius: 28px; background: linear-gradient(135deg, #2a211e, #171210); color: #fff; }
.result-level > strong { color: #ff8a50; font-size: 96px; line-height: 0.9; letter-spacing: -0.09em; }
.result-level > span { display: grid; gap: 7px; }
.result-level > span b { font-size: 24px; }
.result-level > span small { max-width: 480px; color: rgba(255, 255, 255, 0.6); line-height: 1.55; }
.result-level > em { display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 21px; font-style: normal; font-weight: 850; }

.result-skills { display: grid; gap: 15px; margin: 28px 0; }
.result-skills > div { display: grid; grid-template-columns: 110px 1fr 48px; align-items: center; gap: 14px; font-size: 13px; }
.result-skills span { font-weight: 750; }
.result-skills > div > i { height: 8px; overflow: hidden; border-radius: 999px; background: #eee8e4; }
.result-skills > div > i em { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff6422, #9075ec); transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.result-skills > div > b { text-align: right; }

.result-feedback { padding: 26px; border: 1px solid #ebe3de; border-radius: 24px; background: #fffdfb; }
.result-feedback > p:not(.eyebrow) { color: #645c57; line-height: 1.7; }
.result-feedback > div { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.result-feedback section { padding: 20px; border-radius: 18px; background: #f8f4f1; }
.result-feedback h3 { margin: 0 0 12px; font-size: 16px; }
.result-feedback ul { margin: 0; padding-left: 18px; color: #625a55; font-size: 13px; line-height: 1.65; }
.result-feedback li + li { margin-top: 7px; }

.result-email { margin: 20px 0; padding: 14px 16px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
.result-email.is-success { background: #eaf8ef; color: #176f49; }
.result-email.is-warning { background: #fff5de; color: #855e0a; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.result-disclaimer { display: block; margin-top: 18px; color: #968b84; font-size: 11px; line-height: 1.5; }
.assessment-noscript { position: relative; z-index: 3; width: min(720px, calc(100% - 40px)); margin: 30px auto; padding: 16px; border-radius: 14px; background: #fff0ef; color: #9f2e24; text-align: center; }

@keyframes assessmentDrift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(35px, -26px, 0) rotate(14deg); } }
@keyframes assessmentPulse { 0%, 100% { opacity: 0.55; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes assessmentStepIn { from { opacity: 0; transform: translateY(18px) scale(0.992); } to { opacity: 1; transform: none; } }
@keyframes confettiFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(18px) rotate(120deg); } }
@keyframes speakingRing { from { opacity: 0.65; transform: scale(0.92); } to { opacity: 0; transform: scale(1.18); } }
@keyframes speakingWave { from { height: 7px; transform: scaleY(calc(0.7 + var(--speaking-level))); } to { height: 29px; transform: scaleY(calc(0.75 + var(--speaking-level))); } }

@media (max-width: 900px) {
  .mindset-assessment { padding-top: 138px; }
  .assessment-card { border-radius: 32px; }
  .assessment-step { padding: 44px 34px 50px; }
  .level-choice-grid { grid-template-columns: 1fr 1fr; }
  .result-level { grid-template-columns: 120px 1fr; }
  .result-level > strong { font-size: 78px; }
  .result-level > em { grid-column: 1 / -1; width: 100%; height: auto; padding: 12px; border-radius: 14px; }
}

@media (max-width: 620px) {
  .mindset-assessment { padding: 124px 0 76px; }
  .assessment-shell { width: min(100% - 20px, 1080px); }
  .assessment-intro { margin-bottom: 32px; padding: 0 12px; }
  .assessment-intro h1 { font-size: 43px; }
  .assessment-intro > p:last-child { font-size: 15px; }
  .assessment-card { min-height: 620px; border-radius: 26px; }
  .assessment-topbar { padding: 15px 18px; font-size: 10px; }
  .assessment-topbar b { display: none; }
  .assessment-step { padding: 32px 18px 38px; }
  .assessment-step-heading { gap: 12px; }
  .assessment-step-heading > span { flex-basis: 44px; width: 44px; height: 44px; border-radius: 14px; }
  .assessment-step-heading h2 { font-size: 28px; }
  .level-choice-grid,
  .assessment-fields,
  .answer-grid,
  .result-feedback > div { grid-template-columns: 1fr; }
  .level-choice { min-height: 92px; padding: 16px; }
  .adaptive-choice { align-items: stretch; flex-direction: column; gap: 18px; padding: 20px; }
  .adaptive-choice em { text-align: center; }
  .assessment-primary { width: 100%; }
  .question-progress { grid-template-columns: auto 1fr; }
  .question-progress > small { grid-column: 1 / -1; justify-self: start; }
  .question-level { margin-top: 34px; }
  .assessment-question h2 { min-height: 0; font-size: 28px; }
  .answer-option { min-height: 68px; }
  .result-level { grid-template-columns: 96px 1fr; gap: 16px; padding: 22px 18px; }
  .result-level > strong { font-size: 64px; }
  .result-level > span b { font-size: 19px; }
  .result-level > span small { font-size: 11px; }
  .result-skills > div { grid-template-columns: 82px 1fr 42px; gap: 8px; }
  .result-actions .button { width: 100%; justify-content: center; }
  .speaking-call { padding: 19px 14px 25px; border-radius: 24px; }
  .speaking-call-avatar { width: 98px; height: 98px; }
  .speaking-call-avatar img { width: 63px; height: 72px; }
  .speaking-chat > div { grid-template-columns: 40px 1fr; padding: 14px; }
  .speaking-chat button { width: 38px; height: 38px; }
  .speaking-actions .assessment-primary { width: 100%; }
  .speaking-metrics,
  .result-speaking-metrics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-bg i,
  .assessment-bg b,
  .assessment-step.is-active,
  .result-celebration i,
  .speaking-call-avatar::before,
  .speaking-call-avatar::after,
  .speaking-wave i { animation: none !important; }
  .result-skills > div > i em { transition: none; }
}

/* v3.2.9: automatic unfinished-test recovery notice. */
.assessment-save-note {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 32px;
  border-bottom: 1px solid #eee7e2;
  background: #f8fbf8;
  color: #6b746d;
  font-size: 11px;
  line-height: 1.45;
}
.assessment-save-note b { color: #23704a; font-size: 11px; white-space: nowrap; }
.assessment-save-note.is-loading { background: #fff8ef; color: #786d60; }
.assessment-save-note.is-loading b { color: #e45c20; }
.assessment-save-note.is-resumed { background: #edf9f2; color: #426453; }
.assessment-save-note.is-resumed b { color: #137348; }
.assessment-save-note.is-expired { background: #fff4ed; color: #795e50; }
.assessment-save-note.is-expired b { color: #b74a20; }
.assessment-save-note.is-complete { background: #f2f6ff; color: #58657c; }
.assessment-save-note.is-complete b { color: #3d5686; }

@media (max-width: 620px) {
  .assessment-save-note { align-items: flex-start; flex-direction: column; gap: 3px; padding: 11px 18px; font-size: 10px; }
  .assessment-save-note b { font-size: 10px; white-space: normal; }
}
