/* MBTI 模块样式（在 common.css 基础上补充） */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--ai));
  width: 0%;
  transition: width 0.25s;
}
.q-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text);
}
.scale {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scale-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.scale-option:hover { border-color: var(--primary-2); background: var(--primary-soft); }
.scale-option.selected { border-color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.scale-option input { accent-color: var(--primary); width: 18px; height: 18px; }
.scale-option .label { font-size: 14.5px; }
.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
  padding: 0 4px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.type-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: all 0.15s;
}
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.type-card .tc-icon { font-size: 30px; }
.type-card .tc-code { font-size: 18px; font-weight: 700; }
.type-card .tc-name { font-size: 14px; color: var(--text-2); }
.type-card .tc-group { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); margin-top: 6px; }

.strength-bar { margin: 10px 0; }
.strength-bar .sb-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.sb-track { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.sb-fill { height: 100%; background: var(--primary); border-radius: 4px; }
