/* ══════════════════════════════════════
   TQ NAVIGATOR — Assessment UI styles
   These apply on /score (page-score.hbs)
   and supplement instrument-panel styles
   already defined in main.css
═══════════════════════════════════════ */

/* ── PROGRESS BAR ── */
.nav-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.nav-prog-bar {
  flex: 1;
  height: 1px;
  background: var(--rule2);
  position: relative;
}
.nav-prog-fill {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  background: var(--teal);
  transition: width .4s ease;
}
.nav-prog-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  white-space: nowrap;
}

/* ── QUESTION WRAPPER ── */
.nav-q-wrap {
  max-width: 680px;
}
.nav-q-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.nav-dim-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px 12px;
  border: 1px solid var(--teal-lo);
  background: var(--teal-faint);
}
.nav-q-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
}
.nav-q-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 32px;
}

/* ── OPTIONS ── */
.nav-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}
.nav-opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--rule2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--ink3);
  transition: all .18s;
  cursor: pointer;
  line-height: 1.55;
  background: none;
  text-align: left;
  width: 100%;
}
.nav-opt:hover:not(.active) {
  border-color: var(--ink3);
  color: var(--ink2);
  background: rgba(234,239,235,0.02);
}
.nav-opt.active {
  border-color: var(--teal);
  background: var(--teal-faint);
  color: var(--teal-hi);
}
.nav-opt-dot {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .18s;
}
.nav-opt.active .nav-opt-dot {
  background: var(--teal);
  border-color: var(--teal);
}
/* 5-option question (Q11) */
.nav-opts.five-opts .nav-opt { }

/* ── NAVIGATION BUTTONS ── */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-btn-back {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.nav-btn-back:hover { color: var(--ink2); }
.nav-btn-next {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--teal);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  transition: background .2s;
}
.nav-btn-next:hover:not(:disabled) { background: var(--teal-hi); }
.nav-btn-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── EMAIL GATE ── */
.email-gate {
  max-width: 560px;
  padding: 56px;
  border: 1px solid var(--rule2);
  background: var(--bg2);
}
.gate-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}
.email-gate h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.email-gate p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 36px;
}
.gate-form {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}
#gate-email {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--rule2);
  border-right: none;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
#gate-email::placeholder { color: var(--ink3); }
#gate-email:focus { border-color: var(--teal); }
#gate-submit {
  padding: 14px 28px;
  background: var(--teal);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
#gate-submit:hover { background: var(--teal-hi); }
#gate-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.gate-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink3);
}

/* ── RESULTS ── */
.tq-result {
  max-width: 680px;
}
.res-score-block {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule2);
  margin-bottom: 48px;
}
.res-score-num {
  font-family: var(--display);
  font-size: 112px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: .02em;
  display: inline-block;
}
.res-score-denom {
  font-family: var(--display);
  font-size: 48px;
  color: var(--ink3);
  letter-spacing: .02em;
  display: inline-block;
  vertical-align: bottom;
  margin-bottom: 8px;
}
.res-level-name {
  font-family: var(--display);
  font-size: 32px;
  color: var(--teal-hi);
  letter-spacing: .08em;
  display: block;
  margin-top: 8px;
  margin-bottom: 12px;
}
.res-level-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 500px;
}
.res-dims {
  margin-bottom: 48px;
}
.res-dims-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}
.res-gauge-row {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.res-gauge-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink2);
}
.res-gauge-track {
  height: 2px;
  background: var(--rule2);
  position: relative;
}
.res-gauge-fill {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  background: var(--teal);
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}
.res-gauge-val {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-hi);
  text-align: right;
  font-weight: 500;
}
.res-bottleneck {
  padding: 32px;
  border: 1px solid var(--teal-lo);
  background: var(--teal-faint);
  margin-bottom: 40px;
}
.res-bn-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.res-bn-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.res-bn-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.75;
}
.res-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.res-share-confirm {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-hi);
  margin-top: 8px;
}

/* ── RESPONSIVE NAVIGATOR ── */
@media (max-width: 640px) {
  .email-gate { padding: 32px 24px; }
  .gate-form { flex-direction: column; }
  #gate-email { border-right: 1px solid var(--rule2); border-bottom: none; }
  #gate-submit { width: 100%; text-align: center; }
  .res-gauge-row { grid-template-columns: 120px 1fr 32px; }
  .res-score-num { font-size: 80px; }
}
