/* ==========================================================================
   Teacher Growth - Assessment & Results styles
   ========================================================================== */

/* Assessment shell --------------------------------------------------------- */
.assess {
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 5vw, 56px) 0 80px;
}
.assess-wrap { max-width: 760px; margin: 0 auto; }

.progress {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--offwhite);
  padding: 14px 0 18px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress-meta strong { color: var(--navy); }
.progress-track { height: 8px; border-radius: 999px; background: var(--soft-blue); overflow: hidden; }
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), #ff8b6f);
  transition: width .35s ease;
}

/* Question card ------------------------------------------------------------ */
.q-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 40px);
  margin-top: 22px;
}
.q-pillar {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-600);
  margin-bottom: 12px;
}
.q-text {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 26px;
  line-height: 1.2;
}
.q-options { display: grid; gap: 12px; }
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fbfbf9;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy-700);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.opt:hover { border-color: var(--coral); background: #fff; }
.opt.selected { border-color: var(--coral); background: rgba(255, 107, 74, .07); color: var(--navy); font-weight: 600; }
.opt-dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c9d2dc;
  position: relative;
  transition: border-color .15s ease;
}
.opt.selected .opt-dot { border-color: var(--coral); }
.opt.selected .opt-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}
.q-back {
  background: none;
  border: 0;
  font-family: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 10px 4px;
}
.q-back:hover { color: var(--navy); }
.q-back[disabled] { opacity: 0; pointer-events: none; }
.q-hint { font-size: .88rem; color: var(--muted); }

/* Intro / goal step -------------------------------------------------------- */
.assess-intro { text-align: center; max-width: 640px; margin: 0 auto; padding-top: 20px; }
.assess-intro .lead { margin-bottom: 28px; }
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.meta-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy-700);
}

/* Lead capture ------------------------------------------------------------- */
.capture { max-width: 520px; margin: 0 auto; text-align: center; }
.field { text-align: left; margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--navy); }
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
}
.field input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 107, 74, .12); }
.consent { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ==========================================================================
   Results
   ========================================================================== */
.results-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(255, 107, 74, .18), transparent 60%),
    var(--navy);
  color: #d9e2ec;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.results-hero .eyebrow { color: var(--coral); }
.score-ring-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.score-ring { position: relative; width: 200px; height: 200px; flex: 0 0 auto; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.score-ring .ring-num b { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.score-ring .ring-num span { font-size: .82rem; color: #9fb0c1; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.results-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.level-chip {
  display: inline-block;
  background: rgba(255, 107, 74, .16);
  color: var(--coral);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .92rem;
  margin-bottom: 16px;
}
.results-hero p { color: #c3cfdb; max-width: 560px; }

/* Radar + bars ------------------------------------------------------------- */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.radar-card { display: flex; justify-content: center; }
.radar-card svg { width: 100%; max-width: 420px; height: auto; }

.pillar-bars { display: grid; gap: 18px; }
.pbar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}
.pbar-label .name { font-weight: 700; color: var(--navy); font-size: .98rem; }
.pbar-label .val { font-weight: 800; color: var(--navy); }
.pbar-track { height: 12px; border-radius: 999px; background: var(--soft-blue); overflow: hidden; }
.pbar-fill { height: 100%; width: 0; border-radius: 999px; transition: width .9s cubic-bezier(.22,.61,.36,1); }

/* Strengths / priorities --------------------------------------------------- */
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.sp-card h3 { display: flex; align-items: center; gap: 10px; }
.sp-tag { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.sp-tag--str { background: rgba(11, 31, 51, .08); color: var(--navy); }
.sp-tag--pri { background: rgba(255, 107, 74, .14); color: var(--coral-600); }
.sp-list { list-style: none; margin: 18px 0 0; padding: 0; }
.sp-list li { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.sp-list li:first-child { border-top: 0; padding-top: 0; }
.sp-list .li-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.sp-list .li-name { font-weight: 700; color: var(--navy); }
.sp-list .li-score { font-weight: 800; color: var(--muted); font-size: .92rem; }
.sp-list .li-desc { font-size: .94rem; color: var(--muted); margin: 0; }
.pri-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  margin-right: 10px;
  flex: 0 0 auto;
}

.diagnosis {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.diagnosis p:last-child { margin-bottom: 0; }

.results-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 80px 0; }

@media (max-width: 820px) {
  .results-grid { grid-template-columns: 1fr; gap: 32px; }
  .sp-grid { grid-template-columns: 1fr; }
  .score-ring-wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; }
  .results-hero p { margin-left: auto; margin-right: auto; }
}
